diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-25 12:18:14 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-25 12:18:14 +0300 |
commit | d59a014f169e2394711cecd566a95cbfdceda6d3 (patch) | |
tree | d0cf414dadd11df1a5eebc81f8f27f9199920c81 /src/tagr.h | |
parent | d8c782807ffbd0e7e30b07f88dd91b6dc0988219 (diff) | |
download | tagr-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |