summaryrefslogtreecommitdiff
path: root/user.c
AgeCommit message (Collapse)AuthorFilesLines
2010-01-08Implemented monolog counters.Jon Bergli Heier1-1/+1
2009-10-23Store a pointer to the correct user (user->real_user) for users with mapped ↵Jon Bergli Heier1-3/+4
nicks to avoid looking up the nick on every call to user_get().
2009-10-20Parse kicks and store number of kicks and times kicked per user.Jon Bergli Heier1-1/+1
2009-09-06Count the number of total characters per user.Jon Bergli Heier1-1/+1
2009-08-21Implemented nick_get - nicks can now be mappedJon Bergli Heier1-1/+3
2009-08-17Count lines per quarter hour for channels and users.Jon Bergli Heier1-1/+2
2009-08-15Added a hash table to keep track of words.Jon Bergli Heier1-9/+1
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-15Word count using ctype.h to check for alphabetic and blank characters.Jon Bergli Heier1-0/+2
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-2/+17
Add users from text lines. Fixed hash table code.
2009-08-14Added a user struct which is stored in a hash table.Jon Bergli Heier1-0/+43
User nicks are hashed using the sdbm hash function.