Describe return value in doxygen 72/191672/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 19 Oct 2018 10:00:19 +0000 (19:00 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 19 Oct 2018 10:00:27 +0000 (19:00 +0900)
Change-Id: I08cebfda51a777045242659f0828283aee05c161
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
common/autofill_fill_response.c
common/autofill_fill_response_group.c
common/autofill_save_view_info.c
common/autofill_view_info.c
include/autofill.h
include/autofill_common.h
include/autofill_service.h

index 058e196..ba2e626 100644 (file)
@@ -146,7 +146,7 @@ EXPORT_API int autofill_fill_response_foreach_groups(autofill_fill_response_h h,
             break;
     }
 
-    return 0;
+    return AUTOFILL_ERROR_NONE;
 }
 
 EXPORT_API int autofill_fill_response_get_group_count(autofill_fill_response_h h, int *count)
index 34e10ec..924494b 100644 (file)
@@ -129,5 +129,5 @@ EXPORT_API int autofill_fill_response_group_foreach_items(autofill_fill_response
             break;
     }
 
-    return 0;
+    return AUTOFILL_ERROR_NONE;
 }
index 6d71d3f..53fb56c 100644 (file)
@@ -150,5 +150,5 @@ EXPORT_API int autofill_save_view_info_foreach_items(autofill_save_view_info_h h
             break;
     }
 
-    return 0;
+    return AUTOFILL_ERROR_NONE;
 }
index 446c0d3..0da1dc7 100644 (file)
@@ -148,5 +148,5 @@ EXPORT_API int autofill_view_info_foreach_items(autofill_view_info_h h,
             break;
     }
 
-    return 0;
+    return AUTOFILL_ERROR_NONE;
 }
