[strongSwan] Parsing strongswan.conf in starter

Martin Willi martin at strongswan.org
Mon May 12 14:45:47 CEST 2014


Hi Noel,

> I want to use a configurable option in strongswan.conf, for which I
> need to parse the file. I already searched for the correct library to
> do that, but could not find it.

Any tool (including starter) building upon libstrongswan automatically
can make use of strongswan.conf options. The file is parsed during
library_init(), and options can be queried using the
lib->settings->get_* functions provided by the settings_t class.

Regards
Martin



More information about the Users mailing list