From 1225cb37a7f22156fae9998882bcd561376ae7f0 Mon Sep 17 00:00:00 2001 From: venaas Date: Mon, 3 Mar 2008 13:57:21 +0000 Subject: support for rewrite and fixing attr resize git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@220 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'radsecproxy.h') diff --git a/radsecproxy.h b/radsecproxy.h index ee321f8..9400a6f 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006, 2007 Stig Venaas + * Copyright (C) 2006-2008 Stig Venaas * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -84,6 +84,7 @@ struct clsrvconf { char *rewriteattrreplacement; uint8_t statusserver; SSL_CTX *ssl_ctx; + uint8_t *removeattrs; struct addrinfo *addrinfo; uint8_t prefixlen; struct list *clients; @@ -126,6 +127,12 @@ struct tls { int count; }; +struct rewrite { + char *name; + uint8_t *removeattrs; + int count; +}; + #define RADLEN(x) ntohs(((uint16_t *)(x))[1]) #define ATTRTYPE(x) ((x)[0]) -- cgit v1.2.3