mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +02:00
Support for multiple identically named nicks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1238 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
be6ba53fa4
commit
0d4d9204a9
3 changed files with 158 additions and 20 deletions
|
|
@ -21,9 +21,13 @@ void nicklist_remove(CHANNEL_REC *channel, NICK_REC *nick);
|
|||
/* Change nick */
|
||||
void nicklist_rename(SERVER_REC *server, const char *old_nick,
|
||||
const char *new_nick);
|
||||
void nicklist_rename_unique(SERVER_REC *server, void *old_nick_id,
|
||||
const char *old_nick, const char *new_nick);
|
||||
|
||||
/* Find nick */
|
||||
NICK_REC *nicklist_find(CHANNEL_REC *channel, const char *nick);
|
||||
NICK_REC *nicklist_find_unique(CHANNEL_REC *channel, const char *nick,
|
||||
void *id);
|
||||
/* Find nick mask, wildcards allowed */
|
||||
NICK_REC *nicklist_find_mask(CHANNEL_REC *channel, const char *mask);
|
||||
/* Get list of nicks that match the mask */
|
||||
|
|
@ -32,10 +36,13 @@ GSList *nicklist_find_multiple(CHANNEL_REC *channel, const char *mask);
|
|||
GSList *nicklist_getnicks(CHANNEL_REC *channel);
|
||||
/* Get all the nick records of `nick'. Returns channel, nick, channel, ... */
|
||||
GSList *nicklist_get_same(SERVER_REC *server, const char *nick);
|
||||
GSList *nicklist_get_same_unique(SERVER_REC *server, void *id);
|
||||
|
||||
/* Update specified nick's status in server. */
|
||||
void nicklist_update_flags(SERVER_REC *server, const char *nick,
|
||||
int gone, int ircop);
|
||||
void nicklist_update_flags_unique(SERVER_REC *server, void *id,
|
||||
int gone, int ircop);
|
||||
|
||||
/* Nick record comparision for sort functions */
|
||||
int nicklist_compare(NICK_REC *p1, NICK_REC *p2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue