#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:

1 // create an XML-RPC channel under the resource "/"
2 VortexChannel * channel = BOOT_CHANNEL(connection, NULL);
3 
4 // check the result
5 if (channel == NULL) {
6  printf ("Something have failed..\n");
7 }
Parameters
connectionThe connection where the XML-RPC channel will be created.
resThe resource value or NULL if it fails.
Returns
The channel created and already booted or NULL if it fails.