diff options
author | Linus Nordberg <linus@nordberg.se> | 2013-02-11 16:41:47 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2013-02-11 16:41:47 +0100 |
commit | d640207c74e0aaf5b4a3faf61c38e17796bf76a2 (patch) | |
tree | d79a0eabf66503525f4bf1a3495e00ed50f7d207 /lib/include/radsec/radsec.h | |
parent | 8d113bba795b1b8cf4ab55b362108f2c819e039d (diff) |
Add support for configuring client connections too.
We're moving x509 and psk config from rs_realm to rs_peer while
allowing these to be configured on the realm level and overriden at
peer level.
Also, add support for printing the read configuration, for debugging.
Diffstat (limited to 'lib/include/radsec/radsec.h')
-rw-r--r-- | lib/include/radsec/radsec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h index ee8c6a8..0a43f6f 100644 --- a/lib/include/radsec/radsec.h +++ b/lib/include/radsec/radsec.h @@ -208,6 +208,9 @@ int rs_context_set_alloc_scheme(struct rs_context *ctx, accessed using \a rs_err_ctx_pop. */ int rs_context_read_config(struct rs_context *ctx, const char *config_file); +int rs_context_print_config (struct rs_context *ctx, char **buf_out); + + /****************/ /* Connection. */ /****************/ |