diff options
author | ihuerner <ihuerner@b9707d8c-442e-47db-affb-152dabb2260b> | 2012-11-20 16:15:48 +0000 |
---|---|---|
committer | ihuerner <ihuerner@b9707d8c-442e-47db-affb-152dabb2260b> | 2012-11-20 16:15:48 +0000 |
commit | 395d1211223bee7dd48e0880e8cdb9d03f45244f (patch) | |
tree | 0ec3e3d042ae9f92d6a2a3eea46e00e31b41310f /src/persistence_client_library_access_helper.h | |
parent | 63960e261f58104a772dbebd01e8dc3b64337277 (diff) | |
download | persistence-client-library-395d1211223bee7dd48e0880e8cdb9d03f45244f.tar.gz |
New release 0.2.4, for changes see ChangeLog
Diffstat (limited to 'src/persistence_client_library_access_helper.h')
-rw-r--r-- | src/persistence_client_library_access_helper.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/persistence_client_library_access_helper.h b/src/persistence_client_library_access_helper.h index 864646a..842302b 100644 --- a/src/persistence_client_library_access_helper.h +++ b/src/persistence_client_library_access_helper.h @@ -51,8 +51,7 @@ * @return 1 if shared database and 0 if local database or PersistenceStoragePolicy_LastEntry * when no valid database has been found */ -int get_db_path_and_key(unsigned char ldbid, char* resource_id, unsigned char user_no, unsigned char seat_no, - unsigned int isFile, char dbKey[], char dbPath[], unsigned char cached_resource); +int get_db_path_and_key(PersistenceConfigurationKey_s* dbContext, char* resource_id, unsigned int isFile, char dbKey[], char dbPath[]); @@ -68,11 +67,9 @@ int get_db_path_and_key(unsigned char ldbid, char* resource_id, unsigned char us * @param dbPath the array where the database location path will be stored * @param cached_resource flag to identify if the resource is cached (value 1)or write through (value 0) * - * @return the PersistenceStorage_e - * or a negative value with one of the following errors: EPERS_NOKEY, EPERS_NOKEYDATA or EPERS_NOPRCTABLE + * @return 0 or a negative value with one of the following errors: EPERS_NOKEY, EPERS_NOKEYDATA or EPERS_NOPRCTABLE */ -int get_db_context(unsigned char ldbid, char* resource_id, unsigned char user_no, unsigned char seat_no, - unsigned int isFile, char dbKey[], char dbPath[]); +int get_db_context(PersistenceConfigurationKey_s* dbContext, char* resource_id, unsigned int isFile, char dbKey[], char dbPath[]); |