UltraLite Embedded SQL User's Guide
Synchronization Parameters Reference
Synchronization parameters
Specifies the publications to be synchronized.
If you do not specify a publication, all data is synchronized.
The UltraLite generator identifies the publications specified on the ulgen -v
command line option as upper case constants with the name UL_PUB_pubname, where pubname is the name given to the -v option.
For example, the following command line generates a publication identified by the constant UL_PUB_SALES:
ulgen -v sales ...
When synchronizing, set the publication parameter to a publication mask: an OR'd list of publication constants. For example:
ul_synch_info info; // ... info.publication = UL_PUB_MYPUB1 | UL_PUB_MYPUB2 ;
The special publication mask UL_SYNC_ALL describes all the tables in the database, whether in a publication or not. The mask UL_SYNC_ALL_PUBS describes all tables in publications in the database.
Designing sets of data to synchronize separately