This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/mbtask/taskstat.h

29 lines
956 B
C
Raw Normal View History

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
2001-08-17 05:46:24 +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 */
char *stat_status(void); /* Return status record */
int stat_bbs_stat(void); /* Get BBS open status */
char *getseq(void); /* Get next sequence number */
2005-10-11 20:49:41 +00:00
unsigned int gettoken(void); /* Get next sequence number */
2001-08-17 05:46:24 +00:00
int get_zmh(void); /* Check Zone Mail Hour */
int sem_set(char *, int); /* Set/Reset semafore */
char *sem_status(char *); /* Get semafore status */
char *sem_create(char *); /* Create semafore */
char *sem_remove(char *); /* Remove semafore */
#endif