You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

utils.h 559B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef UTILS_H
  2. #define UTILS_H
  3. Uint32 gtime(void);
  4. Uint32 longtime(void);
  5. #if 0
  6. void create_unique(void);
  7. void set_unique(Uint32 unique);
  8. Uint32 get_unique(void);
  9. #endif
  10. #define SEED_UNIQUE_SIZE (32*4+4)
  11. void read_seed_unique(unsigned char *buf);
  12. unsigned char* write_seed_unique(unsigned char *buf);
  13. void create_seed_unique(void);
  14. extern Uint32 network_unique;
  15. int myrand(void);
  16. void nomem(char *str);
  17. int mypause(void);
  18. void pulseon(void);
  19. void hexdump(unsigned char *p, int len);
  20. extern volatile int hc;
  21. extern volatile char interrupted;
  22. #endif