modules/botserv/botserv.h
raw| 1 | /* |
| 2 | * Copyright (c) 2009 Celestin, et al. |
| 3 | * Rights to this code are as documented in doc/LICENSE. |
| 4 | * |
| 5 | * BotServ common definitions. |
| 6 | */ |
| 7 | |
| 8 | typedef struct { |
| 9 | service_t *me; |
| 10 | char *nick; |
| 11 | char *user; |
| 12 | char *host; |
| 13 | char *real; |
| 14 | mowgli_node_t bnode; |
| 15 | bool private; |
| 16 | time_t registered; |
| 17 | } botserv_bot_t; |
| 18 | |
| 19 | typedef botserv_bot_t *fn_botserv_bot_find(char *name); |