Reformat code to GNU coding style
This is a commit which simply ran all C source code files through GNU indent. No other modifications were made.
This commit is contained in:
1 parent
448c19077c
commit
a257703e59
47 files changed
+4909
-4566
No files matched your search
+10
-9
@@ -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
|
||||
Reference in new issue
Block a user