]>
Commit | Line | Data |
---|---|---|
2172bfc8 CP |
1 | #ifndef __XSB_H |
2 | #define __XSB_H | |
3 | ||
4 | #include "../parser/parser.h" | |
4c551b15 CP |
5 | #include "../nick/nick.h" |
6 | #include "../server/server.h" | |
2172bfc8 CP |
7 | |
8 | void xsb_addcommand(const char *name, const int maxparams, CommandHandler handler); | |
9 | void xsb_delcommand(const char *name, CommandHandler handler); | |
579d4f01 CP |
10 | void xsb_broadcast(const char *command, server *service, const char *format, ...) __attribute__ ((format (printf, 3, 4))); |
11 | void xsb_unicast(const char *command, nick *np, const char *format, ...) __attribute__ ((format (printf, 3, 4))); | |
4c551b15 | 12 | int xsb_isservice(server *service); |
2172bfc8 CP |
13 | |
14 | #endif |