From: Joseph Morrow Date: Thu, 21 Aug 2014 21:04:55 +0000 (-0400) Subject: Adding API changes needed for Active Discovery in the TB Stack layer. X-Git-Tag: 1.2.0+RC1~2292 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1698f34326371029095baebeb01af14217114031;p=platform%2Fupstream%2Fiotivity.git Adding API changes needed for Active Discovery in the TB Stack layer. Change-Id: I8c457cccb2bbbfefedc6aa27a89bdc47ad7aa061 --- diff --git a/csdk/stack/include/ocstack.h b/csdk/stack/include/ocstack.h index 1474f7b..f00a1cd 100644 --- a/csdk/stack/include/ocstack.h +++ b/csdk/stack/include/ocstack.h @@ -55,13 +55,14 @@ typedef enum { * Standard RESTful HTTP Methods */ typedef enum { - OC_REST_NOMETHOD = 0, - OC_REST_GET = (1 << 0), // Read - OC_REST_PUT = (1 << 1), // Write - OC_REST_POST = (1 << 2), // Update - OC_REST_DELETE = (1 << 3), // Delete - OC_REST_OBSERVE = (1 << 4), // Register observe request for most up date notifications ONLY. - OC_REST_OBSERVE_ALL = (1 << 5) // Register observe request for all notifications, including stale notifications. + OC_REST_NOMETHOD = 0, + OC_REST_GET = (1 << 0), // Read + OC_REST_PUT = (1 << 1), // Write + OC_REST_POST = (1 << 2), // Update + OC_REST_DELETE = (1 << 3), // Delete + OC_REST_OBSERVE = (1 << 4), // Register observe request for most up date notifications ONLY. + OC_REST_OBSERVE_ALL = (1 << 5), // Register observe request for all notifications, including stale notifications. + OC_REST_PRESENCE = (1 << 6) // Subscribe for all presence notifications of a particular resource. } OCMethod; /**