aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/settings.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved settings_t to utils folderTobias Brunner2012-10-241-1227/+0
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+1
|
* Don't require STRONGSWAN_CONF to be defined.Tobias Brunner2012-08-081-2/+9
|
* Fix file descriptor leak on errorThomas Jarosch2011-08-291-0/+1
| | | | | | Credit goes to cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
* Revert alloc_str changesMartin Willi2011-04-211-16/+0
| | | | | | This reverts commit fdead26ffe1da8501a6ff5e0639a6f44c723e763. This reverts commit 3e2419ebe32de72d824864eb2e0e677a7c197af1. This reverts commit 17ce69b47a1efd6234960cf7d1f50712aee61db5.
* If key not found, strdup default value, tooMartin Willi2011-04-211-6/+2
|
* Added a thread save, allocating settings get_str variant called alloc_strMartin Willi2011-04-211-0/+20
|
* Accept NULL files in load_files[_section] as we do in constructorMartin Willi2011-04-151-5/+5
|
* Added a merge option to optionally reload files instead of merging themMartin Willi2011-04-151-6/+21
|
* Make availability of glob(3) optional in settings_t.Tobias Brunner2011-03-221-21/+34
| | | | | If glob(3) is not available just try to open the pattern as regular file. The reason for this change is that glob(3) is not available on Android.
* Make sure that files included in settings_t are regular files.Tobias Brunner2011-03-221-1/+20
|
* Added a null-safe strdup variantMartin Willi2011-01-051-1/+1
|
* Added functions to modify/create settings in settings_t.Tobias Brunner2010-12-031-20/+117
|
* Added an option to create non-existing key/value pairs during search.Tobias Brunner2010-12-031-18/+55
|
* Compare shorter "boolean" values first.Tobias Brunner2010-12-031-6/+6
|
* Helper functions added to easily convert enumerated values.Tobias Brunner2010-12-031-18/+51
|
* Ensure that sections exist when using load_files_section.Tobias Brunner2010-12-031-9/+38
|
* Skip values and sections without key.Tobias Brunner2010-12-031-0/+12
|
* Some refactorings in lookup code in settings_t.Tobias Brunner2010-12-031-82/+62
|
* Made settings_t thread-safe.Tobias Brunner2010-12-031-17/+40
|
* Added functions to settings_t to load files dynamically at runtime.Tobias Brunner2010-12-031-28/+124
|
* Allow inclusion of other files in strongswan.conf.Tobias Brunner2010-12-031-7/+144
|
* Loading of strongswan.conf refactored to a separate function.Tobias Brunner2010-12-031-28/+47
|
* Allow to replace/extend previously defined values/sections in strongswan.conf.Tobias Brunner2010-12-031-9/+50
|
* Don't create a section in parse_section.Tobias Brunner2010-12-031-15/+26
| | | | Just add subsections and values to the passed section.
* Removed unused static variable "lev".Tobias Brunner2010-12-031-3/+0
|
* Migrated settings_t to INIT/METHOD macrosAndreas Steffen2010-12-021-46/+28
|
* Fixed settings lookup if the section/key contains dots, second tryMartin Willi2010-08-091-22/+106
|
* The va_list trick does not seem to be portable, revert dots-in-section fix4.4.1Martin Willi2010-07-301-58/+22
| | | | This reverts commit 8f50d06c354cd31fc295afc5598afff4096b5e77.
* Fixed settings lookup if the section/key contains dotsMartin Willi2010-07-291-22/+58
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-061-3/+3
|
* The parsed timeval is unsigned.Tobias Brunner2010-03-031-2/+2
|
* Fixing some includes by replacing <> with "".Tobias Brunner2010-03-021-2/+2
| | | | I changed only the includes needed to fix the build on Android, which has an utils.h system header file, but we should probably change all the local includes in libstrongswan to "" and relative paths.
* Added a "double" getter to libstrongswan settingsMartin Willi2010-01-111-0/+25
|
* Support enumeration of key/value pairs in a section of strongswan.confMartin Willi2009-11-171-0/+34
|
* pass NULL to library_init() to load settings from default fileMartin Willi2009-09-101-32/+32
|
* remove spaces before tabs at the beginning of lines (^( )+\t)Martin Willi2009-09-041-2/+2
|
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-25/+25
|
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* moved strcaseeq() macro from constants.h to utils.hAndreas Steffen2009-04-171-8/+8
|
* pluto uses the libstrongswan leak detective and a stripped-down version of ↵Andreas Steffen2009-04-161-0/+1
| | | | library_t
* settings section enumerationMartin Willi2008-11-071-16/+104
| | | | printf style key lookup
* time values in strongswan.conf can be optionally specified in days (d), ↵Andreas Steffen2008-09-041-3/+40
| | | | hours (h), minutes (m), or seconds (s)
* fixed "enabled" value key wordMartin Willi2008-06-101-1/+3
| | | | more debugging for settings parser
* added an error message when strongswan.conf cannot be readTobias Brunner2008-05-191-0/+1
|
* merged the modularization branch (credentials) back to trunkMartin Willi2008-03-131-0/+408