83 |
int fd; /* socket the request came from */ |
int fd; /* socket the request came from */ |
84 |
struct sockaddr_in addr; /* Remote party address */ |
struct sockaddr_in addr; /* Remote party address */ |
85 |
REQUEST *orig; /* Original request. For proxy */ |
REQUEST *orig; /* Original request. For proxy */ |
|
|
|
|
void *update; |
|
|
size_t update_size; |
|
86 |
}; |
}; |
87 |
|
|
88 |
/* Request class structure |
/* Request class structure |
128 |
} PROXY_STATE; |
} PROXY_STATE; |
129 |
|
|
130 |
typedef struct { |
typedef struct { |
131 |
|
int id; |
132 |
int proxy_id; |
int proxy_id; |
133 |
int server_no; |
int server_no; |
134 |
char realmname[1]; |
char realmname[1]; |
308 |
INPUT *input_create(); |
INPUT *input_create(); |
309 |
void input_register_method(INPUT *input, |
void input_register_method(INPUT *input, |
310 |
const char *name, |
const char *name, |
311 |
|
int prio, |
312 |
int (*handler)(int, void *), |
int (*handler)(int, void *), |
313 |
int (*close)(int, void *), |
int (*close)(int, void *), |
314 |
int (*cmp)(const void *, const void *)); |
int (*cmp)(const void *, const void *)); |