X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=radsecproxy.h;h=09b5d6e25685db2b9c5eb1a4c8bbf28a84d15b34;hb=e627ff1d2b8888897c04f7b368cc307f948be6ff;hp=37942725a224623dada9f0e7489c7ae043df1346;hpb=67902f98c988aba120a3abb4250fb483f7d3139a;p=libradsec.git diff --git a/radsecproxy.h b/radsecproxy.h index 3794272..09b5d6e 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -10,7 +10,7 @@ #include "radmsg.h" #include "gconfig.h" -#define DEBUG_LEVEL 3 +#define DEBUG_LEVEL 2 #define CONFIG_MAIN "/etc/radsecproxy.conf" @@ -79,7 +79,7 @@ struct clsrvconf { char *name; uint8_t type; /* RAD_UDP/RAD_TLS/RAD_TCP */ const struct protodefs *pdef; - char *hostsrc; + char **hostsrc; char *portsrc; struct list *hostports; char *secret; @@ -98,6 +98,7 @@ struct clsrvconf { uint8_t dupinterval; uint8_t certnamecheck; uint8_t addttl; + uint8_t loopprevention; struct rewrite *rewritein; struct rewrite *rewriteout; pthread_mutex_t *lock; /* only used for updating clients so far */ @@ -106,7 +107,7 @@ struct clsrvconf { struct server *servers; }; -#include "tlscommon.h" +#include "rsp_tlscommon.h" struct client { struct clsrvconf *conf; @@ -209,3 +210,7 @@ void freerq(struct request *rq); int radsrv(struct request *rq); void replyh(struct server *server, unsigned char *buf); struct addrinfo *resolve_hostport_addrinfo(uint8_t type, char *hostport); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */