32 |
/*! \brief Watch structure */ |
/*! \brief Watch structure */ |
33 |
struct Watch |
struct Watch |
34 |
{ |
{ |
35 |
dlink_node node; /**< Embedded dlink_node used to link into watchTable */ |
dlink_node node; /**< List node; linked into watchTable */ |
36 |
dlink_list watched_by; /**< List of clients that have this |
dlink_list watched_by; /**< List of clients that have this entry on their watch list */ |
|
entry on their watch list */ |
|
37 |
uintmax_t lasttime; /**< Last time the client was seen */ |
uintmax_t lasttime; /**< Last time the client was seen */ |
38 |
char name[NICKLEN + 1]; /**< Name of the client to watch */ |
char name[NICKLEN + 1]; /**< Name of the client to watch */ |
39 |
}; |
}; |
44 |
extern void watch_del_watch_list(struct Client *); |
extern void watch_del_watch_list(struct Client *); |
45 |
extern void watch_count_memory(unsigned int *const, size_t *const); |
extern void watch_count_memory(unsigned int *const, size_t *const); |
46 |
extern struct Watch *watch_find_hash(const char *); |
extern struct Watch *watch_find_hash(const char *); |
47 |
#endif |
#endif /* INCLUDED_watch_h */ |