From: William R. Dieter Date: Thu, 23 Apr 2015 20:41:26 +0000 (-0400) Subject: Updated formatting of comments for better Doxygen output X-Git-Tag: 1.2.0+RC1~1772 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67b295d7905fa13d8f62bd59b2d8b6924b8542c4;p=platform%2Fupstream%2Fiotivity.git Updated formatting of comments for better Doxygen output Converted some end of line comments on enums and structs in the public API from "//" to "///<" so that the comments will show up in Doxygen API docs. Added a few comments where I figured out what the elements were. Change-Id: I8cad63757b0a8a1f0c0f98dbee5f8e5febf5e3a4 Signed-off-by: William R. Dieter Reviewed-on: https://gerrit.iotivity.org/gerrit/866 Tested-by: jenkins-iotivity Reviewed-by: Patrick Lankswert --- diff --git a/resource/csdk/stack/include/ocstack.h b/resource/csdk/stack/include/ocstack.h index 4e632f5..b269843 100644 --- a/resource/csdk/stack/include/ocstack.h +++ b/resource/csdk/stack/include/ocstack.h @@ -63,8 +63,8 @@ extern "C" { */ typedef struct OCDevAddr { - uint32_t size; // length of the address stored in addr field. - uint8_t addr[DEV_ADDR_SIZE_MAX]; // device address. + uint32_t size; ///< length of the address stored in addr field. + uint8_t addr[DEV_ADDR_SIZE_MAX]; ///< device address. } OCDevAddr; /** @@ -72,13 +72,13 @@ typedef struct OCDevAddr */ typedef enum { - OC_WELL_KNOWN_URI= 0, // "/oc/core" - OC_DEVICE_URI, // "/oc/core/d" - OC_RESOURCE_TYPES_URI, // "/oc/core/d/type" + OC_WELL_KNOWN_URI= 0, ///< "/oc/core" + OC_DEVICE_URI, ///< "/oc/core/d" + OC_RESOURCE_TYPES_URI, ///< "/oc/core/d/type" #ifdef WITH_PRESENCE - OC_PRESENCE, // "/oc/presence" + OC_PRESENCE, ///< "/oc/presence" #endif - OC_MAX_VIRTUAL_RESOURCES // Max items in the list + OC_MAX_VIRTUAL_RESOURCES ///