[IOT-1815] Add missing OCRDDatabase functions to .def.
authorTodd Malsbary <todd.malsbary@intel.com>
Mon, 13 Feb 2017 18:28:54 +0000 (10:28 -0800)
committerHabib Virji <habib.virji@samsung.com>
Mon, 13 Feb 2017 20:30:37 +0000 (20:30 +0000)
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>
resource/csdk/stack/include/internal/ocstackinternal.h
resource/csdk/stack/include/ocstack.h
resource/csdk/stack/octbstack_product.def

index cb8e4d5..31769b1 100644 (file)
@@ -332,15 +332,6 @@ OCStackResult OCUpdateResourceInsWithResponse(const char *requestUri,
                                               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.
  *
index f82ffe5..977db43 100644 (file)
@@ -734,6 +734,13 @@ OCResourceHandle OCGetResourceHandleAtUri(const char *uri);
 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.
index f1a0831..ab93409 100644 (file)
@@ -78,6 +78,9 @@ OCNotifyListOfObservers
 OCPayloadDestroy
 OCPresencePayloadCreate
 OCProcess
+OCRDDatabaseDiscoveryPayloadCreate
+OCRDDatabaseGetStorageFilename
+OCRDDatabaseSetStorageFilename
 OCRegisterPersistentStorageHandler
 OCRepPayloadAddInterface
 OCRepPayloadAddResourceType