home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / c / berm122s / scan.pro < prev    next >
Text File  |  1993-08-16  |  2KB  |  47 lines

  1. #if __PROTO__
  2. # define    P(s) s
  3. #else
  4. # define P(s) ()
  5. #endif
  6.  
  7.  
  8. /* scan.c */
  9. void *myalloc P((size_t sp ));
  10. char *skip_blanks P((char *string ));
  11. char *skip_to_blank P((char *string ));
  12. char *ctl_string P((char *string ));
  13. char *ctl_path P((char *string ));
  14. int init_conf P((void ));
  15. void parsekey P((char *p ));
  16. int getint P((char **p , int *i ));
  17. int getaddress P((char *str , int *zone , int *net , int *node , int *point ));
  18. int getalias P((int zone , int net , int node , int point ));
  19. void get_passw P((int zone , int net , int node , int point ));
  20. void init P((int argc , char *argv []));
  21. void Aopen P((void ));
  22. char *next_str P((char *p , char *lookfor));
  23. void GetThem P((char *msg , char *str , int szones [], int snets [], int snodes [], int spoints [], int *tseen ));
  24. void AddOrigin P((void ));
  25. void SortThem P((int zones [], int nets [], int nodes [], int points [], int *nr , int chpoints ));
  26. void CheckSeen P((void ));
  27. void PurgeBlanks P((void ));
  28. void CheckEcho P((void ));
  29. int readmessage P((void ));
  30. void add P((char *p ));
  31. void AddThem P((char *addstr , int zones [], int nets [], int nodes [], int points [], int nr , int dopoints , int dozones ));
  32. void AddSeen P((int what ));
  33. void AddPath P((int add ));
  34. void OpenPacket P((int zone , int net , int node , int point ));
  35. void ClosePacket P((void ));
  36. void MakeHdr P((struct Hdr *Mhdr ));
  37. void PktWrite P((char *str , int len ));
  38. void writehdr P((void ));
  39. void writemessage P((int where , int what , int zone , int net , int node , int point ));
  40. void cleanEcho P((void ));
  41. void Aclose P((void ));
  42. void deinitialize P((void ));
  43. int main P((int argc , char *argv []));
  44.  
  45. #undef P
  46.  
  47.