summaryrefslogtreecommitdiff
path: root/user.c
AgeCommit message (Collapse)AuthorFilesLines
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.