diff options
Diffstat (limited to '')
-rw-r--r-- | src/stats.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/stats.h b/src/stats.h index b7a8218..a75d92e 100644 --- a/src/stats.h +++ b/src/stats.h @@ -26,19 +26,20 @@ /* * Various logable statistics */ -typedef enum { - STAT_BADCONN, /* bad connection, for unknown reason */ - STAT_OPEN, /* connection opened */ - STAT_CLOSE, /* connection closed */ - STAT_REFUSE, /* connection refused (to outside world) */ - STAT_DENIED /* connection denied to tinyproxy itself */ +typedef enum +{ + STAT_BADCONN, /* bad connection, for unknown reason */ + STAT_OPEN, /* connection opened */ + STAT_CLOSE, /* connection closed */ + STAT_REFUSE, /* connection refused (to outside world) */ + STAT_DENIED /* connection denied to tinyproxy itself */ } status_t; /* * Public API to the statistics for tinyproxy */ -extern void init_stats(void); -extern int showstats(struct conn_s *connptr); -extern int update_stats(status_t update_level); +extern void init_stats (void); +extern int showstats (struct conn_s *connptr); +extern int update_stats (status_t update_level); #endif |