list_existing_sync


Description:

public virtual bool list_existing_sync (out string out_new_sync_tag, out SList<CalMetaBackendInfo> out_existing_objects, Cancellable? cancellable = null) throws Error

Used to get list of all existing objects on the remote side.

The descendant can optionally provide out_new_sync_tag, which will be stored on success, if not null. The descendant can populate also ECalMetaBackendInfo:ECalMetaBackend:object of the out_existing_objects , if known, in which case this will be used instead of loading it with load_component_sync.

It is mandatory to implement this virtual method by the descendant, unless it implements its own get_changes_sync.

The out_existing_objects SList should be freed with g_slist_free_full (objects, e_cal_meta_backend_info_free); when no longer needed.

Parameters:

this

an CalMetaBackend

out_new_sync_tag

optional return location for a new sync tag

out_existing_objects

a SList of CalMetaBackendInfo object infos which are stored on the remote side

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.