diff options
| author | venaas <venaas> | 2008-09-16 12:38:09 +0000 | 
|---|---|---|
| committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-09-16 12:38:09 +0000 | 
| commit | 4c56742c9456d13d227a8a39a07dfabd6b77d3a7 (patch) | |
| tree | 067395d7bf7405317488c82ae819535a6d68d2c8 /radsecproxy.h | |
| parent | ea2babc8d91518e9a6d3fec586e6fe5f0cc33696 (diff) | |
simplifying code a bit by using lock per rqout
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@381 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
| -rw-r--r-- | radsecproxy.h | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/radsecproxy.h b/radsecproxy.h index d1dcaef..a4eabfc 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -56,12 +56,13 @@ struct request {  /* requests that our client will send */  struct rqout { +    pthread_mutex_t *lock; /* used when modifying buf/msg/rq */      unsigned char *buf;      struct radmsg *msg; +    struct request *rq;      uint8_t tries;      uint8_t received;      struct timeval expiry; -    struct request *rq;  };  /* replies that a server will send */ | 
