Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 » MobiLink - Client Administration » SQL Anywhere clients for MobiLink » DBTools interface for dbmlsync


Introduction to DBTools interface for dbmlsync

Database tools (DBTools) is a library you can use to integrate database management, including synchronization, into your applications. All the database management utilities are built on DBTools.

See Database tools interface (DBTools).


The Dbmlsync API is the preferred interface for integrating synchronization into your applications. It provides functionality that is very similar to the DBTools interface and is easier to use.

See Dbmlsync API.

You can use the DBTools interface for dbmlsync to integrate synchronization functionality into your MobiLink synchronization client applications. For example, you can use the interface launch synchronizations and to display dbmlsync output messages in a custom user interface.

The DBTools interface for dbmlsync consists of the following elements that let you configure and run the MobiLink synchronization client:

  • a_sync_db structure   This structure holds settings, corresponding to dbmlsync command line options, that allow you to customize synchronization. This structure also contains pointers to callback functions that receive synchronization and progress information.

    See a_sync_db structure.

  • a_syncpub structure   This structure holds publication or subscription information. You can specify a linked list of publications or subscriptions for synchronization.

    See a_syncpub structure.

  • DBSynchronizeLog function   This function starts the synchronization process. Its only parameter is a pointer to an a_sync_db instance.

    See DBSynchronizeLog function.