#define BOOT_CHANNEL ( connection,
res   )     (vortex_xml_rpc_boot_channel_sync(connection, NULL, res, NULL, NULL))

Allows to boot an XML-RPC channel, in a synchronous way, calling to vortex_xml_rpc_boot_channel_sync.

The macro will create an XML-RPC channel under the provided resource (res). The resource value could be null, so the default will be used: "/".

The macro will pass null values for the status and the status message. If it is required to get a complete error reporting you must use: vortex_xml_rpc_boot_channel_sync. Here is an example:

 // create an XML-RPC channel under the resource "/"
 VortexChannel * channel = BOOT_CHANNEL(connection, NULL);

 // check the result 
 if (channel == NULL) {
      printf ("Something have failed..\n");

connection The connection where the XML-RPC channel will be created.
res The resource value or NULL if it fails.
The channel created and already booted or NULL if it fails.