home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume39 / ncftp / part05 / main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-25  |  889 b   |  48 lines

  1. /* main.h */
  2.  
  3. #ifndef _main_h_
  4. #define _main_h_
  5.  
  6. /*  $RCSfile: main.h,v $
  7.  *  $Revision: 14020.12 $
  8.  *  $Date: 93/05/21 05:45:33 $
  9.  */
  10.  
  11. struct userinfo {
  12.     str32   username;
  13.     string  homedir;
  14.     string  shell;
  15.     string  hostname;
  16.     int        uid;
  17. };
  18.  
  19. void intr SIG_PARAMS;
  20. int getuserinfo(void);
  21. int init_arrays(void);
  22. void init_transfer_buffer(void);
  23. void init_prompt(void);
  24. void lostpeer SIG_PARAMS;
  25. void cmdscanner(int top);
  26. char *strprompt(void);
  27. void makeargv(void);
  28. char *slurpstring(void);
  29. int help(int argc, char **argv);
  30. void trim_log(void);
  31. int CheckNewMail(void);
  32.  
  33. #ifdef CURSES
  34. void tcap_put(char *cap);
  35. void termcap_init(void);
  36. void termcap_get(char *dest, char *attr);
  37. #ifdef NO_CONST
  38. extern char *tgetstr(char *, char **);
  39. #else
  40. extern char *tgetstr(const char *, char **);
  41. #endif
  42. #endif    /* CURSES */
  43. /* Should be in a 'tips.h,' but... */
  44. void PrintTip(void);
  45.  
  46. #endif    /* _main_h_ */
  47.  
  48.