summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)AuthorFilesLines
2010-11-12Remove broken threading support.Jon Bergli Heier1-1/+1
2009-11-22Added support for using pthreads.Jon Bergli Heier1-116/+2
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).
2009-10-20Parse kicks and store number of kicks and times kicked per user.Jon Bergli Heier1-0/+12
2009-09-06Count the number of total characters per user.Jon Bergli Heier1-0/+1
2009-09-05Convert characters to lowercase when counting words.Jon Bergli Heier1-1/+1
2009-09-05Add locale and multibyte support.Jon Bergli Heier1-8/+19
Set LC_CTYPE to support locales. Use wchar_t to handle multibyte strings. Generate character tables for PCRE to support locales.
2009-08-21Implemented nick_get - nicks can now be mappedJon Bergli Heier1-1/+1
2009-08-21Added structs and functions for nick grouping.Jon Bergli Heier1-0/+3
2009-08-19Write data to an XML file.Jon Bergli Heier1-0/+2
File path for the XML file is read per channel from the 'xmlpath' option.
2009-08-17Count lines per quarter hour for channels and users.Jon Bergli Heier1-2/+14
2009-08-15Study compiled patterns to speed up matching.Jon Bergli Heier1-2/+2
2009-08-15Added a hash table to keep track of words.Jon Bergli Heier1-5/+15
Moved the sdbm hash function into sdbm.c. Init and free users and words inside the channel loop. Increased the size of the user hash table to 1000.
2009-08-15Only increment word count if len > 0.Jon Bergli Heier1-1/+2
2009-08-15Word count using ctype.h to check for alphabetic and blank characters.Jon Bergli Heier1-5/+36
Use defines for buffer sizes. Added missing fclose. Return pointer to the user_t struct in user_get.
2009-08-14Parse text and join lines.Jon Bergli Heier1-1/+20
Add users from text lines. Fixed hash table code.
2009-08-14Main loop groundwork.Jon Bergli Heier1-0/+22
2009-08-13Init and free channels. Currently crashes when freeing existing config or ↵Jon Bergli Heier1-1/+5
channels.
2009-08-12Free config and regex sets before exiting.Jon Bergli Heier1-0/+6
Free the regex sets array after freeing compiled pcre patterns.
2009-08-11Added regex sets.Jon Bergli Heier1-0/+6
Minor fixes and comments. Added pcre-config to Makefile.
2009-08-11Initial commit.Jon Bergli Heier1-0/+10