Merge branch 'cloud-interface'
[platform/upstream/iotivity.git] / service / notification / include / NSProviderInterface.h
index ebe6091..dd979f1 100644 (file)
@@ -57,7 +57,7 @@ typedef void (*NSProviderSyncInfoCallback)(NSSyncInfo *);
  * @param[in]  syncCallback   Callback function to register for receiving  sync data\r
  * @return ::NS_OK or result code of NSResult\r
  */\r
-NSResult NSStartProvider(NSAccessPolicy policy, NSSubscribeRequestCallback subscribeRequestCb,\r
+NSResult NSStartProvider(bool policy, NSSubscribeRequestCallback subscribeRequestCb,\r
         NSProviderSyncInfoCallback syncCb);\r
 \r
 /**\r
@@ -93,7 +93,7 @@ NSResult NSSendMessage(NSMessage *msg);
  * @param[in]  accepted  the result of acceptance; Allow or Deny\r
  * @return ::NS_OK or result code of NSResult\r
  */\r
-NSResult NSAccept(NSConsumer *consumer, bool accepted);\r
+NSResult NSAcceptSubscription(NSConsumer *consumer, bool accepted);\r
 \r
 /**\r
  * Get consumer list that is stored in the cache of notification service\r