]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/common.h
Couple of srvx updates.
[irc/evilnet/x3.git] / src / common.h
index e688ee8357f1b1b82c90e3a614bb19a5f380f6ec..b2f5789e5bb195f29b5e339e70cfa765dd49bd02 100644 (file)
@@ -168,8 +168,8 @@ const char *irc_ntoa(const irc_in_addr_t *addr);
 int create_socket_client(struct uplinkNode *target);
 void close_socket(void);
 
-typedef void (*exit_func_t)(void);
-void reg_exit_func(exit_func_t handler);
+typedef void (*exit_func_t)(void *extra);
+void reg_exit_func(exit_func_t handler, void *extra);
 void call_exit_funcs(void);
 
 char *mysep(char **sepstr, char *delim);
@@ -183,7 +183,7 @@ int mmatch(const char *glob, const char *newglob);
 int match_ircglob(const char *text, const char *glob);
 #define MATCH_USENICK 1
 #define MATCH_VISIBLE 2
-int user_matches_glob(struct userNode *user, const char *glob, int flags);
+int user_matches_glob(struct userNode *user, const char *glob, int flags, int shared);
 int is_overmask(char *mask);