From a13cddc1331aa1f5e7dca7d1b44482951d2757bf Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sun, 13 Nov 2011 17:16:14 +1100 Subject: port to new RADIUS client library --- lib/conf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/conf.c') diff --git a/lib/conf.c b/lib/conf.c index 83c2e4b..f5d1b2b 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -6,6 +6,7 @@ #endif #include +#include #include #include #include -- cgit v1.1 From f780ff204e39420aabf94a7fab4e2c37790b658f Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Mon, 14 Nov 2011 17:05:55 +1100 Subject: remove dictionary configuration parameter --- lib/conf.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/conf.c') diff --git a/lib/conf.c b/lib/conf.c index f5d1b2b..84bd1a8 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -15,7 +15,6 @@ #if 0 # common config options - dictionary = STRING # common realm config options realm NAME { @@ -69,7 +68,6 @@ rs_context_read_config(struct rs_context *ctx, const char *config_file) }; cfg_opt_t opts[] = { - CFG_STR ("dictionary", NULL, CFGF_NONE), CFG_SEC ("realm", realm_opts, CFGF_TITLE | CFGF_MULTI), CFG_END () }; @@ -98,7 +96,6 @@ rs_context_read_config(struct rs_context *ctx, const char *config_file) if (config == NULL) return rs_err_ctx_push_fl (ctx, RSE_NOMEM, __FILE__, __LINE__, NULL); ctx->config = config; - config->dictionary = cfg_getstr (cfg, "dictionary"); for (i = 0; i < cfg_size (cfg, "realm"); i++) { -- cgit v1.1 From 0efe1f109fd1953135be072f1516854e554e35d3 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 18 Dec 2012 13:24:59 +0100 Subject: Config docu. --- lib/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/conf.c') diff --git a/lib/conf.c b/lib/conf.c index 1cb7049..42f1373 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -19,7 +19,7 @@ # common config options # common realm config options - realm NAME { + realm STRING { type = "UDP"|"TCP"|"TLS"|"DTLS" timeout = INT retries = INT @@ -34,7 +34,7 @@ } # client specific realm config options - realm NAME { + realm STRING { server { hostname = STRING service = STRING -- cgit v1.1 From 937144b230752ac640e611cabb57387f613997bc Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 19 Dec 2012 10:41:57 +0100 Subject: Rename COPYING -> LICENSE. And distribute LICENSE and HACKING. --- lib/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/conf.c') diff --git a/lib/conf.c b/lib/conf.c index 42f1373..14b7579 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -1,5 +1,5 @@ /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved. - See the file COPYING for licensing information. */ + See LICENSE for licensing information. */ #if defined HAVE_CONFIG_H #include -- cgit v1.1