2001-08-17 05:46:24 +00:00
|
|
|
#ifndef _TASKSTAT_H
|
|
|
|
#define _TASKSTAT_H
|
|
|
|
|
2003-02-12 20:20:59 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
|
2001-12-23 21:05:40 +00:00
|
|
|
#define PAUSETIME 3
|
2003-02-12 20:20:59 +00:00
|
|
|
#define TOSSWAIT_TIME 30
|
|
|
|
|
2001-12-23 21:05:40 +00:00
|
|
|
|
2006-01-30 22:27:02 +00:00
|
|
|
void status_init(void); /* Initialize status module */
|
|
|
|
void stat_inc_clients(void); /* Increase connected clients */
|
|
|
|
void stat_dec_clients(void); /* Decrease connected clients */
|
|
|
|
void stat_set_open(int); /* Set BBS open status */
|
|
|
|
void stat_inc_serr(void); /* Increase syntax error */
|
|
|
|
void stat_inc_cerr(void); /* Increase comms error */
|
|
|
|
void stat_status_r(char *); /* Return status record */
|
|
|
|
int stat_bbs_stat(void); /* Get BBS open status */
|
|
|
|
void getseq_r(char *); /* Get next sequence number */
|
|
|
|
unsigned int gettoken(void); /* Get next sequence number */
|
|
|
|
int get_zmh(void); /* Check Zone Mail Hour */
|
|
|
|
int sem_set(char *, int); /* Set/Reset semafore */
|
|
|
|
void sem_status_r(char *, char *); /* Get semafore status */
|
|
|
|
void sem_create_r(char *, char *); /* Create semafore */
|
|
|
|
void sem_remove_r(char *, char *); /* Remove semafore */
|
2007-04-30 15:08:05 +00:00
|
|
|
void mib_set_mailer(char *); /* MIB set mailer data */
|
2008-02-10 13:29:41 +00:00
|
|
|
void mib_get_mailer_r(char *); /* MIB get mailer data */
|
2007-04-30 15:08:05 +00:00
|
|
|
void mib_set_netmail(char *); /* MIB set netmail data */
|
2008-02-10 13:29:41 +00:00
|
|
|
void mib_get_netmail_r(char *); /* MIB get netmail data */
|
2007-04-30 15:08:05 +00:00
|
|
|
void mib_set_email(char *); /* MIB set email data */
|
2008-02-10 13:29:41 +00:00
|
|
|
void mib_get_email_r(char *); /* MIB get email data */
|
2007-04-30 15:08:05 +00:00
|
|
|
void mib_set_news(char *); /* MIB set news data */
|
2008-02-10 13:29:41 +00:00
|
|
|
void mib_get_news_r(char *); /* MIB get news data */
|
2007-04-30 15:08:05 +00:00
|
|
|
void mib_set_echo(char *); /* MIB set echomail data */
|
2008-02-10 13:29:41 +00:00
|
|
|
void mib_get_echo_r(char *); /* MIB get echomail data */
|
2007-04-30 15:08:05 +00:00
|
|
|
void mib_set_files(char *); /* MIB set files data */
|
2008-02-10 13:29:41 +00:00
|
|
|
void mib_get_files_r(char *); /* MIB get files data */
|
2007-04-30 20:20:33 +00:00
|
|
|
void mib_set_outsize(unsigned int); /* MIB set outbound size */
|
2008-02-10 13:29:41 +00:00
|
|
|
void mib_get_outsize_r(char *); /* MIB get outbound size */
|
|
|
|
void mib_get_tosser_r(char *); /* MIB get tosser data */
|
|
|
|
void mib_set_bbs(char *); /* MIB set bbs data */
|
|
|
|
void mib_get_bbs_r(char *); /* MIB get bbs data */
|
|
|
|
|
|
|
|
|
2001-08-17 05:46:24 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|