Thanks Andreas!

Is it possible to call some function to get the configuration information of my 
custom plugins?


For example:

myPlugin.conf

myPlugin {

    load = yes
    type = abc
}

I want to be able to do something like getConf("type"), and it returns abc.

Regards
Ke
________________________________
From: Andreas Steffen <[email protected]>
Sent: January 11, 2017 2:30 AM
To: Ke Shang; [email protected]
Subject: Re: [strongSwan-dev] Querying Strongswan to get plugins configuration 
information

Hi Ke,

     ipsec statusall
or
     swanctl --stats

lists all loaded plugins.

Regards

Andreas

On 11.01.2017 05:44, Ke Shang wrote:
> Hi all,
>
>
> I was just wondering if it is possible to query Strongswan at runtime to
> get plugins configuration information.
>
>
> Thanks,
> Ke
>
======================================================================
Andreas Steffen                         [email protected]
strongSwan - the Open Source VPN Solution!          
www.strongswan.org<http://www.strongswan.org>
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)
===========================================================[ITA-HSR]==

_______________________________________________
Dev mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/dev

Reply via email to