axl_bool vortex_listener_parse_conf_and_start ( VortexCtx ctx)

Support function for Vortex Library listeners, that reads a xml file that contains listener information and starts the listener.

The file the function will try to find is conf.xml. It will lookup for all paths configured through:

Here is an example for a configuration file:

1 <vortex-listener>
2  <listener>
3  <hostname>0.0.0.0</hostname>
4  <port>44000</port>
5  </listener>
6 </vortex-listener>
Parameters
ctxThe context where the operation will be performed.
Returns
axl_true if the listener was started because the file was read successfully otherwise axl_false is returned.

References vortex_listener_new(), and vortex_support_find_data_file().

Referenced by vortex_xml_rpc_listener_parse_conf_and_start_listeners().