home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / networking / tcpip / amitcp-support / ncftp-1.5.6 / src / rcs / main.h,v < prev    next >
Encoding:
Text File  |  1994-06-29  |  1.2 KB  |  76 lines

  1. head    14020.12;
  2. access;
  3. symbols
  4.     ORIGINAL:14020.12;
  5. locks; strict;
  6. comment    @ * @;
  7.  
  8.  
  9. 14020.12
  10. date    93.05.21.05.45.33;    author alph;    state Exp;
  11. branches;
  12. next    ;
  13.  
  14.  
  15. desc
  16. @Original version
  17. @
  18.  
  19.  
  20. 14020.12
  21. log
  22. @checked in with -k by alph at 1993/10/10 19:59:56
  23. @
  24. text
  25. @/* main.h */
  26.  
  27. #ifndef _main_h_
  28. #define _main_h_
  29.  
  30. /*  $RCSfile: main.h,v $
  31.  *  $Revision: 14020.12 $
  32.  *  $Date: 93/05/21 05:45:33 $
  33.  */
  34.  
  35. struct userinfo {
  36.     str32   username;
  37.     string  homedir;
  38.     string  shell;
  39.     string  hostname;
  40.     int        uid;
  41. };
  42.  
  43. void intr SIG_PARAMS;
  44. int getuserinfo(void);
  45. int init_arrays(void);
  46. void init_transfer_buffer(void);
  47. void init_prompt(void);
  48. void lostpeer SIG_PARAMS;
  49. void cmdscanner(int top);
  50. char *strprompt(void);
  51. void makeargv(void);
  52. char *slurpstring(void);
  53. int help(int argc, char **argv);
  54. void trim_log(void);
  55. int CheckNewMail(void);
  56.  
  57. #ifdef CURSES
  58.     void tcap_put(char *cap);
  59.     void termcap_init(void);
  60.     int termcap_get(char **dest, char *attr);
  61. #    ifndef TERMH /* <term.h> would take care of this. */
  62. #        ifdef NO_CONST
  63.             extern char *tgetstr(char *, char **);
  64. #        else
  65.             extern char *tgetstr(const char *, char **);
  66. #        endif
  67. #    endif    /* TERMH */
  68. #endif    /* CURSES */
  69.  
  70. /* Should be in a 'tips.h,' but... */
  71. void PrintTip(void);
  72.  
  73. #endif    /* _main_h_ */
  74.  
  75. @
  76.