1 /* 2 * MPROTOS.H 3 * 4 * Released to the public domain. 5 */ 6 7 #ifndef __MPROTOS_H__ 8 #define __MPROTOS_H__ 9 10 void cleanup(char *msg,...); 11 void mygetcwd(char *buf, int len); 12 msg *readmsg(unsigned long n); 13 int writemsg(msg * m); 14 void deletemsg(void); 15 int showmsg(msg * m, int redraw); 16 void opening(char *, char *); 17 void parseareas(char *); 18 int nextmsg(int); 19 int selectarea(char *topMsg, int def); 20 int mainArea(void); 21 void showheader(msg * m); 22 FIDO_ADDRESS parsenode(char *s); 23 LINE *clearbuffer(LINE * buffer); 24 void import(LINE * l); 25 void export(LINE * f); 26 int confirm(char *option); 27 void save(msg * message); 28 FIDO_ADDRESS lookup(char *name, char *fn); 29 void makeReverse(char *revName, char *name); 30 void newmsg(void); 31 void reply(void); 32 void quote(void); 33 void reply_oarea(void); 34 void followup(void); 35 void show_help(void); 36 int draw_help(char *name); 37 void choose_attribline(void); 38 void movemsg(void); 39 void writetxt(void); 40 void change(void); 41 char *show_address(FIDO_ADDRESS * a); 42 char *show_4d(FIDO_ADDRESS * a); 43 char *striplwhite(char *s); 44 char *striptwhite(char *s); 45 void clearmsg(msg * m); 46 int setcwd(char *path); 47 void dispose(msg * message); 48 void strdel(char *l, int x); 49 LINE *insline(LINE * nl); 50 int dir_findnext(struct _dta *dta); 51 int dir_findfirst(char *filename, int attribute, struct _dta *dta); 52 void change_curr_addr(void); 53 void set_switch(void); 54 int handle_rot(int c); 55 void scan_all_areas(void); 56 void scan_unscanned_areas(void); 57 void area_scan(int); 58 int newarea(void); 59 void cursor(char state); 60 void replyextra(void); 61 void set_area(int newarea); 62 int do_list(void); 63 unsigned int KeyHit(void); 64 unsigned int ConvertKey(int ch); 65 unsigned int GetKey(void); 66 void dolist(void); 67 68 #ifdef MSDOS 69 #include "dosmisc.h" 70 #endif 71 72 #include "wrap.h" 73 #include "misc.h" 74 75 #endif 76