2018-09-20 14:09:35 +02:00
|
|
|
/* Copyright (c) 2001 Matej Pfajfar.
|
|
|
|
* Copyright (c) 2001-2004, Roger Dingledine.
|
|
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
2020-01-09 00:39:17 +01:00
|
|
|
* Copyright (c) 2007-2020, The Tor Project, Inc. */
|
2018-09-20 14:09:35 +02:00
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* \file recommend_pkg.h
|
|
|
|
* \brief Header file for recommend_pkg.c
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef TOR_RECOMMEND_PKG_H
|
|
|
|
#define TOR_RECOMMEND_PKG_H
|
|
|
|
|
2019-04-30 17:25:41 +02:00
|
|
|
#ifdef HAVE_MODULE_DIRAUTH
|
2018-09-20 14:09:35 +02:00
|
|
|
int validate_recommended_package_line(const char *line);
|
|
|
|
|
2019-04-30 17:25:41 +02:00
|
|
|
#else
|
|
|
|
|
|
|
|
static inline int
|
|
|
|
validate_recommended_package_line(const char *line)
|
|
|
|
{
|
|
|
|
(void) line;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2019-06-05 15:33:35 +02:00
|
|
|
#endif /* defined(HAVE_MODULE_DIRAUTH) */
|
2019-04-30 17:25:41 +02:00
|
|
|
|
2019-06-05 15:33:35 +02:00
|
|
|
#endif /* !defined(TOR_RECOMMEND_PKG_H) */
|