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

Must be 0; reserved for future use

Library:

mmsyncclient

Description:

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

Returns:

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