[strongSwan] interact with strongswan in c++
jacques.monin01 at gmail.com
Mon Jul 20 16:36:11 CEST 2015
Indeed, it seems to be exactly what I am looking for.
However, when I'm trying to compile the example program :
int main(int argc, char *argv)
int ret = 0;
conn = vici_connect(NULL);
// do stuff
ret = errno;
fprintf(stderr, "connecting failed: %s\n", strerror(errno));
I have an error : "fatal error: libvici.h: unknown file". Am I supposed to
edit my own Makefile to compile it ?
2015-07-20 15:05 GMT+02:00 Tobias Brunner <tobias at strongswan.org>:
> Hi Jacques,
> > I wanted to know if there is a way to open, close connection with out
> > using the command "ipsec up connection", "ipsec down connection" but by
> > using an API.
> Please have a look at the VICI interface  and its C API.
>  https://wiki.strongswan.org/projects/strongswan/wiki/Vici
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users