Changeset 3509
- Timestamp:
- 08/06/08 08:49:04 (4 months ago)
- Location:
- plugins/syncml/src
- Files:
-
- 5 modified
-
syncml-obex-client (modified) (2 diffs)
-
syncml_callbacks.c (modified) (3 diffs)
-
syncml_common.c (modified) (3 diffs)
-
syncml_common.h (modified) (1 diff)
-
syncml_ds_client.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/syncml/src/syncml-obex-client
r3491 r3509 144 144 145 145 <!-- To be filed by UI or hand: 146 <Res sources>147 <Res source>146 <Resources> 147 <Resource> 148 148 <Enabled>1</Enabled> 149 149 <Formats> … … 154 154 <Name>Contacts</Name> 155 155 <ObjType>contact</ObjType> 156 </Res source>157 </Res sources>156 </Resource> 157 </Resources> 158 158 159 159 --> -
plugins/syncml/src/syncml_callbacks.c
r3435 r3509 364 364 365 365 /* store device info */ 366 /* 366 367 if (database->env->devinf_path) 367 368 { … … 371 372 set_capabilities(database->env, &error); 372 373 } 374 */ 373 375 374 376 /* set callbacks if the DsSession was not ready before */ … … 626 628 { 627 629 osync_trace(TRACE_ENTRY, "%s(%p, %i, %s, %p, %i, %s, %p, %p)", __func__, dsession, type, uid, data, size, contenttype, userdata, error); 628 SmlDatabase *database = (SmlDatabase *)userdata; 629 OSyncError *oerror = NULL; 630 /* SmlDatabase *database = (SmlDatabase *)userdata; */ 630 631 631 632 /* This should be the second OMA DS session of an OMA DS -
plugins/syncml/src/syncml_common.c
r3496 r3509 238 238 } 239 239 240 SmlDatabase *syncml_config_parse_database(SmlPluginEnv *env, OSyncPluginRes source *res, OSyncError **error)240 SmlDatabase *syncml_config_parse_database(SmlPluginEnv *env, OSyncPluginResource *res, OSyncError **error) 241 241 { 242 242 osync_trace(TRACE_ENTRY, "%s(%p, %p, %p)", __func__, env, res, error); … … 252 252 database->syncContexts = NULL; 253 253 254 database->url = osync_plugin_res source_get_name(res);254 database->url = osync_plugin_resource_get_name(res); 255 255 if (!database->url) { 256 256 osync_error_set(error, OSYNC_ERROR_GENERIC, "Database name not set"); … … 258 258 } 259 259 260 database->objtype = osync_plugin_res source_get_objtype(res);260 database->objtype = osync_plugin_resource_get_objtype(res); 261 261 if (!database->objtype) { 262 262 osync_error_set(error, OSYNC_ERROR_GENERIC, "\"objtype\" of a database not set"); -
plugins/syncml/src/syncml_common.h
r3496 r3509 205 205 SmlDatabase *syncml_config_parse_database( 206 206 SmlPluginEnv *env, 207 OSyncPluginRes source *res,207 OSyncPluginResource *res, 208 208 OSyncError **error); 209 209 -
plugins/syncml/src/syncml_ds_client.c
r3499 r3509 21 21 functions.batch_commit = ds_client_batch_commit; 22 22 23 OSyncPluginRes source *res = osync_plugin_config_find_active_ressource(config, objtype);23 OSyncPluginResource *res = osync_plugin_config_find_active_resource(config, objtype); 24 24 if (!(database = syncml_config_parse_database(env, res, error))) 25 25 goto error;
