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 /libtac/include | |
| parent | e9fd08a5d571c852f1f47f0e4cead8161a919d0b (diff) | |
| download | pam_tacplus-1119da92c3c47a2cb2a48d494f98ff10a6c32619.tar.gz pam_tacplus-1119da92c3c47a2cb2a48d494f98ff10a6c32619.zip | |
server is a struct { address, key }
Diffstat (limited to 'libtac/include')
| -rw-r--r-- | libtac/include/libtac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtac/include/libtac.h b/libtac/include/libtac.h index 36dc9b0..bcc5880 100644 --- a/libtac/include/libtac.h +++ b/libtac/include/libtac.h @@ -113,7 +113,7 @@ extern int tac_ver_patch; /* header.c */ extern int session_id; extern int tac_encryption; -extern char *tac_secret; +extern const char *tac_secret; extern char *tac_login; extern int tac_priv_lvl; extern int tac_authen_method; @@ -126,7 +126,7 @@ extern int tac_readtimeout_enable; extern int tac_timeout; int tac_connect(struct addrinfo **, char **, int); -int tac_connect_single(struct addrinfo *, char *); +int tac_connect_single(struct addrinfo *, const char *); char *tac_ntop(const struct sockaddr *, size_t); int tac_authen_send(int, const char *, char *, char *, |
