Commit 2311c004 authored by venaas's avatar venaas Committed by venaas

Reordered radsecproxy.h

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@77 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent 5fc6f776
......@@ -6,12 +6,6 @@
* copyright notice and this permission notice appear in all copies.
*/
#define RADLEN(x) ntohs(((uint16_t *)(x))[1])
#define SOCKADDR_SIZE(addr) ((addr).ss_family == AF_INET ? \
sizeof(struct sockaddr_in) : \
sizeof(struct sockaddr_in6))
#define DEBUG_LEVEL 2
#define CONFIG_MAIN "/etc/radsecproxy/radsecproxy.conf"
......@@ -119,6 +113,12 @@ struct server {
pthread_cond_t newrq_cond;
};
#define RADLEN(x) ntohs(((uint16_t *)(x))[1])
#define SOCKADDR_SIZE(addr) ((addr).ss_family == AF_INET ? \
sizeof(struct sockaddr_in) : \
sizeof(struct sockaddr_in6))
void errx(char *format, ...);
void err(char *format, ...);
char *stringcopy(char *s, int len);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment