]> jfr.im git - solanum.git/blobdiff - include/hook.h
Merge pull request #260 from FauxFaux/yesno-1
[solanum.git] / include / hook.h
index 0198ae7b2c322c1623e79200e0e7a024151c5fcf..eb8c1a6d47b85a39fe931faff9d3b75826b789b4 100644 (file)
@@ -33,6 +33,7 @@ extern int h_privmsg_user;
 extern int h_conf_read_start;
 extern int h_conf_read_end;
 extern int h_outbound_msgbuf;
+extern int h_rehash;
 
 void init_hook(void);
 int register_hook(const char *name);
@@ -81,7 +82,7 @@ typedef struct
 {
        struct Client *client;
        struct Channel *chptr;
-       char *key;
+       const char *key;
 } hook_data_channel_activity;
 
 typedef struct
@@ -142,4 +143,9 @@ typedef struct
        int approved;
 } hook_data_privmsg_user;
 
+typedef struct
+{
+       bool signal;
+} hook_data_rehash;
+
 #endif