aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_configuration_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-09 10:05:42 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-09 10:05:42 +0000
commit2032baa561c7fefbe2605f5d6b979a295a61637d (patch)
tree2c2a2f1c92940a51ccb565c8fdc1b381a68d8bb4 /src/include/gnunet_configuration_lib.h
parent0f6f7fdb0ee4172951f8cb1431d2e457a4b83716 (diff)
downloadgnunet-2032baa561c7fefbe2605f5d6b979a295a61637d.tar.gz
gnunet-2032baa561c7fefbe2605f5d6b979a295a61637d.zip
migrating towards XDG configuration specification (#3000)
Diffstat (limited to 'src/include/gnunet_configuration_lib.h')
-rw-r--r--src/include/gnunet_configuration_lib.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/include/gnunet_configuration_lib.h b/src/include/gnunet_configuration_lib.h
index 08cf1558a..6d0c04dbb 100644
--- a/src/include/gnunet_configuration_lib.h
+++ b/src/include/gnunet_configuration_lib.h
@@ -415,8 +415,13 @@ GNUNET_CONFIGURATION_get_value_yesno (const struct GNUNET_CONFIGURATION_Handle
415 415
416/** 416/**
417 * Expand an expression of the form "$FOO/BAR" to "DIRECTORY/BAR" 417 * Expand an expression of the form "$FOO/BAR" to "DIRECTORY/BAR"
418 * where either in the "PATHS" section or the environtment 418 * where either in the "PATHS" section or the environtment "FOO" is
419 * "FOO" is set to "DIRECTORY". 419 * set to "DIRECTORY". We also support default expansion,
420 * i.e. ${VARIABLE:-default} will expand to $VARIABLE if VARIABLE is
421 * set in PATHS or the environment, and otherwise to "default". Note
422 * that "default" itself can also be a $-expression, thus
423 * "${VAR1:-{$VAR2}}" will expand to VAR1 and if that is not defined
424 * to VAR2.
420 * 425 *
421 * @param cfg configuration to use for path expansion 426 * @param cfg configuration to use for path expansion
422 * @param orig string to $-expand (will be freed!) 427 * @param orig string to $-expand (will be freed!)