From: Dave West Date: Mon, 23 Jul 2007 09:10:58 +0000 (+0000) Subject: Update to documentation for event hooks. X-Git-Tag: v7.86~3211 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=398aaa78da561e3b1f55954167f856d7035373a2;p=citadel.git Update to documentation for event hooks. --- diff --git a/citadel/techdoc/citadelapi.txt b/citadel/techdoc/citadelapi.txt index ef9e3e62b..2bac15e62 100644 --- a/citadel/techdoc/citadelapi.txt +++ b/citadel/techdoc/citadelapi.txt @@ -119,6 +119,12 @@ EventType. The available session hook types are: #define EVT_NEWROOM 3 /* Changing rooms */ #define EVT_LOGOUT 4 /* A user is logging out */ #define EVT_SETPASS 5 /* Setting or changing password */ +#define EVT_CMD 6 /* Called after each server command */ +#define EVT_RWHO 7 /* An RWHO command is being executed */ +#define EVT_ASYNC 8 /* Doing asynchronous message */ + +#define EVT_TIMER 50 /* Timer events are called once per minute */ +#define EVT_HOUSE 51 /* Housekeeping event */ CtdlUnregisterSessionHook() removes a session hook. It must be called with the same fcn_ptr and EventTYpe which were previously registered.