home *** CD-ROM | disk | FTP | other *** search
/ ftp.ncftp.com / ftp.ncftp.com.zip / ftp.ncftp.com / ncftp / ncftp-1.9.5.tar.gz / ncftp-1.9.5.tar / ncftp-1.9.5 / main.h < prev    next >
C/C++ Source or Header  |  1995-10-01  |  892b  |  46 lines

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