void vortex_support_add_search_path ( const char *  path  ) 

Allows to add new search path to be used by vortex_support_find_data_file.

This function allows to configure how Vortex Library lookups files. This is important to locate dtd file definitions, SSL certificates and so on.

You can also use this API to install and configure application level files that will be used by your profile implementation.

Once a path is added, vortex_support_find_data_file function will lookup on the provided paths.

 // add all search paths (maybe from an user interface)
 vortex_support_add_search_path ("/my/path/to/local/data");
 vortex_support_add_search_path ("/my/alternative/path");

 ...

 // write you file location code in an abstract manner so it could be
 // used on every platform easily.
 char  * my_data_def = vortex_support_find_data_file ("my_data.def");

 // NOTE that the file to lookup doesn't have any references to
 // local paths

The function will add the search path using "default" as domain. If you want to configure a more especific domain use vortex_support_add_domain_search_path.

Parameters:
path A new path to be added. The function will perform a copy for the given path