Apply Tizen coding rule to headers 36/63936/1 accepted/tizen/common/20160329.051120 accepted/tizen/ivi/20160405.010035 accepted/tizen/mobile/20160405.005940 accepted/tizen/tv/20160405.005958 accepted/tizen/wearable/20160405.010016 submit/tizen/20160329.020326
authorYunjin Lee <yunjin-.lee@samsung.com>
Tue, 29 Mar 2016 01:57:50 +0000 (10:57 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Tue, 29 Mar 2016 01:57:50 +0000 (10:57 +0900)
Change-Id: I57a54f16d4e576a0ff2a1b76c56639fa8c1c569e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
doc/privilege-info_doc.h
src/include/privilege_information.h

index 190c9a1..abf4284 100755 (executable)
 /**
  * @ingroup CAPI_SECURITY_FRAMEWORK
  * @defgroup CAPI_SECURITY_FRAMEWORK_PRIVILEGE_INFO_MODULE Privilege Info
- * 
+ *
  *
  * @section CAPI_SECURITY_FRAMEWORK_PRIVILEGE_INFO_MODULE_HEADER Requires Header
  *      \#include <privilege_information.h>
  *
  * @section CAPI_SECURITY_FRAMEWORK_PRIVILEGE_INFO_MODULE_OVERVIEW Overview
- * A library for reading privilege information of the given privilege and API issue version. 
- * It provides the display name or description of privileges
+ * A library for reading privilege information of the given privilege and API issue version.
+ * It provides the display name or description of privileges
  * If there's no matching privilege then it shows last token of given privilege or description string for undefined privileges.
  */
 
index 3b1229d..533f908 100755 (executable)
@@ -32,12 +32,11 @@ extern "C" {
  * @brief Enumerations of error code for Privilege Information.
  * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
  */
-typedef enum
-{
-    PRVINFO_ERROR_NONE                         = TIZEN_ERROR_NONE, /**< Successful */
-    PRVINFO_ERROR_INVALID_PARAMETER            = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid function parameter */
-    PRVINFO_ERROR_OUT_OF_MEMORY                = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
-    PRVINFO_ERROR_INTERNAL_ERROR               = TIZEN_ERROR_UNKNOWN, /**< Unknown error */
+typedef enum {
+       PRVINFO_ERROR_NONE                                               = TIZEN_ERROR_NONE, /**< Successful */
+       PRVINFO_ERROR_INVALID_PARAMETER                 = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid function parameter */
+       PRVINFO_ERROR_OUT_OF_MEMORY                             = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
+       PRVINFO_ERROR_INTERNAL_ERROR                       = TIZEN_ERROR_UNKNOWN, /**< Unknown error */
 } privilege_info_error_e;
 
 
@@ -112,4 +111,4 @@ int privilege_info_get_description_by_pkgtype(const char* package_type, const ch
 }
 #endif
 
-#endif // __TIZEN_SECURITY_PRIVILEGE_INFO_H
+#endif /* __TIZEN_SECURITY_PRIVILEGE_INFO_H */