aboutsummaryrefslogtreecommitdiff
path: root/src/tagr.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-04-25 12:18:14 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-04-25 12:18:14 +0300
commitd59a014f169e2394711cecd566a95cbfdceda6d3 (patch)
treed0cf414dadd11df1a5eebc81f8f27f9199920c81 /src/tagr.h
parentd8c782807ffbd0e7e30b07f88dd91b6dc0988219 (diff)
downloadtagr-d59a014f169e2394711cecd566a95cbfdceda6d3.tar.gz
tagr-d59a014f169e2394711cecd566a95cbfdceda6d3.tar.bz2
Bugfixes.
* src/html.gram.y (write_symtab): Bugfix. * src/main.c: Implement restart. (main): Implement UNIX sockets. * src/output.c (do_update_output): Bugfix. * src/readconfig.c (free_monitors): New function. * src/report.c (update_monitor): Take third argument. (rebuild): Take an argument. * src/tagr.h (update_interval): New extern. (rebuild): Update proto.
Diffstat (limited to 'src/tagr.h')
-rw-r--r--src/tagr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tagr.h b/src/tagr.h
index 50f5c20..e1c9c47 100644
--- a/src/tagr.h
+++ b/src/tagr.h
@@ -43,6 +43,7 @@ extern struct grecs_sockaddr listen_sockaddr;
extern int preprocess_only;
extern int log_to_stderr;
extern char *pidfile;
+extern unsigned update_interval;
extern char rateup[];
extern char *user;
@@ -198,7 +199,7 @@ void write_db (struct monitor *mon, struct traffic_record *tr);
void update_stats (struct monitor *mon, struct traffic_sample *sample,
struct traffic_record *tr);
-void rebuild (void);
+void rebuild (int force);
void import (const char *dir);
void queue_clear (queue_t *q);

Return to:

Send suggestions and report system problems to the System administrator.