issues
search
mana-sys
/
circ
Simple implementation of the IRC protocol in C.
0
stars
0
forks
source link
Add support for WHOWAS command.
#4
Open
mana-sys
opened
5 years ago
mana-sys
commented
5 years ago
Implementation details:
for each nickname, keep a vector of
history
structs to keep track of nickname history
a
GHashTable
will maintain a mapping from nickname to nickname history
On client disconnect, the current (top) entry in the struct is marked inactive
If client reconnects, then the (top) entry in the struct will be re-marked as active
Problems:
might have to allocate new struct for every time someone takes a username
Implementation details:
GHashTable
will maintain a mapping from nickname to nickname historyProblems: