summaryrefslogtreecommitdiff
path: root/src/or/dos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dos.h')
-rw-r--r--src/or/dos.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/dos.h b/src/or/dos.h
index 56835169d2..9ce1baddb8 100644
--- a/src/or/dos.h
+++ b/src/or/dos.h
@@ -43,11 +43,15 @@ typedef struct dos_client_stats_t {
/* General API. */
+/* Stub. */
+struct clientmap_entry_t;
+
void dos_init(void);
void dos_free_all(void);
void dos_consensus_has_changed(const networkstatus_t *ns);
int dos_enabled(void);
void dos_log_heartbeat(void);
+void dos_geoip_entry_about_to_free(const struct clientmap_entry_t *geoip_ent);
void dos_new_client_conn(or_connection_t *or_conn);
void dos_close_client_conn(const or_connection_t *or_conn);