BEGIN_C_DECLS axl_bool vortex_init ( void   ) 

Init vortex library.

You must call to this function to init all vortex library internals, before calling any other function provided by the Vortex Library API.

Here is an example:

 if (!vortex_init ()) {
       // unable to initialize the Vortex Library
       return;
 }

Another issue to keep in mind is that the library uses some data files (mostly DTD) for its function (channel.dtd, sasl.dtd, tls.dtd, xml-rpc-bool.dtd,...).

This files are looked up at some default places according to the platform. If your installation is not able to find those files or you want to configure a new default localtion to be added to the search path use the following:

 // call to add all default paths before calling to vortex_init
 vortex_support_add_search_path("C:\\Program Files\\VortexLibraryW32\\bin");
 
 // init vortex library 
 if (!vortex_init ()) {
     // unable to initialize the Vortex Library
     return;
 }

NOTE: Previous example is assuming you are on a windows platform and you are placing your files at: "c:\Program Files\VortexLibraryW32\bin".