OpenSync  0.22
Data Fields
OSyncFormatFunctions Struct Reference

The functions for accessing formats on a plugin. More...

#include <opensync_plugin.h>

Data Fields

OSyncFormatCommitFn commit_change
 
OSyncFormatCommittedAllFn committed_all
 
OSyncFormatBatchCommitFn batch_commit
 
OSyncFormatAccessFn access
 
OSyncFormatReadFn read
 

Detailed Description

The functions for accessing formats on a plugin.

Definition at line 62 of file opensync_plugin.h.

Field Documentation

OSyncFormatCommitFn OSyncFormatFunctions::commit_change

The commit function of this format

Definition at line 64 of file opensync_plugin.h.

OSyncFormatCommittedAllFn OSyncFormatFunctions::committed_all

The function that will be called once the plugin has received all commits

Definition at line 66 of file opensync_plugin.h.

Referenced by osync_member_committed_all().

OSyncFormatBatchCommitFn OSyncFormatFunctions::batch_commit

This function will be called by opensync with an array of changes to commit

Definition at line 68 of file opensync_plugin.h.

Referenced by osync_member_committed_all().

OSyncFormatAccessFn OSyncFormatFunctions::access

The function to write a change WITHOUT updating hashtables or similar stuff

Definition at line 70 of file opensync_plugin.h.

OSyncFormatReadFn OSyncFormatFunctions::read

The function to read a change by its uid

Definition at line 72 of file opensync_plugin.h.


The documentation for this struct was generated from the following file: