home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
MAXMAILP.ZIP
/
PROTOS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-01-03
|
3KB
|
96 lines
/****************************************************************************/
/* */
/* Protos.h: Protoypes for MaxMail */
/* Version 1.0 */
/* */
/****************************************************************************/
/* Maxmail.c */
void main(int argc,char **argv);
int do_exec(char *xfn,char *pars, int spwn,unsigned needed, char **envp);
/* Misc.c */
void signon(void);
void get_currents(void);
void display_protos(void);
void display_packers(void);
void menu(void);
int find_config(int handle,char *name,struct user_cfg *uscfg);
int find_blconfig(int handle);
int Timeon(void);
void timeremain(void);
int get_kminute(void);
struct proto_st *get_curprotolnk(void);
struct packer_st *get_curpacklnk(void);
void Sys_menu(void);
void show_areas(int flag);
int is_selarea(int msgnum);
void update_msgs(void);
struct msgupd_st *find_area(int msgnum);
void delay_s(unsigned n);
void delay_ms(unsigned n);
int find_realuser(char *name,int handle);
int isskiparea(int msgarea);
/* MaxLib.c */
int read_prm(char *pname);
long fsize(char *fname);
int check_carrier(void);
void logit(char *strng,char flag);
int switch_dir(char *dname);
void strout(char *outmsg);
void strin(char *inmsg);
int chrin(void);
char *timestring(void);
void cflush(void);
/* Message Help.c */
int find_fidohigh(char *msgpath);
int file_fidomsg(int i,int flags,FILE *output,struct msgupd_st *msgupd,struct msghead *MSGHD);
int fidomsg_init(void);
/* Init.c */
void init(void);
void deinit(int);
void aborterror(int code,char *strng);
void enable_proto(char *strng);
void enable_packer(char *strng);
int load_cfgfile(char *cfgfile);
/* File.c */
int build_areas(void);
int load_area(struct msgupd_st *msgupd,FILE *statfile,struct msghead *MSGHD);
int scan_msgs(void);
void newuser_help(void);
int packit(void);
int sendit(void);
int show_file(char *strng);
unsigned get_msgcount(void);
struct msgupd_st *build1_area(int msgnum);
void show_opts(void);
/* Config.c */
void getconfig(void);
int new_user(int filenum);
void update_usercfg(int filenum);
int screen_areas(int flag);
void msgmark(int num);
void msgunmark(int num);
void get_msgareas(void);
void list_config(void);
void get_packer(int flag);
void get_proto(int flag);
int reset_config(void);
int delete_users(void);
void examine_user(void);
void user_stats(void);
void del_msgareas(void);
void add_msgareas(void);
void edit_msgptrs(void);
void kill_oldusers(void);
int test_task(void);
#if defined OS2
#define strout(outmsg) outstring(outmsg)
#define strin(inmsg) inputl(inmsg,80)
#define chrin() inputkey()
#endif