home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / MXMS_160.LZH / PROTOS.H < prev    next >
C/C++ Source or Header  |  1991-06-24  |  4KB  |  153 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. void ShowVers(void);
  12. void show_opts(void);
  13.  
  14. /* Misc.c */
  15. void signon(void);
  16. void get_currents(void);
  17. void display_protos(void);
  18. void display_packers(void);
  19. void menu(void);
  20. int find_config(int handle,char *name,struct user_cfg *uscfg);
  21. int find_blconfig(int handle);
  22. int timeon(void);
  23. void timeremain(void);
  24. int get_kminute(void);
  25. struct proto_st  *get_curprotolnk(void);
  26. struct packer_st *get_curpacklnk(void);
  27. struct repupl_st *get_curreplnk(void);
  28. void Sys_menu(void);
  29. void show_areas(int flag);
  30. int is_selarea(int msgnum);
  31. void update_msgs(void);
  32. void adjust_lastread(char *msgpath,word num);
  33. word get_lastread(char *msgpath);
  34. struct msgupd_st *find_area(int msgnum);
  35. void delay_s(unsigned n);
  36. void delay_ms(unsigned n);
  37. int find_realuser(char *name,int handle);
  38. int isskiparea(int msgarea);
  39. int isForcearea(int msgarea);
  40. void MarkForce(void);
  41. void erase_arc(void);
  42. char *stripwhite(char *strng);
  43. void setcolor(int color);
  44. void chat(void);
  45. void Holler(void);
  46. void PackUsers(void);
  47. void ljstring(char *dest,char *src,int len);
  48. int copyfile(char *source, char *dest);
  49. void homedir(void);
  50. void tempdir(void);
  51. int copy2temp(char *src);
  52.  
  53. /* MaxLib.c */
  54. int read_prm(char *pname);
  55. long fsize(char *fname);
  56. int check_carrier(void);
  57. void logit(char *strng,char flag);
  58. int switch_dir(char *dname);
  59. void strout(char *outmsg);
  60. void strin(char *inmsg);
  61. int chrin(void);
  62. void find_class(void);
  63. char *timestring(void);
  64. void cflush(void);
  65. void chrout(char ch);
  66. void videoline(int row,int col,char *strng);
  67. void showstat(void);
  68. void clearstat(void);
  69. int chrinwait(int tminutes);
  70. void clearscreen(void);
  71. void cleareol(void);
  72.  
  73. /* MessageHelp.c */
  74. int find_fidohigh(char *msgpath);
  75. int file_fidomsg(int i,int flags,FILE *output,struct msgupd_st *msgupd,struct msghead *MSGHD);
  76. int fidomsg_init(void);
  77.  
  78. /* Init.c */
  79. void init(void);
  80. void deinit(int);
  81. void aborterror(int code,char *strng);
  82. void enable_proto(char *strng);
  83. void enable_packer(char *strng);
  84. void enable_upl(char *strng);
  85. int load_cfgfile(char *cfgfile);
  86.  
  87. /* File.c */
  88. int build_areas(int mode,int output);
  89. int load_area(struct msgupd_st *msgupd,FILE *statfile,struct msghead *MSGHD);
  90. int scan_msgs(void);
  91. void newuser_help(void);
  92. int Packit(void);
  93. int sendit(void);
  94. int repupload(void);
  95. int show_file(char *strng,int mode);
  96. unsigned get_msgcount(void);
  97. struct msgupd_st *build1_area(int msgnum,int mode);
  98. int check_barareas(struct _area *AREA,int mode);
  99. char *getfline(FILE *tfile);
  100. void makearc(char *filename);
  101. int extractarc(char *name);
  102.  
  103. /* Config.c */
  104. void getconfig(void);
  105. int new_user(int filenum);
  106. void update_usercfg(int filenum);
  107. int screen_areas(int flag);
  108. void msgmark(int num);
  109. void msgunmark(int num);
  110. void list_config(void);
  111. void get_packer(int flag);
  112. void get_proto(int flag);
  113. int reset_config(word flag);
  114. int delete_users(void);
  115. void examine_user(void);
  116. void user_stats(void);
  117. void del_msgareas(void);
  118. void add_msgareas(void);
  119. void edit_msgptrs(void);
  120. void kill_oldusers(void);
  121. int test_task(void);
  122. void tone (int freq, int time);
  123. void configmenu(void);
  124. void get_msgtype(void);
  125. void get_nfiles(void);
  126. void get_totperarea(void);
  127. int getyn(int flag);
  128. void presskey(void);
  129.  
  130. /* Fossil.c */
  131. int FossilInit(void);
  132. void FossilDeInit(void);
  133. void FossPurgeBuff(int mode);
  134. void FossDtr(int mode);
  135. unsigned FossMdmStatus(void);
  136. unsigned FossGetCh(void);
  137. void FossSendStr(char *strng);
  138. void FossSendCh(byte ch);
  139. void FossFlow(byte mask);
  140. void FossBreak(int tsecs);
  141.  
  142. /* Qwkspt.c */
  143. void qwkinit(void);
  144. int openqwk(void);
  145. int qwk_fidomsg(int i,int flags,struct msgupd_st *msgupd,struct msghead *MSGHD);
  146. void qwk_newarea(struct msgupd_st *msgupd);
  147. void closeqwk(void);
  148. float IEEToMSBIN(float f);
  149. void getrep(void);
  150. int qwkfunct(struct msgupd_st *msgupd,char *msgbuff);
  151. char *namefixup(char *name);
  152.  
  153.