#include <eggdrop/eggdrop.h>
#include "telnetparty.h"
Go to the source code of this file.
Functions | |
| static int | on_privmsg (void *client_data, partymember_t *dest, botnet_entity_t *src, const char *text, int len) |
| static int | on_nick (void *client_data, partymember_t *src, const char *oldnick, const char *newnick) |
| static int | on_quit (void *client_data, partymember_t *src, const botnet_bot_t *lostbot, const char *text, int len) |
| static int | on_chanmsg (void *client_data, partychan_t *chan, botnet_entity_t *src, const char *text, int len) |
| static int | on_join (void *client_data, partychan_t *chan, partymember_t *src, int linking) |
| static int | on_part (void *client_data, partychan_t *chan, partymember_t *src, const char *text, int len) |
Variables | |
| static const char | rcsid [] = "$Id: events.c,v 1.12 2007-04-14 15:21:13 sven Exp $" |
| partyline_event_t | telnet_party_handler |
| static int on_chanmsg | ( | void * | client_data, | |
| partychan_t * | chan, | |||
| botnet_entity_t * | src, | |||
| const char * | text, | |||
| int | len | |||
| ) | [static] |
Definition at line 63 of file events.c.
References partyline_idx_chanmsg().
00064 { 00065 return partyline_idx_chanmsg (((telnet_session_t *)client_data)->idx, chan, src, text, len); 00066 }
| static int on_join | ( | void * | client_data, | |
| partychan_t * | chan, | |||
| partymember_t * | src, | |||
| int | linking | |||
| ) | [static] |
Definition at line 68 of file events.c.
References partyline_idx_join().
00069 { 00070 if (linking) return 0; 00071 return partyline_idx_join(((telnet_session_t *)client_data)->idx, chan, src); 00072 }
| static int on_nick | ( | void * | client_data, | |
| partymember_t * | src, | |||
| const char * | oldnick, | |||
| const char * | newnick | |||
| ) | [static] |
Definition at line 48 of file events.c.
References partyline_idx_nick().
00049 { 00050 return partyline_idx_nick (((telnet_session_t *)client_data)->idx, src, oldnick, newnick); 00051 }
| static int on_part | ( | void * | client_data, | |
| partychan_t * | chan, | |||
| partymember_t * | src, | |||
| const char * | text, | |||
| int | len | |||
| ) | [static] |
Definition at line 74 of file events.c.
References partyline_idx_part().
00075 { 00076 return partyline_idx_part(((telnet_session_t *)client_data)->idx, chan, src, text, len); 00077 }
| static int on_privmsg | ( | void * | client_data, | |
| partymember_t * | dest, | |||
| botnet_entity_t * | src, | |||
| const char * | text, | |||
| int | len | |||
| ) | [static] |
Definition at line 43 of file events.c.
References partyline_idx_privmsg().
00044 { 00045 return partyline_idx_privmsg (((telnet_session_t *)client_data)->idx, dest, src, text, len); 00046 }
| static int on_quit | ( | void * | client_data, | |
| partymember_t * | src, | |||
| const botnet_bot_t * | lostbot, | |||
| const char * | text, | |||
| int | len | |||
| ) | [static] |
Definition at line 53 of file events.c.
References telnet_session_t::idx, and partyline_idx_quit().
00054 { 00055 telnet_session_t *session = client_data; 00056 00057 if (lostbot) return 0; 00058 partyline_idx_quit(session->idx, src, text, len); 00059 00060 return(0); 00061 }
const char rcsid[] = "$Id: events.c,v 1.12 2007-04-14 15:21:13 sven Exp $" [static] |
Initial value:
{
on_privmsg,
on_nick,
on_quit,
on_chanmsg,
on_join,
on_part
}
1.5.6