Source code of Windows XP (NT5)
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.

59 lines
1.9 KiB

  1. extern int hb_strcmp(unsigned char *str,unsigned char *hb_str);
  2. extern int hex_nyb(int chr);
  3. extern int hex_bytes(char *str,int nbytes);
  4. extern long htoi(char *str);
  5. extern int nindex(char *p,char *s,int start);
  6. extern int parse(char *cp,char * *fl,char sep);
  7. extern void init_progress(long size);
  8. extern void show_progress(int amt);
  9. extern long mem_to_long(unsigned char *cp,short nbytes);
  10. extern void long_to_mem(long val,unsigned char *cp,int nbytes);
  11. extern int getopt(int argc,char * *argv,char *template);
  12. extern int findlshortname(char *fullname);
  13. extern long getblong(char *line,int *i);
  14. extern char *parse_sec_name(char * *ppch);
  15. extern char *cp_alloc(char *pch);
  16. extern void memfil(int *mem,unsigned int size);
  17. extern char *clear_alloc(unsigned int size);
  18. extern char *my_malloc(unsigned int size);
  19. extern void my_free(void * buffer);
  20. extern char *cpalloc(char *str);
  21. extern void setmem(char *src,int size,char val);
  22. extern void movmem(char *src,char *dst,int len);
  23. extern char near *ncp_alloc(char near *pch);
  24. extern void nmemfil(int near *mem,unsigned int size);
  25. extern char near *nclear_alloc(unsigned int size);
  26. extern char near *nmy_malloc(unsigned int size);
  27. extern char near *ncpalloc(char near *str);
  28. extern void nsetmem(char near *src,int size,char val);
  29. extern void nmovmem(char near *src,char near *dst,int len);
  30. extern char far *fcp_alloc(char far *pch);
  31. extern void fmemfil(int far *mem,unsigned int size);
  32. extern char far *fclear_alloc(unsigned int size);
  33. extern char far *fmy_malloc(unsigned int size);
  34. extern char far *fcpalloc(char far *str);
  35. extern void fsetmem(char far *src,int size,char val);
  36. extern void fmovmem(char far *src,char far *dst,int len);
  37. extern void mymktemp(char * lpszpath, char * lpszbuffer);
  38. #ifdef MSDOS
  39. extern void far crypt(char far *, int);
  40. #else
  41. extern crypt(char *, int);
  42. #endif
  43. #define IS_BIT(f,b) ((f) & (b))
  44. #define BIT_SET(f,b) f|=(b)
  45. #define BIT_CLEAR(f,b) f&=~(b)