* These functions are only visible to the scheduling system, the current
* scheduler implementation, and tests.
*****************************************************************************/
-#ifdef SCHEDULER_PRIVATE_
+#ifdef SCHEDULER_PRIVATE
+ #include "ext/ht.h"
+
/*********************************
* Defined in scheduler.c
*********************************/
scheduler_t *get_vanilla_scheduler(void);
-#endif /* defined(SCHEDULER_PRIVATE_) */
+#endif /* defined(SCHEDULER_PRIVATE) */
#endif /* !defined(TOR_SCHEDULER_H) */
-
extern const struct control_cmd_syntax_t onion_client_auth_view_syntax;
int
- handle_control_onion_client_auth_add(control_connection_t *conn,
- const control_cmd_args_t *args);
+ handle_control_onion_client_auth_add(struct control_connection_t *conn,
+ const struct control_cmd_args_t *args);
int
- handle_control_onion_client_auth_remove(control_connection_t *conn,
- const control_cmd_args_t *args);
+ handle_control_onion_client_auth_remove(struct control_connection_t *conn,
+ const struct control_cmd_args_t *args);
int
- handle_control_onion_client_auth_view(control_connection_t *conn,
- const control_cmd_args_t *args);
+ handle_control_onion_client_auth_view(struct control_connection_t *conn,
+ const struct control_cmd_args_t *args);
-#endif
+#endif /* !defined(TOR_CONTROL_HS_H) */
-
void routerparse_init(void);
void routerparse_free_all(void);
-#ifdef EXPOSE_ROUTERDESC_TOKEN_TABLE
+#ifdef ROUTERDESC_TOKEN_TABLE_PRIVATE
+ #include "feature/dirparse/parsecommon.h"
extern const struct token_rule_t routerdesc_token_table[];
#endif
#include <openssl/engine.h>
#include <openssl/modes.h>
- ENABLE_GCC_WARNING(redundant-decls)
+ ENABLE_GCC_WARNING("-Wredundant-decls")
-#include "lib/crypt_ops/aes.h"
#include "lib/log/log.h"
#include "lib/ctime/di_ops.h"