Note OCRDDatabaseGetStorageFilename was previously an internal API.
However to allow the RD lib to locate it, it is now exported.
Bug: https://jira.iotivity.org/browse/IOT-1815
Change-Id: I40c579c7e14024257b343737833664df858aa8e5
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17227
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
const OCClientResponse *response);
#endif
-#if defined(RD_SERVER)
-/**
- * Returns the filename to be used for database persistent storage.
- *
- * @return the filename
- */
-const char *OCRDDatabaseGetStorageFilename();
-#endif
-
/**
* Delete all of the dynamically allocated elements that were created for the resource attributes.
*
OCStackResult OCRDDatabaseSetStorageFilename(const char *filename);
/**
+ * Returns the filename to be used for database persistent storage.
+ *
+ * @return the filename
+ */
+const char *OCRDDatabaseGetStorageFilename();
+
+/**
* Search the RD database for queries.
*
* @param interfaceType is the interface type that is queried.
OCPayloadDestroy
OCPresencePayloadCreate
OCProcess
+OCRDDatabaseDiscoveryPayloadCreate
+OCRDDatabaseGetStorageFilename
+OCRDDatabaseSetStorageFilename
OCRegisterPersistentStorageHandler
OCRepPayloadAddInterface
OCRepPayloadAddResourceType