]> jfr.im git - solanum.git/blobdiff - include/hook.h
Add .travis.yml
[solanum.git] / include / hook.h
index 7ab954fd0dd9b839db39044706261aa674aeafe7..167122d74514459498e89f7569947f90f43e8fd8 100644 (file)
@@ -32,6 +32,8 @@ extern int h_introduce_client;
 extern int h_can_kick;
 extern int h_privmsg_channel;
 extern int h_privmsg_user;
+extern int h_conf_read_start;
+extern int h_conf_read_end;
 
 void init_hook(void);
 int register_hook(const char *name);
@@ -51,12 +53,15 @@ typedef struct
        struct Client *client;
        const void *arg1;
        int arg2;
+       int result;
 } hook_data_int;
 
 typedef struct
 {
        struct Client *client;
        struct Client *target;
+       struct Channel *chptr;
+       int approved;
 } hook_data_client;
 
 typedef struct
@@ -80,11 +85,14 @@ typedef struct
        struct membership *msptr;
        struct Client *target;
        int approved;
+       int dir;
+       const char *modestr;
 } hook_data_channel_approval;
 
 typedef struct
 {
        struct Client *client;
+       struct Client *target;
        int approved;
 } hook_data_client_approval;