aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/settings/settings.c
Commit message (Collapse)AuthorAgeFilesLines
* settings: Make loading a NULL or empty pattern a (nop-)successMartin Willi2014-09-221-1/+1
|
* settings: Allow spaces in time settings before the optional unitMartin Willi2014-07-071-0/+5
|
* settings: Be more strict in converting settings to specific data typesMartin Willi2014-07-071-5/+15
| | | | | | | As the behavior was inconsistent for empty strings or strings with characters appended to a number, testing the code failed on some platforms. The new rules are more strict, returning the default if additional characters or an empty string was found for a setting.
* settings: strongswan.conf must be loaded explicitlyTobias Brunner2014-05-151-6/+2
|
* settings: Only purge sections if necessaryTobias Brunner2014-05-151-40/+1
| | | | | Instead of removing and caching all values of a previous config, we only do this for actually removed sections/settings.
* settings: Maintain order of sections and settings while enumeratingTobias Brunner2014-05-151-5/+11
|
* settings: Don't overwrite values in-placeTobias Brunner2014-05-151-20/+1
| | | | | | | This is not thread safe. If threads are reading from pointers to existing values they could get a partially updated invalid value. Refactored assignment to a separate function.
* settings: Add functions to add sections and key/value pairs to a sectionTobias Brunner2014-05-151-6/+3
|
* settings: Don't enumerate key/value pairs with NULL valueTobias Brunner2014-05-151-1/+1
|
* settings: Use generated parser instead of our ownTobias Brunner2014-05-151-566/+53
|
* settings: Use glob enumerator to load included filesTobias Brunner2014-05-151-32/+13
|
* settings: Move to a separate folderTobias Brunner2014-05-151-0/+1520