projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
677c6a2
)
Centos6 compiler is too picky about typedefs; pacify it.
author
Sam Hartman
<hartmans@debian.org>
Thu, 24 Jul 2014 15:59:41 +0000
(11:59 -0400)
committer
Sam Hartman
<hartmans@debian.org>
Thu, 24 Jul 2014 15:59:41 +0000
(11:59 -0400)
include/tid_internal.h
patch
|
blob
|
history
diff --git
a/include/tid_internal.h
b/include/tid_internal.h
index
4e206da
..
0593425
100644
(file)
--- a/
include/tid_internal.h
+++ b/
include/tid_internal.h
@@
-70,13
+70,13
@@
#include <trust_router/tid.h>
#include <jansson.h>
#include <trust_router/tid.h>
#include <jansson.h>
-
typedef
struct tid_srvr_blk {
+struct tid_srvr_blk {
struct in_addr aaa_server_addr;
TR_NAME *key_name;
DH *aaa_server_dh; /* AAA server's public dh information */
struct in_addr aaa_server_addr;
TR_NAME *key_name;
DH *aaa_server_dh; /* AAA server's public dh information */
-}
TID_SRVR_BLK
;
+};
-
typedef
struct tid_resp {
+struct tid_resp {
TID_RC result;
TR_NAME *err_msg;
TR_NAME *rp_realm;
TID_RC result;
TR_NAME *err_msg;
TR_NAME *rp_realm;
@@
-87,7
+87,7
@@
typedef struct tid_resp {
TID_SRVR_BLK *servers; /* array of servers */
size_t num_servers;
/* TBD -- Trust Path Used */
TID_SRVR_BLK *servers; /* array of servers */
size_t num_servers;
/* TBD -- Trust Path Used */
-}
TID_RESP
;
+};
struct tid_req {
struct tid_req *next_req;
int resp_sent;
struct tid_req {
struct tid_req *next_req;
int resp_sent;