nut/clients/upssched.h

28 lines
404 B
C
Raw Normal View History

2010-03-25 23:20:59 +00:00
/* upssched.h - supporting structures */
#include <parseconf.h>
#define SERIALIZE_INIT 1
#define SERIALIZE_SET 2
#define SERIALIZE_WAIT 3
2013-11-24 15:00:12 +00:00
#ifdef __cplusplus
/* *INDENT-OFF* */
extern "C" {
/* *INDENT-ON* */
#endif
2010-03-25 23:20:59 +00:00
/* track client connections */
2011-01-26 09:35:08 +00:00
typedef struct conn_s {
2010-03-25 23:20:59 +00:00
int fd;
PCONF_CTX_t ctx;
2011-01-26 09:35:08 +00:00
struct conn_s *next;
} conn_t;
2013-11-24 15:00:12 +00:00
#ifdef __cplusplus
/* *INDENT-OFF* */
}
/* *INDENT-ON* */
#endif