From 95f4c7cb4a9f0a30ab9d78852725a45688a97512 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 22 Nov 2009 03:00:54 +0100 Subject: 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). --- config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 486919c..b5b9874 100644 --- a/config.h +++ b/config.h @@ -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 -- cgit v1.2.3