]>
Commit | Line | Data |
---|---|---|
1 | #ifndef __XSB_H | |
2 | #define __XSB_H | |
3 | ||
4 | #include "../parser/parser.h" | |
5 | #include "../nick/nick.h" | |
6 | #include "../server/server.h" | |
7 | ||
8 | void xsb_addcommand(const char *name, const int maxparams, CommandHandler handler); | |
9 | void xsb_delcommand(const char *name, CommandHandler handler); | |
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))); | |
12 | int xsb_isservice(server *service); | |
13 | ||
14 | #endif |