1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

_notice_peer_(dis)connect methods

This commit is contained in:
tg(x) 2012-03-06 02:36:30 +01:00
parent ece5c86cb4
commit 4dac647766
2 changed files with 6 additions and 0 deletions

View file

@ -32,6 +32,8 @@ typedef enum {
PSYC_MC_NOTICE_CONTEXT_LEAVE,
PSYC_MC_NOTICE_FRIENDSHIP,
PSYC_MC_NOTICE_LINK,
PSYC_MC_NOTICE_PEER_CONNECT,
PSYC_MC_NOTICE_PEER_DISCONNECT,
PSYC_MC_NOTICE_SET,
PSYC_MC_NOTICE_UNLINK,
PSYC_MC_REQUEST,
@ -70,6 +72,8 @@ typedef union PsycTemplates {
PsycString _notice_context_leave;
PsycString _notice_friendship;
PsycString _notice_link;
PsycString _notice_peer_connect;
PsycString _notice_peer_disconnect;
PsycString _notice_set;
PsycString _notice_unlink;
PsycString _request;

View file

@ -68,6 +68,8 @@ const PsycMapInt psyc_methods[] = {
{ PSYC_C2STRI("_notice_context_leave"), PSYC_MC_NOTICE_CONTEXT_LEAVE },
{ PSYC_C2STRI("_notice_friendship"), PSYC_MC_NOTICE_FRIENDSHIP },
{ PSYC_C2STRI("_notice_link"), PSYC_MC_NOTICE_LINK },
{ PSYC_C2STRI("_notice_peer_connect"), PSYC_MC_NOTICE_PEER_CONNECT },
{ PSYC_C2STRI("_notice_peer_disconnect"), PSYC_MC_NOTICE_PEER_DISCONNECT },
{ PSYC_C2STRI("_notice_set"), PSYC_MC_NOTICE_SET },
{ PSYC_C2STRI("_notice_unlink"), PSYC_MC_NOTICE_UNLINK },
{ PSYC_C2STRI("_notice"), PSYC_MC_NOTICE },