summaryrefslogtreecommitdiff
path: root/inc/protected/persComDbAccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/protected/persComDbAccess.h')
-rw-r--r--inc/protected/persComDbAccess.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/inc/protected/persComDbAccess.h b/inc/protected/persComDbAccess.h
index 0a169fd..2b79640 100644
--- a/inc/protected/persComDbAccess.h
+++ b/inc/protected/persComDbAccess.h
@@ -44,14 +44,21 @@ extern "C"
*/
/* maximum data size for a key type resourceID */
#define PERS_DB_MAX_LENGTH_KEY_NAME 128 /**< Max. length of the key identifier */
-#define PERS_DB_MAX_SIZE_KEY_DATA 16384 /**< Max. size of the key entry (slot definition) */
-/** \} */
+#define PERS_DB_MAX_SIZE_KEY_DATA 8028 /**< Max. size of the key entry (slot definition) */
+/** \} */
/** \defgroup PERS_DB_ACCESS_FUNCTIONS Functions
* \{
*/
+ /**
+ * \brief returns the max DB key data size
+ *
+ * \return the size
+ */
+int persComDbgetMaxKeyValueSize(void);
+
/**
* \brief Obtain a handler to DB indicated by dbPathname