Add userInfo field in NSProviderInfo Struct.
authorjaesick.shin <jaesick.shin@samsung.com>
Thu, 4 Aug 2016 08:23:22 +0000 (17:23 +0900)
committerMadan Lanka <lanka.madan@samsung.com>
Fri, 5 Aug 2016 05:03:30 +0000 (05:03 +0000)
This commit enables the UserInfo concept in notification provider
in which contains application layer information for filtering.
If application start notification provider with UserInfo set,
Notification provider could send the notification to the consumer which
has the same UserInfo, otherwise, set as NULL value, the provider operates
as before.

Change-Id: I5eb114cd615dabed6a63e1b0099e6c3306f77b2d
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10017
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
service/notification/src/common/NSStructs.h

index 80c6706..752f173 100644 (file)
@@ -105,6 +105,7 @@ typedef struct
 {\r
     char providerId[37];\r
     char * providerName;\r
+    char * userInfo;\r
 } NSProviderInfo;\r
 \r
 #endif /* _NS_STRUCTS_H_ */\r