1 .TH TLSPOOL_CONFIGVAR 3 "August 2016" "ARPA2.net" "Library Calls"
3 tlspool_configvar \- Retrieve a TLS Pool configuration variable value
5 .B #include <tlspool/starttls.h>
7 .B char *tlspool_configvar (char *\fIcfgfile\fB, char *\fIvarname\fB);
10 .BR tlspool_configvar ()
11 fetches the value of a configuration file variable as setup for the
12 TLS Pool. The configuration file can be provided in the
14 or, if it is NULL, then first the environment variable
16 and, failing to find that, it tries the compile-time setting
17 .BR TLSPOOL_DEFAULT_CONFIG_PATH .
20 The value returned is NULL when the requested variable was not
21 found, but also when the configuration file did not load. The
22 error output may hold further hints on the cause of problems.
25 Written by Rick van Rein of OpenFortress.nl, for the ARPA2.net project.
28 For any discussion, including about bugs, please use the mailing list
30 .IR http://lists.arpa2.org/mailman/listinfo/tls-pool .
32 Please read the software distribution's
33 .IR README ", " INSTALL " and " TODO " files"
34 for information about the
36 implementation status.
39 Copyright \(co 2016 Rick van Rein, ARPA2.net.
41 ARPA2 is funded from InternetWide.org, which in turns receives donations
42 from various funding sources with an interest in a private and secure
43 Internet that gives users control over their online presence. This particular
44 project has been sponsored in part by NCSC.
48 The TLS Pool API is documented in the include file
49 .IR <tlspool/commands.h> " and " <tlspool/starttls.h>
54 Online resources may be found on the project home page,
55 .IR http://tlspool.arpa2.net .