Imported Upstream version 1.1.0
[platform/upstream/iotivity.git] / service / resource-directory / include / rd_server.h
index 69877d8..f662739 100644 (file)
@@ -50,13 +50,14 @@ OCStackResult OCRDStop();
  *
  * @param interfaceType a interface type that is being queried.
  * @param resourceType a resource type that is being queried.
- * @param payload A payload of the maching resource type or interface type or NULL. 
+ * @param payload A payload of the matching resource type or interface type or NULL.
+ * @param addr A device address.
  *
  * @return ::OC_STACK_OK upon success, ::OC_STACK_ERROR is returned except
  * the case that OC_STACK_SUCCESS is returned.
  */
 OCStackResult OCRDCheckPublishedResource(const char *interfaceType, const char *resourceType,
-        OCResourceCollectionPayload **payload);
+        OCResourceCollectionPayload **payload, OCDevAddr *addr);
 
 #ifdef __cplusplus
 }