InfdNotePlugin
typedef struct {
gpointer user_data;
/* The typename of the storage backend this plugin can be used with, such
* as InfdFilesystemStorage. */
const gchar* storage_type;
/* The note type this plugin handles, such as InfText */
const gchar* note_type;
InfSession*(*session_new)(InfIo* io,
InfCommunicationManager* manager,
InfSessionStatus status,
InfCommunicationHostedGroup* sync_group,
InfXmlConnection* sync_connection,
gpointer user_data);
InfSession*(*session_read)(InfdStorage* storage,
InfIo* io,
InfCommunicationManager* manager,
const gchar* path,
gpointer user_data,
GError** error);
gboolean(*session_write)(InfdStorage* storage,
InfSession* session,
const gchar* path,
gpointer user_data,
GError** error);
} InfdNotePlugin;