mm_sync_connect()

Connect to mm-sync and obtain a handle

Synopsis:

#include <mmsync/mmsyncclient.h>
mmsync_hdl_t* mm_sync_connect(const char *filename,
                              uint32_t flags)

Arguments:

filename
The path to the mm-sync device name.
flags
Reserved for future use, must be 0.

Library:

mmsyncclient

Description:

Connect to mm-sync and obtain a handle. The filename argument must contain the path of the device used for synchronizations. The default device is /dev/mmsync, but the path you provide to this function must match what you gave in the command line to start the mm-sync service.

Returns:

An mm-sync connection handle on success, NULL on failure.