Changeset 3509

Show
Ignore:
Timestamp:
08/06/08 08:49:04 (4 months ago)
Author:
dgollub
Message:

Resource API renaming related build fixes.

Location:
plugins/syncml/src
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • plugins/syncml/src/syncml-obex-client

    r3491 r3509  
    144144 
    145145    <!-- To be filed by UI or hand: 
    146   <Ressources> 
    147     <Ressource> 
     146  <Resources> 
     147    <Resource> 
    148148     <Enabled>1</Enabled> 
    149149     <Formats> 
     
    154154     <Name>Contacts</Name> 
    155155     <ObjType>contact</ObjType> 
    156     </Ressource> 
    157   </Ressources> 
     156    </Resource> 
     157  </Resources> 
    158158 
    159159    --> 
  • plugins/syncml/src/syncml_callbacks.c

    r3435 r3509  
    364364 
    365365        /* store device info */ 
     366        /* 
    366367        if (database->env->devinf_path) 
    367368        { 
     
    371372                        set_capabilities(database->env, &error); 
    372373        } 
     374        */ 
    373375 
    374376        /* set callbacks if the DsSession was not ready before */ 
     
    626628{ 
    627629        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; */ 
    630631 
    631632        /* This should be the second OMA DS session of an OMA DS 
  • plugins/syncml/src/syncml_common.c

    r3496 r3509  
    238238} 
    239239 
    240 SmlDatabase *syncml_config_parse_database(SmlPluginEnv *env, OSyncPluginRessource *res, OSyncError **error) 
     240SmlDatabase *syncml_config_parse_database(SmlPluginEnv *env, OSyncPluginResource *res, OSyncError **error) 
    241241{ 
    242242        osync_trace(TRACE_ENTRY, "%s(%p, %p, %p)", __func__, env, res, error); 
     
    252252        database->syncContexts = NULL; 
    253253 
    254         database->url = osync_plugin_ressource_get_name(res); 
     254        database->url = osync_plugin_resource_get_name(res); 
    255255        if (!database->url) { 
    256256                osync_error_set(error, OSYNC_ERROR_GENERIC, "Database name not set"); 
     
    258258        } 
    259259 
    260         database->objtype = osync_plugin_ressource_get_objtype(res); 
     260        database->objtype = osync_plugin_resource_get_objtype(res); 
    261261        if (!database->objtype) { 
    262262                osync_error_set(error, OSYNC_ERROR_GENERIC, "\"objtype\" of a database not set"); 
  • plugins/syncml/src/syncml_common.h

    r3496 r3509  
    205205SmlDatabase *syncml_config_parse_database( 
    206206                        SmlPluginEnv *env, 
    207                         OSyncPluginRessource *res, 
     207                        OSyncPluginResource *res, 
    208208                        OSyncError **error); 
    209209 
  • plugins/syncml/src/syncml_ds_client.c

    r3499 r3509  
    2121                functions.batch_commit = ds_client_batch_commit; 
    2222 
    23                 OSyncPluginRessource *res = osync_plugin_config_find_active_ressource(config, objtype); 
     23                OSyncPluginResource *res = osync_plugin_config_find_active_resource(config, objtype); 
    2424                if (!(database = syncml_config_parse_database(env, res, error))) 
    2525                        goto error;