summaryrefslogtreecommitdiff
path: root/src/stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stats.h')
-rw-r--r--src/stats.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/stats.h b/src/stats.h
index 08838ad..a774ae1 100644
--- a/src/stats.h
+++ b/src/stats.h
@@ -18,13 +18,15 @@
*
*/
+#include <time.h>
+#include <string.h>
+#include <stdio.h>
+
#ifndef _JS_STATS_H
#define _JS_STATS_H
- /* initializing logging routine */
-int loginit(char verlev, char loglev, char logsocklev, const char* logfname, const char* port, char* dateformat);
- /* log to a file or|and screen */
-void aflog(char type, const char* format, ...);
+ /* return time period description */
+char* timeperiod(time_t period);
/* add amount to compressgained value */
void addtocg(int amount);
/* reset the compressgained value */