Added logic for remove NSProvider.
authorKIM JungYong <jyong2.kim@samsung.com>
Fri, 22 Jul 2016 02:19:01 +0000 (11:19 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 22 Jul 2016 08:18:42 +0000 (08:18 +0000)
commita8ae4f8ef81e7940c7ee4347777bb666cc17a4ea
tree182f64dec883ea1b2b90c59e19ba3a75f05cd194
parent11f7477d4e41d5515d683a8ae0930232a15d5904
Added logic for remove NSProvider.

When subscribe cancel API called by user,
information of target provider need to be removed in storage.

NSProvider is removed when user call subscribe cancel API.

Conflicts:
        service/notification/src/consumer/NSConsumerCommunication.c

Change-Id: I480f2253d3eb52af62bab01235ba5cb2888fda8a
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9493
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/notification/examples/linux/notificationconsumer.c
service/notification/include/NSCommon.h
service/notification/src/common/NSStructs.h
service/notification/src/common/NSUtil.c
service/notification/src/consumer/NSConsumerCommon.c
service/notification/src/consumer/NSConsumerCommon.h
service/notification/src/consumer/NSConsumerCommunication.c
service/notification/src/consumer/NSConsumerInterface.c
service/notification/src/consumer/NSConsumerInternalTaskController.c
service/notification/src/consumer/NSConsumerScheduler.c
service/notification/src/consumer/cache/linux/NSConsumerMemoryCache.c