index 1c6695c..b202d47 100644 (file)
@@ -66,12 +66,8 @@ typedef void (*Autofill_Auth_Info_Cb)(autofill_auth_info_h auth_info, void *data
  *
  * @privlevel public
  *
- * @privilege %http://tizen.org/privilege/appmanager.launch \n
- *            %http://tizen.org/privilege/datasharing
- *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
- * @retval #AUTOFILL_ERROR_PERMISSION_DENIED Permission denied
  */
 int autofill_initialize();
 
@@ -100,6 +96,7 @@ int autofill_deinitialize();
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #AUTOFILL_ERROR_PERMISSION_DENIED Permission denied
  */
 int autofill_connect(autofill_connection_status_changed_cb callback, void *user_data);
@@ -116,7 +113,7 @@ int autofill_connect(autofill_connection_status_changed_cb callback, void *user_
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
- * @retval #AUTOFILL_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #AUTOFILL_ERROR_NOT_INITIALIZED Not initialized
  */
 int autofill_disconnect();
 
@@ -144,6 +141,7 @@ int autofill_auth_info_request(autofill_view_info_h vi);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NOT_INITIALIZED Not initialized
  */
 int autofill_auth_info_set_callback(Autofill_Auth_Info_Cb autofill_auth_info_cb, void *data);
 
index a8ffd29..c64e4c1 100644 (file)
@@ -69,6 +69,8 @@ typedef struct autofill_save_view_info_s *autofill_save_view_info_h;
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
  */
 int autofill_item_create(autofill_item_h *it);
 
@@ -81,6 +83,7 @@ int autofill_item_create(autofill_item_h *it);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_destroy(autofill_item_h it);
 
@@ -93,6 +96,7 @@ int autofill_item_destroy(autofill_item_h it);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_clone(autofill_item_h h, autofill_item_h *clone);
 
@@ -105,6 +109,7 @@ int autofill_item_clone(autofill_item_h h, autofill_item_h *clone);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_set_autofill_hint(autofill_item_h it, autofill_hint_e hints);
 
@@ -117,6 +122,7 @@ int autofill_item_set_autofill_hint(autofill_item_h it, autofill_hint_e hints);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_get_autofill_hint(autofill_item_h it, autofill_hint_e *hints);
 
@@ -129,6 +135,7 @@ int autofill_item_get_autofill_hint(autofill_item_h it, autofill_hint_e *hints);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_set_id(autofill_item_h it, const char *id);
 
@@ -141,6 +148,7 @@ int autofill_item_set_id(autofill_item_h it, const char *id);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_get_id(autofill_item_h it, char **id);
 
@@ -153,6 +161,7 @@ int autofill_item_get_id(autofill_item_h it, char **id);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_set_label(autofill_item_h it, const char *label);
 
@@ -165,6 +174,7 @@ int autofill_item_set_label(autofill_item_h it, const char *label);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_get_label(autofill_item_h it, char **label);
 
@@ -177,6 +187,7 @@ int autofill_item_get_label(autofill_item_h it, char **label);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_set_sensitive_data(autofill_item_h it, bool sensitive);
 
@@ -189,6 +200,7 @@ int autofill_item_set_sensitive_data(autofill_item_h it, bool sensitive);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_get_sensitive_data(autofill_item_h it, bool *sensitive);
 
@@ -201,6 +213,7 @@ int autofill_item_get_sensitive_data(autofill_item_h it, bool *sensitive);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_set_value(autofill_item_h it, const char *value);
 
@@ -213,6 +226,7 @@ int autofill_item_set_value(autofill_item_h it, const char *value);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_item_get_value(autofill_item_h it, char **value);
 
@@ -227,6 +241,8 @@ int autofill_item_get_value(autofill_item_h it, char **value);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
  */
 int autofill_auth_info_create(autofill_auth_info_h *vi);
 
@@ -239,6 +255,7 @@ int autofill_auth_info_create(autofill_auth_info_h *vi);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_destroy(autofill_auth_info_h vi);
 
@@ -251,6 +268,7 @@ int autofill_auth_info_destroy(autofill_auth_info_h vi);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_set_app_id(autofill_auth_info_h vi, const char *app_id);
 
@@ -263,6 +281,7 @@ int autofill_auth_info_set_app_id(autofill_auth_info_h vi, const char *app_id);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_get_app_id(autofill_auth_info_h vi, char **app_id);
 
@@ -275,6 +294,7 @@ int autofill_auth_info_get_app_id(autofill_auth_info_h vi, char **app_id);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_set_view_id(autofill_auth_info_h vi, const char *view_id);
 
@@ -287,6 +307,7 @@ int autofill_auth_info_set_view_id(autofill_auth_info_h vi, const char *view_id)
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_get_view_id(autofill_auth_info_h vi, char **view_id);
 
@@ -299,6 +320,7 @@ int autofill_auth_info_get_view_id(autofill_auth_info_h vi, char **view_id);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_set_exist_autofill_data(autofill_auth_info_h vi, bool exist_autofill_data);
 
@@ -311,6 +333,7 @@ int autofill_auth_info_set_exist_autofill_data(autofill_auth_info_h vi, bool exi
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_get_exist_autofill_data(autofill_auth_info_h vi, bool *exist_autofill_data);
 
@@ -323,6 +346,7 @@ int autofill_auth_info_get_exist_autofill_data(autofill_auth_info_h vi, bool *ex
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_set_need_authentication(autofill_auth_info_h vi, bool need_authentication);
 
@@ -335,6 +359,7 @@ int autofill_auth_info_set_need_authentication(autofill_auth_info_h vi, bool nee
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_get_need_authentication(autofill_auth_info_h vi, bool *need_authentication);
 
@@ -347,6 +372,7 @@ int autofill_auth_info_get_need_authentication(autofill_auth_info_h vi, bool *ne
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_set_service_name(autofill_auth_info_h vi, const char *service_name);
 
@@ -359,6 +385,7 @@ int autofill_auth_info_set_service_name(autofill_auth_info_h vi, const char *ser
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_get_service_name(autofill_auth_info_h vi, char **service_name);
 
@@ -371,6 +398,7 @@ int autofill_auth_info_get_service_name(autofill_auth_info_h vi, char **service_
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_set_service_message(autofill_auth_info_h vi, const char *service_message);
 
@@ -383,6 +411,7 @@ int autofill_auth_info_set_service_message(autofill_auth_info_h vi, const char *
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_get_service_message(autofill_auth_info_h vi, char **service_message);
 
@@ -395,6 +424,7 @@ int autofill_auth_info_get_service_message(autofill_auth_info_h vi, char **servi
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_set_service_logo_image_path(autofill_auth_info_h vi, const char *service_logo_image_path);
 
@@ -407,6 +437,7 @@ int autofill_auth_info_set_service_logo_image_path(autofill_auth_info_h vi, cons
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_auth_info_get_service_logo_image_path(autofill_auth_info_h vi, char **service_logo_image_path);
 
@@ -420,6 +451,8 @@ int autofill_auth_info_get_service_logo_image_path(autofill_auth_info_h vi, char
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
  */
 int autofill_view_info_create(autofill_view_info_h *vi);
 
@@ -432,6 +465,7 @@ int autofill_view_info_create(autofill_view_info_h *vi);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_view_info_destroy(autofill_view_info_h vi);
 
@@ -444,6 +478,7 @@ int autofill_view_info_destroy(autofill_view_info_h vi);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_view_info_set_app_id(autofill_view_info_h vi, const char *app_id);
 
@@ -456,6 +491,7 @@ int autofill_view_info_set_app_id(autofill_view_info_h vi, const char *app_id);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_view_info_get_app_id(const autofill_view_info_h vi, char **app_id);
 
@@ -468,6 +504,7 @@ int autofill_view_info_get_app_id(const autofill_view_info_h vi, char **app_id);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_view_info_set_view_id(autofill_view_info_h vi, const char *view_id);
 
@@ -480,6 +517,7 @@ int autofill_view_info_set_view_id(autofill_view_info_h vi, const char *view_id)
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_view_info_get_view_id(autofill_view_info_h vi, char **view_id);
 
@@ -492,9 +530,21 @@ int autofill_view_info_get_view_id(autofill_view_info_h vi, char **view_id);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_view_info_add_item(const autofill_view_info_h vi, autofill_item_h it);
 
+/**
+ * @brief Retrieve all items in view info
+ *
+ * @since_tizen 5.5
+ *
+ * @privlevel public
+ *
+ * @return 0 on success, otherwise a negative error value
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
+ */
 int autofill_view_info_foreach_items(autofill_view_info_h h, bool (*callback)(autofill_item_h item, void *user_data), void *user_data);
 
 // save view info
@@ -506,7 +556,9 @@ int autofill_view_info_foreach_items(autofill_view_info_h h, bool (*callback)(au
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
  */
 int autofill_save_view_info_create(autofill_save_view_info_h *vi);
 
@@ -518,7 +570,8 @@ int autofill_save_view_info_create(autofill_save_view_info_h *vi);
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_view_info_destroy(autofill_save_view_info_h vi);
 
@@ -530,7 +583,8 @@ int autofill_save_view_info_destroy(autofill_save_view_info_h vi);
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_view_info_set_app_id(autofill_save_view_info_h vi, const char *app_id);
 
@@ -542,7 +596,8 @@ int autofill_save_view_info_set_app_id(autofill_save_view_info_h vi, const char
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_view_info_get_app_id(const autofill_save_view_info_h vi, char **app_id);
 
@@ -554,7 +609,8 @@ int autofill_save_view_info_get_app_id(const autofill_save_view_info_h vi, char
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_view_info_set_view_id(autofill_save_view_info_h vi, const char *view_id);
 
@@ -566,7 +622,8 @@ int autofill_save_view_info_set_view_id(autofill_save_view_info_h vi, const char
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_view_info_get_view_id(autofill_save_view_info_h vi, char **view_id);
 
@@ -578,10 +635,22 @@ int autofill_save_view_info_get_view_id(autofill_save_view_info_h vi, char **vie
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_view_info_add_item(const autofill_save_view_info_h vi, autofill_save_item_h it);
 
+/**
+ * @brief Retrieve all items in save view info
+ *
+ * @since_tizen 5.5
+ *
+ * @privlevel public
+ *
+ * @return 0 on success, otherwise a negative error value
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
+ */
 int autofill_save_view_info_foreach_items(autofill_save_view_info_h h, bool (*callback)(autofill_save_item_h item, void *user_data), void *user_data);
 
 // fill response
@@ -594,6 +663,7 @@ int autofill_save_view_info_foreach_items(autofill_save_view_info_h h, bool (*ca
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_create(autofill_fill_response_h *h);
 
@@ -606,6 +676,7 @@ int autofill_fill_response_create(autofill_fill_response_h *h);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_destroy(autofill_fill_response_h h);
 
@@ -618,6 +689,7 @@ int autofill_fill_response_destroy(autofill_fill_response_h h);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_set_app_id(autofill_fill_response_h h, const char *app_id);
 
@@ -630,6 +702,7 @@ int autofill_fill_response_set_app_id(autofill_fill_response_h h, const char *ap
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_get_app_id(autofill_fill_response_h h, char **app_id);
 
@@ -642,6 +715,7 @@ int autofill_fill_response_get_app_id(autofill_fill_response_h h, char **app_id)
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_set_view_id(autofill_fill_response_h h, const char *view_id);
 
@@ -654,6 +728,7 @@ int autofill_fill_response_set_view_id(autofill_fill_response_h h, const char *v
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_get_view_id(autofill_fill_response_h h, char **view_id);
 
@@ -758,8 +833,8 @@ int autofill_fill_response_group_add_item(autofill_fill_response_group_h h, auto
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_group_foreach_items(autofill_fill_response_group_h h, bool (*callback)(autofill_fill_response_item_h item, void *user_data), void *user_data);
 
@@ -773,6 +848,8 @@ int autofill_fill_response_group_foreach_items(autofill_fill_response_group_h h,
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
  */
 int autofill_fill_response_item_create(autofill_fill_response_item_h *it);
 
@@ -785,6 +862,7 @@ int autofill_fill_response_item_create(autofill_fill_response_item_h *it);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_item_destroy(autofill_fill_response_item_h it);
 
@@ -797,6 +875,7 @@ int autofill_fill_response_item_destroy(autofill_fill_response_item_h it);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_item_clone(autofill_fill_response_item_h h, autofill_fill_response_item_h *clone);
 
@@ -809,6 +888,7 @@ int autofill_fill_response_item_clone(autofill_fill_response_item_h h, autofill_
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_item_set_id(autofill_fill_response_item_h it, const char *id);
 
@@ -821,6 +901,7 @@ int autofill_fill_response_item_set_id(autofill_fill_response_item_h it, const c
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_item_get_id(autofill_fill_response_item_h it, char **id);
 
@@ -833,6 +914,7 @@ int autofill_fill_response_item_get_id(autofill_fill_response_item_h it, char **
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_item_set_value(autofill_fill_response_item_h it, const char *value);
 
@@ -845,6 +927,7 @@ int autofill_fill_response_item_set_value(autofill_fill_response_item_h it, cons
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_item_get_value(autofill_fill_response_item_h it, char **value);
 
@@ -857,6 +940,7 @@ int autofill_fill_response_item_get_value(autofill_fill_response_item_h it, char
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_item_set_presentation_text(autofill_fill_response_item_h it, const char *presentation_text);
 
@@ -869,6 +953,7 @@ int autofill_fill_response_item_set_presentation_text(autofill_fill_response_ite
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_fill_response_item_get_presentation_text(autofill_fill_response_item_h it, char ** presentation_text);
 
@@ -881,7 +966,8 @@ int autofill_fill_response_item_get_presentation_text(autofill_fill_response_ite
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_create(autofill_save_item_h *it);
 
@@ -893,7 +979,8 @@ int autofill_save_item_create(autofill_save_item_h *it);
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_destroy(autofill_save_item_h it);
 
@@ -905,7 +992,8 @@ int autofill_save_item_destroy(autofill_save_item_h it);
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_clone(autofill_save_item_h h, autofill_save_item_h *clone);
 
@@ -917,7 +1005,8 @@ int autofill_save_item_clone(autofill_save_item_h h, autofill_save_item_h *clone
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_set_autofill_hint(autofill_save_item_h it, autofill_hint_e hint);
 
@@ -929,7 +1018,8 @@ int autofill_save_item_set_autofill_hint(autofill_save_item_h it, autofill_hint_
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_get_autofill_hint(autofill_save_item_h it, autofill_hint_e *hint);
 
@@ -941,7 +1031,8 @@ int autofill_save_item_get_autofill_hint(autofill_save_item_h it, autofill_hint_
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_set_id(autofill_save_item_h it, const char *id);
 
@@ -953,7 +1044,8 @@ int autofill_save_item_set_id(autofill_save_item_h it, const char *id);
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_get_id(autofill_save_item_h it, char **id);
 
@@ -965,7 +1057,8 @@ int autofill_save_item_get_id(autofill_save_item_h it, char **id);
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_set_label(autofill_save_item_h it, const char *label);
 
@@ -977,7 +1070,8 @@ int autofill_save_item_set_label(autofill_save_item_h it, const char *label);
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_get_label(autofill_save_item_h it, char **label);
 
@@ -989,7 +1083,8 @@ int autofill_save_item_get_label(autofill_save_item_h it, char **label);
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_set_sensitive_data(autofill_save_item_h it, bool sensitive);
 
@@ -1001,7 +1096,8 @@ int autofill_save_item_set_sensitive_data(autofill_save_item_h it, bool sensitiv
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_get_sensitive_data(autofill_save_item_h it, bool *sensitive);
 
@@ -1013,7 +1109,8 @@ int autofill_save_item_get_sensitive_data(autofill_save_item_h it, bool *sensiti
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_set_value(autofill_save_item_h it, const char *value);
 
@@ -1025,7 +1122,8 @@ int autofill_save_item_set_value(autofill_save_item_h it, const char *value);
  * @privlevel public
  *
  * @return 0 on success, otherwise a negative error value
- * @retval #IME_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_save_item_get_value(autofill_save_item_h it, char **value);
 
index 2a3910f..e5b4979 100644 (file)
@@ -100,6 +100,7 @@ int autofill_service_set_auth_info_request_cb(autofill_service_auth_info_request
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_service_send_auth_info(autofill_auth_info_h h);
 
@@ -125,6 +126,7 @@ int autofill_service_set_fill_request_cb(autofill_service_fill_request_cb callba
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #AUTOFILL_ERROR_NONE No error
+ * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
  */
 int autofill_service_send_fill_response(autofill_fill_response_h h);