summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-15Added a hash table to keep track of words.Jon Bergli Heier8-16/+100
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 Heier2-5/+38
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 Heier2-3/+37
Add users from text lines. Fixed hash table code.
2009-08-14Added a user struct which is stored in a hash table.Jon Bergli Heier3-1/+64
User nicks are hashed using the sdbm hash function.
2009-08-14Added irclogs to .gitignore.Jon Bergli Heier1-0/+1
2009-08-14Merge branch 'master' of ssh://athena/mnt/scm/git/ircstatsJon Bergli Heier4-34/+51
2009-08-14Main loop groundwork.Jon Bergli Heier4-1/+32
2009-08-13Store files as a linked list.Jon Bergli Heier3-33/+19
2009-08-13Added ircstats binary to .gitignore.Jon Bergli Heier1-0/+1
2009-08-13Init and free channels. Currently crashes when freeing existing config or ↵Jon Bergli Heier1-1/+5
channels.
2009-08-13Added channels.Jon Bergli Heier7-4/+161
Minor fixes - known bugs!
2009-08-12Free config and regex sets before exiting.Jon Bergli Heier3-0/+11
Free the regex sets array after freeing compiled pcre patterns.
2009-08-11Added regex sets.Jon Bergli Heier5-8/+95
Minor fixes and comments. Added pcre-config to Makefile.
2009-08-11Initial commit.Jon Bergli Heier5-0/+79