diff options
author | venaas <venaas> | 2008-09-29 13:58:24 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-09-29 13:58:24 +0000 |
commit | 604fcf38fa0e9f0feaf0e328a442ad521ac86c2d (patch) | |
tree | e03a0c27ab298f22cb5203a7cd90ab5f47f90741 /radsecproxy.h | |
parent | a1f132ae5a8720d5894d9231eefcd0bf046ce8d5 (diff) |
refcounts for realms, rewritten some locking and subrealm stuff
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@409 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r-- | radsecproxy.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/radsecproxy.h b/radsecproxy.h index 21c02ec..4be2274 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -44,7 +44,7 @@ struct options { struct request { struct timeval created; - uint8_t refcount; + uint32_t refcount; uint8_t *buf, *replybuf; struct radmsg *msg; struct client *from; @@ -138,7 +138,9 @@ struct realm { char *message; uint8_t accresp; regex_t regex; - pthread_mutex_t subrealms_mutex; + uint32_t refcount; + pthread_mutex_t mutex; + struct realm *parent; struct list *subrealms; struct list *srvconfs; struct list *accsrvconfs; |