diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2009-11-22 03:00:54 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2009-11-22 03:00:54 +0100 |
commit | 95f4c7cb4a9f0a30ab9d78852725a45688a97512 (patch) | |
tree | c2dab013ed2769c31ca4b0233faa9cfa69224ab9 /config.h | |
parent | 5d8561e4257f13756010daca1bb098bdef9cb97c (diff) |
Added support for using pthreads.
Data processing (parsing) moved to parsing.c. The line parsing
code is moved to its own function which is called from one or
more threads (depends on the "threads" setting in the config file).
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -4,4 +4,10 @@ int cfg_init(); void cfg_free(); +struct ircstats_config_t { + long int threads; +}; + +extern struct ircstats_config_t ircstats_config; + #endif |