summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-08-21 09:55:13 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-08-21 09:55:13 +0000
commit0821c152301b03565125e823f580deef4812d554 (patch)
tree2ac62b398656d0af683d278ae4c494d0128e4950 /radsecproxy.h
parent193b6127860d8bd6ec638fb3d74ceff63698fb8d (diff)
restructuring code
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@351 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index c2e9425..f3c0742 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -187,8 +187,11 @@ struct protodefs {
void *(*listener)(void*);
char **srcaddrport;
int (*connecter)(struct server *, struct timeval *, int, char *);
- void *(*clientreader)(void*);
+ void *(*clientconnreader)(void*);
int (*clientradput)(struct server *, unsigned char *);
+ void (*addclient)(struct client *);
+ void (*addserverextra)(struct clsrvconf *);
+ void (*initextra)();
};
#define RADLEN(x) ntohs(((uint16_t *)(x))[1])
@@ -205,9 +208,11 @@ struct protodefs {
struct addrinfo *getsrcprotores(uint8_t type);
struct clsrvconf *find_clconf(uint8_t type, struct sockaddr *addr, struct list_node **cur);
struct clsrvconf *find_srvconf(uint8_t type, struct sockaddr *addr, struct list_node **cur);
+struct clsrvconf *find_clconf_type(uint8_t type, struct list_node **cur);
struct client *addclient(struct clsrvconf *conf);
void removeclient(struct client *client);
void removeclientrqs(struct client *client);
+struct queue *newqueue();
int radsrv(struct request *rq);
X509 *verifytlscert(SSL *ssl);
int verifyconfcert(X509 *cert, struct clsrvconf *conf);