I am trying to build Ipsec tools as a lib that could be linked to a program . The idea is that any program can call "racoon", "setkey" and "racoonctl" as function calls. I am facing some issues as several global variables have the same name across the "Ipsec tools" and there are also some functions (in files for the purpose of parsing) with the same name.
Has anybody tried this before? Any information regarding this will be very helpful.
Thanks in Advance,