4
0

noegg.h 856 B

123456789101112131415161718192021222324252627282930313233343536
  1. // #include <assert.h>
  2. // #include <stdio.h>
  3. // #include "compat/snprintf.h"
  4. static void putlog(int, char *, char *s, ...);
  5. char *newsplit(char **rest);
  6. #define strcasecmp(s1, s2) strcmpi(s1, s2)
  7. #define strncasecmp(s1, s2, n) strnicmp(s1, s2, n)
  8. #define rfc_casecmp(s1, s2) strcmpi(s1, s2)
  9. #define random rand
  10. #define LOG_MISC 0
  11. #define LOG_DEBUG 1
  12. #define debug0(s) putlog(LOG_DEBUG, "*", s)
  13. #define debug1(s1, s2) putlog(LOG_DEBUG, "*", s1, s2)
  14. #define debug2(s1, s2, s3) putlog(LOG_DEBUG, "*", s1, s2, s3)
  15. #define debug3(s1, s2, s3, s4) putlog(LOG_DEBUG, "*", s1, s2, s3, s4)
  16. #define now time(NULL)
  17. #define chmod(x1, x2) assert(1)
  18. #define botnetnick "Stats.dll"
  19. #define botname "Stats.dll"
  20. #define movefile(f1, f2) rename(f1, f2)
  21. static void fatal(char *s, int x);
  22. // #define findchan_by_dname(x) NULL