diff options
author | Walter de Jong <walter@heiho.net> | 2013-03-28 23:10:43 +0100 |
---|---|---|
committer | Walter de Jong <walter@heiho.net> | 2013-03-28 23:10:43 +0100 |
commit | 1119da92c3c47a2cb2a48d494f98ff10a6c32619 (patch) | |
tree | 80727ab0d5542f8dc05d59f292bfe05c51af73af /support.h | |
parent | e9fd08a5d571c852f1f47f0e4cead8161a919d0b (diff) | |
download | pam_tacplus-1119da92c3c47a2cb2a48d494f98ff10a6c32619.tar.gz pam_tacplus-1119da92c3c47a2cb2a48d494f98ff10a6c32619.zip |
server is a struct { address, key }
Diffstat (limited to 'support.h')
-rw-r--r-- | support.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -26,9 +26,14 @@ #include <security/pam_modules.h> -extern struct addrinfo *tac_srv[TAC_PLUS_MAXSERVERS]; -extern char *tac_srv_key[TAC_PLUS_MAXSERVERS]; +typedef struct { + struct addrinfo *addr; + const char *key; +} tacplus_server_t; + +extern tacplus_server_t tac_srv[TAC_PLUS_MAXSERVERS]; extern int tac_srv_no; + extern char *tac_service; extern char *tac_protocol; |