From d640207c74e0aaf5b4a3faf61c38e17796bf76a2 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 11 Feb 2013 16:41:47 +0100 Subject: 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. --- lib/include/radsec/radsec.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/include/radsec/radsec.h') 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. */ /****************/ -- cgit v1.1