1 /* 2 * notify.h: header for notify.c 3 * 4 * Copyright 1990 Michael Sandrof 5 * Copyright 1997 EPIC Software Labs 6 * See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT 7 */ 8 9 #ifndef __notify_h__ 10 #define __notify_h__ 11 12 #include "alist.h" 13 struct notify_stru; 14 15 typedef struct notify_alist 16 { 17 struct notify_stru ** list; 18 int max; 19 int max_alloc; 20 alist_func func; 21 hash_type hash; 22 char * ison; 23 } NotifyList; 24 25 extern char notify_timeref[]; 26 27 BUILT_IN_COMMAND(notify); 28 void do_notify (void); 29 void notify_mark (int, const char *, int, int); 30 void save_notify (FILE *); 31 void set_notify_handler (char *); 32 void make_notify_list (int); 33 char * get_notify_nicks (int, int); 34 void destroy_notify_list (int); 35 36 void notify_systimer (void); 37 void set_notify_interval (const void *); 38 void set_notify (const void *); 39 40 #endif /* _NOTIFY_H_ */ 41