From 12209cfaf1c21501c4e81a7a814fffa5aecf0d90 Mon Sep 17 00:00:00 2001 From: Bill Dieter Date: Tue, 5 Apr 2016 00:53:22 +0000 Subject: [PATCH] Added Doxygen comments for OCStackApplicationResult Change-Id: I43d68ac38edc6cdc830ea0ea4daa6df38420e2f3 Signed-off-by: Bill Dieter Reviewed-on: https://gerrit.iotivity.org/gerrit/7621 Tested-by: jenkins-iotivity Reviewed-by: Uze Choi --- resource/csdk/stack/include/octypes.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/resource/csdk/stack/include/octypes.h b/resource/csdk/stack/include/octypes.h index 1eb0525..f64cc9b 100644 --- a/resource/csdk/stack/include/octypes.h +++ b/resource/csdk/stack/include/octypes.h @@ -1351,11 +1351,16 @@ typedef enum } OCEntityHandlerFlag; /** - * Possible returned values from client application. + * Possible return values from client application callback + * + * A client application callback returns an OCStackApplicationResult to indicate whether + * the stack should continue to keep the callback registered. */ typedef enum { + /** Make no more calls to the callback and call the OCClientContextDeleter for this callback */ OC_STACK_DELETE_TRANSACTION = 0, + /** Keep this callback registered and call it if an apropriate event occurs */ OC_STACK_KEEP_TRANSACTION } OCStackApplicationResult; -- 2.7.4