actube/src/ac/wtplist.h
7u83@mail.ru 2bae9358d7 Initial commit
FossilOrigin-Name: c53d95729c009f8f80a7d63847cef7668ff73f8af0523ab65f7734696f85399c
2014-07-11 20:12:11 +00:00

19 lines
391 B
C

#ifndef __WTPLIST_H
#define __WPTLIST_H
#include <sys/socket.h>
#include "wtpman.h"
extern int wtplist_init();
extern void wtplist_destroy();
extern struct wtpman * wtplist_get(const struct sockaddr * addr);
extern struct wtpman * wtplist_add(struct wtpman * wtpman);
extern void wtplist_remove(struct wtpman * wtpman);
extern void wtplist_lock();
extern void wtplist_unlock();
#endif