From: Brendan Le Foll Date: Thu, 1 May 2014 14:26:39 +0000 (+0100) Subject: add emum doc to maa_result_t X-Git-Tag: v0.2.2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ffe8487d9f54f8f55df65481740d80082675c396;hp=d0ed365e86c24fbd303eb3eadac44c420c5c4794;p=contrib%2Fmraa.git add emum doc to maa_result_t Signed-off-by: Brendan Le Foll --- diff --git a/api/maa.h b/api/maa.h index fe4dd86..902f779 100644 --- a/api/maa.h +++ b/api/maa.h @@ -34,19 +34,22 @@ extern "C" { #endif +/** + * MAA return codes + */ typedef enum { - MAA_SUCCESS = 0, - MAA_ERROR_FEATURE_NOT_IMPLEMENTED = 1, - MAA_ERROR_FEATURE_NOT_SUPPORTED = 2, - MAA_ERROR_INVALID_VERBOSITY_LEVEL = 3, - MAA_ERROR_INVALID_PARAMETER = 4, - MAA_ERROR_INVALID_HANDLE = 5, - MAA_ERROR_NO_RESOURCES = 6, - MAA_ERROR_INVALID_RESOURCE = 7, - MAA_ERROR_INVALID_QUEUE_TYPE = 8, - MAA_ERROR_NO_DATA_AVAILABLE = 9, + MAA_SUCCESS = 0, /**< Expected response */ + MAA_ERROR_FEATURE_NOT_IMPLEMENTED = 1, /**< Feature TODO */ + MAA_ERROR_FEATURE_NOT_SUPPORTED = 2, /**< Feature not supported by HW */ + MAA_ERROR_INVALID_VERBOSITY_LEVEL = 3, /**< Verbosity level wrong */ + MAA_ERROR_INVALID_PARAMETER = 4, /**< Parameter invalid */ + MAA_ERROR_INVALID_HANDLE = 5, /**< Handle invalid */ + MAA_ERROR_NO_RESOURCES = 6, /**< No resource of that type avail */ + MAA_ERROR_INVALID_RESOURCE = 7, /**< Resource invalid */ + MAA_ERROR_INVALID_QUEUE_TYPE = 8, /**< Queue type incorrect */ + MAA_ERROR_NO_DATA_AVAILABLE = 9, /**< No data available */ - MAA_ERROR_UNSPECIFIED = 99 + MAA_ERROR_UNSPECIFIED = 99 /**< Unknown Error */ } maa_result_t; /** Get the version string of maa autogenerated from git tag