summaryrefslogtreecommitdiff
path: root/ipsvd/ipsvd_perhost.h
blob: 05c939d89e927cbd56801bd381df638d40bfbfb4 (plain)
1
2
3
4
5
6
7
8
9
10
struct hcc {
        char ip[32 - sizeof(int)];
        int pid;
};

void ipsvd_perhost_init(unsigned);
unsigned ipsvd_perhost_add(const char *ip, unsigned maxconn, struct hcc **hccpp);
void ipsvd_perhost_remove(int pid);
//unsigned ipsvd_perhost_setpid(int pid);
//void ipsvd_perhost_free(void);