You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
515 B

#ifndef __CONTROL_UDP_H__
#define __CONTROL_UDP_H__
#include <pcre.h>
#include <glib.h>
#include <time.h>
struct poller;
struct callmaster;
struct control_udp {
int fd;
struct poller *poller;
struct callmaster *callmaster;
pcre *parse_re;
pcre_extra *parse_ree;
GHashTable *fresh_cookies, *stale_cookies;
GStringChunk *fresh_chunks, *stale_chunks;
time_t oven_time;
};
struct control_udp *control_udp_new(struct poller *, u_int32_t, u_int16_t, struct callmaster *);
#endif