00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _OPENSYNC_SERIALIZER_INTERNALS_H_
00022 #define _OPENSYNC_SERIALIZER_INTERNALS_H_
00023
00031
00032 osync_bool osync_marshal_data(OSyncMessage *message, OSyncData *data, OSyncError **error);
00033 osync_bool osync_demarshal_data(OSyncMessage *message, OSyncData **data, OSyncFormatEnv *env, OSyncError **error);
00034
00035 osync_bool osync_marshal_change(OSyncMessage *message, OSyncChange *change, OSyncError **error);
00036 osync_bool osync_demarshal_change(OSyncMessage *message, OSyncChange **change, OSyncFormatEnv *env, OSyncError **error);
00037
00038 void osync_marshal_error(OSyncMessage *message, OSyncError *error);
00039 void osync_demarshal_error(OSyncMessage *message, OSyncError **error);
00040
00041 osync_bool osync_marshal_objformat_sink(OSyncMessage *message, OSyncObjFormatSink *sink, OSyncError **error);
00042 osync_bool osync_demarshal_objformat_sink(OSyncMessage *message, OSyncObjFormatSink **sink, OSyncError **error);
00043
00044 osync_bool osync_marshal_objtype_sink(OSyncMessage *message, OSyncObjTypeSink *sink, OSyncError **error);
00045 osync_bool osync_demarshal_objtype_sink(OSyncMessage *message, OSyncObjTypeSink **sink, OSyncError **error);
00046
00047 OSYNC_TEST_EXPORT osync_bool osync_marshal_pluginconfig(OSyncMessage *message, OSyncPluginConfig *config, OSyncError **error);
00048 OSYNC_TEST_EXPORT osync_bool osync_demarshal_pluginconfig(OSyncMessage *message, OSyncPluginConfig **config, OSyncError **error);
00049
00050 osync_bool osync_marshal_pluginresource(OSyncMessage *message, OSyncPluginResource *res, OSyncError **error);
00051 osync_bool osync_demarshal_pluginresource(OSyncMessage *message, OSyncPluginResource **res, OSyncError **error);
00052
00055 #endif