2014-07-11 22:12:11 +02:00
|
|
|
#ifndef __WTPLIST_H
|
2014-08-26 07:42:56 +02:00
|
|
|
#define __WTPLIST_H
|
2014-07-11 22:12:11 +02:00
|
|
|
|
|
|
|
#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
|