projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commit changes to allow a default server and to improve peering config.
[trust_router.git]
/
include
/
tr_idp.h
diff --git
a/include/tr_idp.h
b/include/tr_idp.h
index
8f68b67
..
0eba315
100644
(file)
--- a/
include/tr_idp.h
+++ b/
include/tr_idp.h
@@
-41,11
+41,12
@@
typedef struct tr_aaa_server {
struct tr_aaa_server *next;
typedef struct tr_aaa_server {
struct tr_aaa_server *next;
-
struct in_addr aaa_server_addr
;
+
TR_NAME *hostname
;
} TR_AAA_SERVER;
typedef struct tr_idp_realm {
struct tr_idp_realm *next;
} TR_AAA_SERVER;
typedef struct tr_idp_realm {
struct tr_idp_realm *next;
+ struct tr_idp_realm *comm_next; /* for linked list in comm config */
TR_NAME *realm_id;
int shared_config;
TR_AAA_SERVER *aaa_servers;
TR_NAME *realm_id;
int shared_config;
TR_AAA_SERVER *aaa_servers;
@@
-53,5
+54,5
@@
typedef struct tr_idp_realm {
} TR_IDP_REALM;
TR_AAA_SERVER *tr_idp_aaa_server_lookup(TR_INSTANCE *tr, TR_NAME *idp_realm, TR_NAME *comm);
} TR_IDP_REALM;
TR_AAA_SERVER *tr_idp_aaa_server_lookup(TR_INSTANCE *tr, TR_NAME *idp_realm, TR_NAME *comm);
-
+TR_AAA_SERVER *tr_default_server_lookup(TR_INSTANCE *tr, TR_NAME *comm);
#endif
#endif