home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / MAXMAILP.ZIP / PROTOS.H < prev    next >
C/C++ Source or Header  |  1991-01-03  |  3KB  |  96 lines

  1. /****************************************************************************/
  2. /*                                                                          */
  3. /*    Protos.h:      Protoypes for MaxMail                                  */
  4. /*                   Version 1.0                                            */
  5. /*                                                                          */
  6. /****************************************************************************/
  7.  
  8. /* Maxmail.c */
  9. void main(int argc,char **argv);
  10. int do_exec(char *xfn,char *pars, int spwn,unsigned needed, char **envp);
  11.  
  12. /* Misc.c */
  13. void signon(void);
  14. void get_currents(void);
  15. void display_protos(void);
  16. void display_packers(void);
  17. void menu(void);
  18. int find_config(int handle,char *name,struct user_cfg *uscfg);
  19. int find_blconfig(int handle);
  20. int Timeon(void);
  21. void timeremain(void);
  22. int get_kminute(void);
  23. struct proto_st  *get_curprotolnk(void);
  24. struct packer_st *get_curpacklnk(void);
  25. void Sys_menu(void);
  26. void show_areas(int flag);
  27. int is_selarea(int msgnum);
  28. void update_msgs(void);
  29. struct msgupd_st *find_area(int msgnum);
  30. void delay_s(unsigned n);
  31. void delay_ms(unsigned n);
  32. int find_realuser(char *name,int handle);
  33. int isskiparea(int msgarea);
  34.  
  35. /* MaxLib.c */
  36. int read_prm(char *pname);
  37. long fsize(char *fname);
  38. int check_carrier(void);
  39. void logit(char *strng,char flag);
  40. int switch_dir(char *dname);
  41. void strout(char *outmsg);
  42. void strin(char *inmsg);
  43. int chrin(void);
  44. char *timestring(void);
  45. void cflush(void);
  46. /* Message Help.c */
  47. int find_fidohigh(char *msgpath);
  48. int file_fidomsg(int i,int flags,FILE *output,struct msgupd_st *msgupd,struct msghead *MSGHD);
  49. int fidomsg_init(void);
  50.  
  51. /* Init.c */
  52. void init(void);
  53. void deinit(int);
  54. void aborterror(int code,char *strng);
  55. void enable_proto(char *strng);
  56. void enable_packer(char *strng);
  57. int load_cfgfile(char *cfgfile);
  58.  
  59. /* File.c */
  60. int build_areas(void);
  61. int load_area(struct msgupd_st *msgupd,FILE *statfile,struct msghead *MSGHD);
  62. int scan_msgs(void);
  63. void newuser_help(void);
  64. int packit(void);
  65. int sendit(void);
  66. int show_file(char *strng);
  67. unsigned get_msgcount(void);
  68. struct msgupd_st *build1_area(int msgnum);
  69. void show_opts(void);
  70.  
  71. /* Config.c */
  72. void getconfig(void);
  73. int new_user(int filenum);
  74. void update_usercfg(int filenum);
  75. int screen_areas(int flag);
  76. void msgmark(int num);
  77. void msgunmark(int num);
  78. void get_msgareas(void);
  79. void list_config(void);
  80. void get_packer(int flag);
  81. void get_proto(int flag);
  82. int reset_config(void);
  83. int delete_users(void);
  84. void examine_user(void);
  85. void user_stats(void);
  86. void del_msgareas(void);
  87. void add_msgareas(void);
  88. void edit_msgptrs(void);
  89. void kill_oldusers(void);
  90. int test_task(void);
  91. #if defined OS2
  92.   #define strout(outmsg) outstring(outmsg)
  93.   #define strin(inmsg) inputl(inmsg,80)
  94.   #define chrin() inputkey()
  95. #endif
  96.