|
@@ -46,16 +46,16 @@ bool expired_mask(struct chanset_t *, char *);
|
|
|
void set_handle_laston(char *, struct userrec *, time_t);
|
|
void set_handle_laston(char *, struct userrec *, time_t);
|
|
|
int u_delmask(char type, struct chanset_t *c, char *who, int doit);
|
|
int u_delmask(char type, struct chanset_t *c, char *who, int doit);
|
|
|
bool u_addmask(char type, struct chanset_t *, char *, const char *, const char *, time_t, int);
|
|
bool u_addmask(char type, struct chanset_t *, char *, const char *, const char *, time_t, int);
|
|
|
-int u_sticky_mask(maskrec *, char *);
|
|
|
|
|
|
|
+int u_sticky_mask(const maskrec *, const char *) __attribute__((pure));
|
|
|
int u_setsticky_mask(struct chanset_t *, maskrec *, char *, int, const char);
|
|
int u_setsticky_mask(struct chanset_t *, maskrec *, char *, int, const char);
|
|
|
int SplitList(char *, const char *, int *, const char ***);
|
|
int SplitList(char *, const char *, int *, const char ***);
|
|
|
int channel_modify(char *, struct chanset_t *, int, char **, bool);
|
|
int channel_modify(char *, struct chanset_t *, int, char **, bool);
|
|
|
int channel_add(char *, const char *, char *, bool = 0);
|
|
int channel_add(char *, const char *, char *, bool = 0);
|
|
|
void clear_channel(struct chanset_t *, bool);
|
|
void clear_channel(struct chanset_t *, bool);
|
|
|
-int u_equals_mask(maskrec *, char *);
|
|
|
|
|
-bool u_match_mask(struct maskrec *, const char *);
|
|
|
|
|
-bool ismasked(masklist *, const char *);
|
|
|
|
|
-bool ismodeline(masklist *, const char *);
|
|
|
|
|
|
|
+int u_equals_mask(const maskrec *, const char *) __attribute__((pure));
|
|
|
|
|
+bool u_match_mask(const maskrec *, const char *) __attribute__((pure));
|
|
|
|
|
+bool ismasked(const masklist *, const char *) __attribute__((pure));
|
|
|
|
|
+bool ismodeline(const masklist *, const char *) __attribute__((pure));
|
|
|
void channels_report(int, int);
|
|
void channels_report(int, int);
|
|
|
void channels_writeuserfile(bd::Stream&, int = 0);
|
|
void channels_writeuserfile(bd::Stream&, int = 0);
|
|
|
void rcmd_chans(char *, char *, char *);
|
|
void rcmd_chans(char *, char *, char *);
|