dccutil.h 842 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _DCCUTIL_H
  2. #define _DCCUTIL_H
  3. #include "eggmain.h"
  4. #ifdef HAVE_DPRINTF
  5. # define dprintf dprintf_eggdrop
  6. #endif
  7. #ifndef MAKING_MODS
  8. void dprintf (int, ...);
  9. void chatout (char *, ...);
  10. extern void (*shareout) ();
  11. extern void (*sharein) (int, char *);
  12. extern void (*shareupdatein) (int, char *);
  13. void chanout_but (int, ...);
  14. void dcc_chatter(int);
  15. void lostdcc(int);
  16. void makepass(char *);
  17. void tell_dcc(int);
  18. void not_away(int);
  19. void set_away(int, char *);
  20. void dcc_remove_lost(void);
  21. void flush_lines(int, struct chat_info *);
  22. struct dcc_t *find_idx(int);
  23. int new_dcc(struct dcc_table *, int);
  24. void del_dcc(int);
  25. char *add_cr(char *);
  26. void changeover_dcc(int, struct dcc_table *, int);
  27. void do_boot(int, char *, char *);
  28. int detect_dcc_flood(time_t *, struct chat_info *, int);
  29. #endif /* !MAKING_MODS */
  30. #endif /* !_DCCUTIL_H */