botmsg.h 801 B

1234567891011121314151617181920212223
  1. #ifndef _BOTMSG_H
  2. #define _BOTMSG_H
  3. #include "common.h"
  4. #include "set.h"
  5. /* Return codes for add_note */
  6. #define NOTE_ERROR 0 /* error */
  7. #define NOTE_OK 1 /* success */
  8. #define NOTE_STORED 2 /* not online; stored */
  9. #define NOTE_FULL 3 /* too many notes stored */
  10. #define NOTE_TCL 4 /* tcl binding caught it */
  11. #define NOTE_AWAY 5 /* away; stored */
  12. #define NOTE_FWD 6 /* away; forwarded */
  13. void botnet_send_var(int idx, variable_t *);
  14. void botnet_send_var_broad(int idx, variable_t *);
  15. void putbot(char *, char *);
  16. void putallbots(char *);
  17. int add_note(char *, char *, char *, int, int);
  18. #endif /* !_BOTMSG_H */