From: jaesick.shin Date: Thu, 4 Aug 2016 08:23:22 +0000 (+0900) Subject: Add userInfo field in NSProviderInfo Struct. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24540b3508808be912a721854c96a4e4f3253072;p=contrib%2Fiotivity.git Add userInfo field in NSProviderInfo Struct. 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 Reviewed-on: https://gerrit.iotivity.org/gerrit/10017 Tested-by: jenkins-iotivity Reviewed-by: Madan Lanka --- diff --git a/service/notification/src/common/NSStructs.h b/service/notification/src/common/NSStructs.h index 80c6706..752f173 100644 --- a/service/notification/src/common/NSStructs.h +++ b/service/notification/src/common/NSStructs.h @@ -105,6 +105,7 @@ typedef struct { char providerId[37]; char * providerName; + char * userInfo; } NSProviderInfo; #endif /* _NS_STRUCTS_H_ */