home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
MXMS_160.LZH
/
PROTOS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-06-24
|
4KB
|
153 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);
void ShowVers(void);
void show_opts(void);
/* 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);
struct repupl_st *get_curreplnk(void);
void Sys_menu(void);
void show_areas(int flag);
int is_selarea(int msgnum);
void update_msgs(void);
void adjust_lastread(char *msgpath,word num);
word get_lastread(char *msgpath);
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);
int isForcearea(int msgarea);
void MarkForce(void);
void erase_arc(void);
char *stripwhite(char *strng);
void setcolor(int color);
void chat(void);
void Holler(void);
void PackUsers(void);
void ljstring(char *dest,char *src,int len);
int copyfile(char *source, char *dest);
void homedir(void);
void tempdir(void);
int copy2temp(char *src);
/* 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);
void find_class(void);
char *timestring(void);
void cflush(void);
void chrout(char ch);
void videoline(int row,int col,char *strng);
void showstat(void);
void clearstat(void);
int chrinwait(int tminutes);
void clearscreen(void);
void cleareol(void);
/* MessageHelp.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);
void enable_upl(char *strng);
int load_cfgfile(char *cfgfile);
/* File.c */
int build_areas(int mode,int output);
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 repupload(void);
int show_file(char *strng,int mode);
unsigned get_msgcount(void);
struct msgupd_st *build1_area(int msgnum,int mode);
int check_barareas(struct _area *AREA,int mode);
char *getfline(FILE *tfile);
void makearc(char *filename);
int extractarc(char *name);
/* 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 list_config(void);
void get_packer(int flag);
void get_proto(int flag);
int reset_config(word flag);
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);
void tone (int freq, int time);
void configmenu(void);
void get_msgtype(void);
void get_nfiles(void);
void get_totperarea(void);
int getyn(int flag);
void presskey(void);
/* Fossil.c */
int FossilInit(void);
void FossilDeInit(void);
void FossPurgeBuff(int mode);
void FossDtr(int mode);
unsigned FossMdmStatus(void);
unsigned FossGetCh(void);
void FossSendStr(char *strng);
void FossSendCh(byte ch);
void FossFlow(byte mask);
void FossBreak(int tsecs);
/* Qwkspt.c */
void qwkinit(void);
int openqwk(void);
int qwk_fidomsg(int i,int flags,struct msgupd_st *msgupd,struct msghead *MSGHD);
void qwk_newarea(struct msgupd_st *msgupd);
void closeqwk(void);
float IEEToMSBIN(float f);
void getrep(void);
int qwkfunct(struct msgupd_st *msgupd,char *msgbuff);
char *namefixup(char *name);