From: Jihoon Kim Date: Fri, 19 Oct 2018 10:45:46 +0000 (+0900) Subject: Describe API documentation X-Git-Tag: submit/tizen/20181101.014111~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec14362da5a69985af2f36aeb8d15d6dee4bb90b;p=platform%2Fcore%2Fuifw%2Fautofill.git Describe API documentation Change-Id: I68785bfa4bc088ebed415ebb393e4cf3a4dbdd3f Signed-off-by: Jihoon Kim --- diff --git a/common/autofill_auth_info.c b/common/autofill_auth_info.c index 74cf38a..80ae5eb 100644 --- a/common/autofill_auth_info.c +++ b/common/autofill_auth_info.c @@ -39,199 +39,199 @@ struct autofill_auth_info_s { char *service_message; // 표기 메시지 (ex> samsung pass로 로그인) }; -EXPORT_API int autofill_auth_info_create(autofill_auth_info_h *vi) +EXPORT_API int autofill_auth_info_create(autofill_auth_info_h *ai) { - if (!vi) + if (!ai) return AUTOFILL_ERROR_INVALID_PARAMETER; struct autofill_auth_info_s *vs = (autofill_auth_info_h)calloc(1, sizeof(struct autofill_auth_info_s)); if (!vs) return AUTOFILL_ERROR_OUT_OF_MEMORY; - *vi = (autofill_auth_info_h)vs; + *ai = (autofill_auth_info_h)vs; return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_destroy(autofill_auth_info_h vi) +EXPORT_API int autofill_auth_info_destroy(autofill_auth_info_h ai) { - if (!vi) + if (!ai) return AUTOFILL_ERROR_INVALID_PARAMETER; - if (vi->app_id) - free(vi->app_id); + if (ai->app_id) + free(ai->app_id); - if (vi->service_name) - free(vi->service_name); + if (ai->service_name) + free(ai->service_name); - if (vi->service_message) - free(vi->service_message); + if (ai->service_message) + free(ai->service_message); - if (vi->service_logo_image_path) - free(vi->service_logo_image_path); + if (ai->service_logo_image_path) + free(ai->service_logo_image_path); - free(vi); + free(ai); return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_set_exist_autofill_data(autofill_auth_info_h vi, bool exist_autofill_data) +EXPORT_API int autofill_auth_info_set_exist_autofill_data(autofill_auth_info_h ai, bool exist_autofill_data) { - if (!vi) + if (!ai) return AUTOFILL_ERROR_INVALID_PARAMETER; - vi->exist_autofill_data = exist_autofill_data; + ai->exist_autofill_data = exist_autofill_data; return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_get_exist_autofill_data(autofill_auth_info_h vi, bool *exist_autofill_data) +EXPORT_API int autofill_auth_info_get_exist_autofill_data(autofill_auth_info_h ai, bool *exist_autofill_data) { - if (!vi || !exist_autofill_data) + if (!ai || !exist_autofill_data) return AUTOFILL_ERROR_INVALID_PARAMETER; - *exist_autofill_data = vi->exist_autofill_data; + *exist_autofill_data = ai->exist_autofill_data; return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_set_need_authentication(autofill_auth_info_h vi, bool need_authentication) +EXPORT_API int autofill_auth_info_set_need_authentication(autofill_auth_info_h ai, bool need_authentication) { - if (!vi) + if (!ai) return AUTOFILL_ERROR_INVALID_PARAMETER; - vi->need_authentication = need_authentication; + ai->need_authentication = need_authentication; return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_get_need_authentication(autofill_auth_info_h vi, bool *need_authentication) +EXPORT_API int autofill_auth_info_get_need_authentication(autofill_auth_info_h ai, bool *need_authentication) { - if (!vi || !need_authentication) + if (!ai || !need_authentication) return AUTOFILL_ERROR_INVALID_PARAMETER; - *need_authentication = vi->need_authentication; + *need_authentication = ai->need_authentication; return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_set_service_name(autofill_auth_info_h vi, const char *service_name) +EXPORT_API int autofill_auth_info_set_service_name(autofill_auth_info_h ai, const char *service_name) { - if (!vi || !service_name) + if (!ai || !service_name) return AUTOFILL_ERROR_INVALID_PARAMETER; - if (vi->service_name) - free(vi->service_name); + if (ai->service_name) + free(ai->service_name); - vi->service_name = strdup(service_name); + ai->service_name = strdup(service_name); return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_get_service_name(autofill_auth_info_h vi, char **service_name) +EXPORT_API int autofill_auth_info_get_service_name(autofill_auth_info_h ai, char **service_name) { - if (!vi || !service_name) + if (!ai || !service_name) return AUTOFILL_ERROR_INVALID_PARAMETER; - *service_name = strdup(vi->service_name); + *service_name = strdup(ai->service_name); return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_set_service_message(autofill_auth_info_h vi, const char *service_message) +EXPORT_API int autofill_auth_info_set_service_message(autofill_auth_info_h ai, const char *service_message) { - if (!vi || !service_message) + if (!ai || !service_message) return AUTOFILL_ERROR_INVALID_PARAMETER; - if (vi->service_message) - free(vi->service_message); + if (ai->service_message) + free(ai->service_message); - vi->service_message = strdup(service_message); + ai->service_message = strdup(service_message); return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_get_service_message(autofill_auth_info_h vi, char **service_message) +EXPORT_API int autofill_auth_info_get_service_message(autofill_auth_info_h ai, char **service_message) { - if (!vi || !service_message) + if (!ai || !service_message) return AUTOFILL_ERROR_INVALID_PARAMETER; - *service_message = strdup(vi->service_message); + *service_message = strdup(ai->service_message); return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_set_service_logo_image_path(autofill_auth_info_h vi, const char *service_logo_image_path) +EXPORT_API int autofill_auth_info_set_service_logo_image_path(autofill_auth_info_h ai, const char *service_logo_image_path) { - if (!vi || !service_logo_image_path) + if (!ai || !service_logo_image_path) return AUTOFILL_ERROR_INVALID_PARAMETER; - if (vi->service_logo_image_path) - free(vi->service_logo_image_path); + if (ai->service_logo_image_path) + free(ai->service_logo_image_path); - vi->service_logo_image_path = strdup(service_logo_image_path); + ai->service_logo_image_path = strdup(service_logo_image_path); return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_get_service_logo_image_path(autofill_auth_info_h vi, char **service_logo_image_path) +EXPORT_API int autofill_auth_info_get_service_logo_image_path(autofill_auth_info_h ai, char **service_logo_image_path) { - if (!vi || !service_logo_image_path) + if (!ai || !service_logo_image_path) return AUTOFILL_ERROR_INVALID_PARAMETER; - *service_logo_image_path = strdup(vi->service_logo_image_path); + *service_logo_image_path = strdup(ai->service_logo_image_path); return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_set_app_id(autofill_auth_info_h vi, const char *app_id) +EXPORT_API int autofill_auth_info_set_app_id(autofill_auth_info_h ai, const char *app_id) { - if (!vi || !app_id) + if (!ai || !app_id) return AUTOFILL_ERROR_INVALID_PARAMETER; - if (vi->app_id) - free(vi->app_id); + if (ai->app_id) + free(ai->app_id); - vi->app_id = strdup(app_id); + ai->app_id = strdup(app_id); return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_get_app_id(autofill_auth_info_h vi, char **app_id) +EXPORT_API int autofill_auth_info_get_app_id(autofill_auth_info_h ai, char **app_id) { - if (!vi) + if (!ai) return AUTOFILL_ERROR_INVALID_PARAMETER; - if (!vi->app_id) + if (!ai->app_id) return AUTOFILL_ERROR_OPERATION_FAILED; - *app_id = strdup(vi->app_id); + *app_id = strdup(ai->app_id); return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_set_view_id(autofill_auth_info_h vi, const char *view_id) +EXPORT_API int autofill_auth_info_set_view_id(autofill_auth_info_h ai, const char *view_id) { - if (!vi || !view_id) + if (!ai || !view_id) return AUTOFILL_ERROR_INVALID_PARAMETER; - if (vi->view_id) - free(vi->view_id); + if (ai->view_id) + free(ai->view_id); - vi->view_id = strdup(view_id); + ai->view_id = strdup(view_id); return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_auth_info_get_view_id(autofill_auth_info_h vi, char **view_id) +EXPORT_API int autofill_auth_info_get_view_id(autofill_auth_info_h ai, char **view_id) { - if (!vi) + if (!ai) return AUTOFILL_ERROR_INVALID_PARAMETER; - if (!vi->view_id) + if (!ai->view_id) return AUTOFILL_ERROR_OPERATION_FAILED; - *view_id = strdup(vi->view_id); + *view_id = strdup(ai->view_id); return AUTOFILL_ERROR_NONE; } diff --git a/common/autofill_fill_response_item.c b/common/autofill_fill_response_item.c old mode 100644 new mode 100755 index 93ace5d..604717a --- a/common/autofill_fill_response_item.c +++ b/common/autofill_fill_response_item.c @@ -66,11 +66,11 @@ EXPORT_API int autofill_fill_response_item_destroy(autofill_fill_response_item_h return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_fill_response_item_clone(autofill_fill_response_item_h h, autofill_fill_response_item_h *clone) +EXPORT_API int autofill_fill_response_item_clone(autofill_fill_response_item_h it, autofill_fill_response_item_h *clone) { autofill_fill_response_item_h handle; - if (!h || !clone) { + if (!it || !clone) { LOGW("Invalid parameter"); return AUTOFILL_ERROR_INVALID_PARAMETER; } @@ -81,28 +81,28 @@ EXPORT_API int autofill_fill_response_item_clone(autofill_fill_response_item_h h return AUTOFILL_ERROR_OPERATION_FAILED; } - if (h->id) { - handle->id = strdup(h->id); + if (it->id) { + handle->id = strdup(it->id); if (!handle->id) { - LOGW("Failed to duplicate h->id"); + LOGW("Failed to duplicate it->id"); autofill_fill_response_item_destroy(handle); return AUTOFILL_ERROR_OUT_OF_MEMORY; } } - if (h->presentation_text) { - handle->presentation_text = strdup(h->presentation_text); + if (it->presentation_text) { + handle->presentation_text = strdup(it->presentation_text); if (!handle->presentation_text) { - LOGW("Failed to duplicate h->presentation_text"); + LOGW("Failed to duplicate it->presentation_text"); autofill_fill_response_item_destroy(handle); return AUTOFILL_ERROR_OUT_OF_MEMORY; } } - if (h->value) { - handle->value = strdup(h->value); + if (it->value) { + handle->value = strdup(it->value); if (!handle->value) { - LOGW("Failed to duplicate h->value"); + LOGW("Failed to duplicate it->value"); autofill_fill_response_item_destroy(handle); return AUTOFILL_ERROR_OUT_OF_MEMORY; } diff --git a/common/autofill_item.c b/common/autofill_item.c index f271d6d..e43c3ae 100644 --- a/common/autofill_item.c +++ b/common/autofill_item.c @@ -121,22 +121,22 @@ EXPORT_API int autofill_item_clone(autofill_item_h h, autofill_item_h *clone) return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_item_set_autofill_hint(autofill_item_h it, autofill_hint_e hints) +EXPORT_API int autofill_item_set_autofill_hint(autofill_item_h it, autofill_hint_e hint) { if (!it) return AUTOFILL_ERROR_INVALID_PARAMETER; - it->autofill_hint = hints; + it->autofill_hint = hint; return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_item_get_autofill_hint(autofill_item_h it, autofill_hint_e *hints) +EXPORT_API int autofill_item_get_autofill_hint(autofill_item_h it, autofill_hint_e *hint) { - if (!it || !hints) + if (!it || !hint) return AUTOFILL_ERROR_INVALID_PARAMETER; - *hints = it->autofill_hint; + *hint = it->autofill_hint; return AUTOFILL_ERROR_NONE; } diff --git a/common/autofill_save_item.c b/common/autofill_save_item.c old mode 100644 new mode 100755 index 46b8e14..381421a --- a/common/autofill_save_item.c +++ b/common/autofill_save_item.c @@ -70,11 +70,11 @@ EXPORT_API int autofill_save_item_destroy(autofill_save_item_h it) return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_save_item_clone(autofill_save_item_h h, autofill_save_item_h *clone) +EXPORT_API int autofill_save_item_clone(autofill_save_item_h it, autofill_save_item_h *clone) { autofill_save_item_h handle; - if (!h || !clone) { + if (!it || !clone) { LOGW("Invalid parameter"); return AUTOFILL_ERROR_INVALID_PARAMETER; } @@ -85,35 +85,35 @@ EXPORT_API int autofill_save_item_clone(autofill_save_item_h h, autofill_save_it return AUTOFILL_ERROR_OPERATION_FAILED; } - if (h->id) { - handle->id = strdup(h->id); + if (it->id) { + handle->id = strdup(it->id); if (!handle->id) { - LOGW("Failed to duplicate h->id"); + LOGW("Failed to duplicate it->id"); autofill_save_item_destroy(handle); return AUTOFILL_ERROR_OUT_OF_MEMORY; } } - if (h->label) { - handle->label = strdup(h->label); + if (it->label) { + handle->label = strdup(it->label); if (!handle->label) { - LOGW("Failed to duplicate h->label"); + LOGW("Failed to duplicate it->label"); autofill_save_item_destroy(handle); return AUTOFILL_ERROR_OUT_OF_MEMORY; } } - if (h->value) { - handle->value = strdup(h->value); + if (it->value) { + handle->value = strdup(it->value); if (!handle->value) { - LOGW("Failed to duplicate h->value"); + LOGW("Failed to duplicate it->value"); autofill_save_item_destroy(handle); return AUTOFILL_ERROR_OUT_OF_MEMORY; } } - handle->autofill_hint = h->autofill_hint; - handle->is_sensitive_data = h->is_sensitive_data; + handle->autofill_hint = it->autofill_hint; + handle->is_sensitive_data = it->is_sensitive_data; *clone = handle; diff --git a/common/autofill_save_view_info.c b/common/autofill_save_view_info.c old mode 100644 new mode 100755 index 53fb56c..4be0ff9 --- a/common/autofill_save_view_info.c +++ b/common/autofill_save_view_info.c @@ -134,16 +134,16 @@ EXPORT_API int autofill_save_view_info_add_item(const autofill_save_view_info_h return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_save_view_info_foreach_items(autofill_save_view_info_h h, +EXPORT_API int autofill_save_view_info_foreach_items(autofill_save_view_info_h vi, bool (*callback)(autofill_save_item_h item, void *user_data), void *user_data) { - if (!h || !callback) { + if (!vi || !callback) { return AUTOFILL_ERROR_INVALID_PARAMETER; } Eina_List *l; autofill_save_item_h it; - EINA_LIST_FOREACH(h->autofill_save_item_list, l, it) + EINA_LIST_FOREACH(vi->autofill_save_item_list, l, it) { bool ret = callback(it, user_data); if (!ret) diff --git a/common/autofill_view_info.c b/common/autofill_view_info.c old mode 100644 new mode 100755 index 0da1dc7..cbb1e55 --- a/common/autofill_view_info.c +++ b/common/autofill_view_info.c @@ -132,16 +132,16 @@ EXPORT_API int autofill_view_info_add_item(const autofill_view_info_h vi, autofi return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_view_info_foreach_items(autofill_view_info_h h, +EXPORT_API int autofill_view_info_foreach_items(autofill_view_info_h vi, bool (*callback)(autofill_item_h item, void *user_data), void *user_data) { - if (!h || !callback) { + if (!vi || !callback) { return AUTOFILL_ERROR_INVALID_PARAMETER; } Eina_List *l; autofill_item_h it; - EINA_LIST_FOREACH(h->autofill_item_list, l, it) + EINA_LIST_FOREACH(vi->autofill_item_list, l, it) { bool ret = callback(it, user_data); if (!ret) diff --git a/include/autofill.h b/include/autofill.h index b202d47..3b4647c 100644 --- a/include/autofill.h +++ b/include/autofill.h @@ -141,7 +141,6 @@ 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); diff --git a/include/autofill_common.h b/include/autofill_common.h old mode 100644 new mode 100755 index c64e4c1..77b9f2c --- a/include/autofill_common.h +++ b/include/autofill_common.h @@ -67,6 +67,7 @@ typedef struct autofill_save_view_info_s *autofill_save_view_info_h; * * @privlevel public * + * @param[out] it The autofill item handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -81,6 +82,7 @@ int autofill_item_create(autofill_item_h *it); * * @privlevel public * + * @param[in] it The autofill item handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -94,6 +96,8 @@ int autofill_item_destroy(autofill_item_h it); * * @privlevel public * + * @param[in] it The autofill item handle + * @param[out] clone The autofill item handle to be cloned * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -107,11 +111,13 @@ int autofill_item_clone(autofill_item_h h, autofill_item_h *clone); * * @privlevel public * + * @param[in] it The autofill item handle + * @param[in] hint The autofill hint * @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); +int autofill_item_set_autofill_hint(autofill_item_h it, autofill_hint_e hint); /** * @brief Get autofill hint @@ -120,11 +126,13 @@ int autofill_item_set_autofill_hint(autofill_item_h it, autofill_hint_e hints); * * @privlevel public * + * @param[in] it The autofill item handle + * @param[out] hint The autofill hint * @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); +int autofill_item_get_autofill_hint(autofill_item_h it, autofill_hint_e *hint); /** * @brief Set autofill ID @@ -133,6 +141,8 @@ int autofill_item_get_autofill_hint(autofill_item_h it, autofill_hint_e *hints); * * @privlevel public * + * @param[in] it The autofill item handle + * @param[in] id The autofill ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -146,6 +156,8 @@ int autofill_item_set_id(autofill_item_h it, const char *id); * * @privlevel public * + * @param[in] it The autofill item handle + * @param[out] id The autofill ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -159,6 +171,8 @@ int autofill_item_get_id(autofill_item_h it, char **id); * * @privlevel public * + * @param[in] it The autofill item handle + * @param[in] label The autofill label * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -172,6 +186,8 @@ int autofill_item_set_label(autofill_item_h it, const char *label); * * @privlevel public * + * @param[in] it The autofill item handle + * @param[out] label The autofill label * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -185,6 +201,8 @@ int autofill_item_get_label(autofill_item_h it, char **label); * * @privlevel public * + * @param[in] it The autofill item handle + * @param[in] sensitive The sensitive data or not * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -198,6 +216,8 @@ int autofill_item_set_sensitive_data(autofill_item_h it, bool sensitive); * * @privlevel public * + * @param[in] it The autofill item handle + * @param[out] sensitive The sensitive data or not * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -211,6 +231,8 @@ int autofill_item_get_sensitive_data(autofill_item_h it, bool *sensitive); * * @privlevel public * + * @param[in] it The autofill item handle + * @param[in] value The autofill value * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -224,6 +246,8 @@ int autofill_item_set_value(autofill_item_h it, const char *value); * * @privlevel public * + * @param[in] it The autofill item handle + * @param[out] value The autofill value * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -239,12 +263,13 @@ int autofill_item_get_value(autofill_item_h it, char **value); * * @privlevel public * + * @param[out] ai The autofill authentication information handle * @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); +int autofill_auth_info_create(autofill_auth_info_h *ai); /** * @brief Destroy autofill view info @@ -253,11 +278,12 @@ int autofill_auth_info_create(autofill_auth_info_h *vi); * * @privlevel public * + * @param[in] ai The autofill authentication information handle * @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); +int autofill_auth_info_destroy(autofill_auth_info_h ai); /** * @brief Set app id @@ -266,11 +292,13 @@ int autofill_auth_info_destroy(autofill_auth_info_h vi); * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[in] app_id The 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_app_id(autofill_auth_info_h vi, const char *app_id); +int autofill_auth_info_set_app_id(autofill_auth_info_h ai, const char *app_id); /** * @brief Get app id @@ -279,11 +307,13 @@ int autofill_auth_info_set_app_id(autofill_auth_info_h vi, const char *app_id); * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[out] app_id The 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); +int autofill_auth_info_get_app_id(autofill_auth_info_h ai, char **app_id); /** * @brief Set view id @@ -292,11 +322,13 @@ int autofill_auth_info_get_app_id(autofill_auth_info_h vi, char **app_id); * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[in] view_id The 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_view_id(autofill_auth_info_h vi, const char *view_id); +int autofill_auth_info_set_view_id(autofill_auth_info_h ai, const char *view_id); /** * @brief Get view id @@ -305,11 +337,13 @@ int autofill_auth_info_set_view_id(autofill_auth_info_h vi, const char *view_id) * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[in] view_id The 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); +int autofill_auth_info_get_view_id(autofill_auth_info_h ai, char **view_id); /** * @brief Set exist autofill data @@ -318,11 +352,13 @@ int autofill_auth_info_get_view_id(autofill_auth_info_h vi, char **view_id); * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[in] exist_autofill_data The autofill data existence * @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); +int autofill_auth_info_set_exist_autofill_data(autofill_auth_info_h ai, bool exist_autofill_data); /** * @brief Get exist autofill data @@ -331,11 +367,13 @@ int autofill_auth_info_set_exist_autofill_data(autofill_auth_info_h vi, bool exi * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[out] exist_autofill_data The autofill data existence * @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); +int autofill_auth_info_get_exist_autofill_data(autofill_auth_info_h ai, bool *exist_autofill_data); /** * @brief Set need authentication @@ -344,11 +382,13 @@ int autofill_auth_info_get_exist_autofill_data(autofill_auth_info_h vi, bool *ex * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[in] need_authentication The authentication need * @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); +int autofill_auth_info_set_need_authentication(autofill_auth_info_h ai, bool need_authentication); /** * @brief Get need authentication @@ -357,11 +397,13 @@ int autofill_auth_info_set_need_authentication(autofill_auth_info_h vi, bool nee * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[out] need_authentication The authentication need * @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); +int autofill_auth_info_get_need_authentication(autofill_auth_info_h ai, bool *need_authentication); /** * @brief Set service name @@ -370,11 +412,13 @@ int autofill_auth_info_get_need_authentication(autofill_auth_info_h vi, bool *ne * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[in] service_name The autofill service name * @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); +int autofill_auth_info_set_service_name(autofill_auth_info_h ai, const char *service_name); /** * @brief Get service name @@ -383,11 +427,13 @@ int autofill_auth_info_set_service_name(autofill_auth_info_h vi, const char *ser * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[out] service_name The autofill service name * @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); +int autofill_auth_info_get_service_name(autofill_auth_info_h ai, char **service_name); /** * @brief Set service message @@ -396,11 +442,13 @@ int autofill_auth_info_get_service_name(autofill_auth_info_h vi, char **service_ * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[in] service_name The autofill service message * @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); +int autofill_auth_info_set_service_message(autofill_auth_info_h ai, const char *service_message); /** * @brief Get service message @@ -409,11 +457,13 @@ int autofill_auth_info_set_service_message(autofill_auth_info_h vi, const char * * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[out] service_name The autofill service message * @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); +int autofill_auth_info_get_service_message(autofill_auth_info_h ai, char **service_message); /** * @brief Set service logo image path @@ -422,11 +472,13 @@ int autofill_auth_info_get_service_message(autofill_auth_info_h vi, char **servi * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[in] service_logo_image_path The autofill service logo image path * @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); +int autofill_auth_info_set_service_logo_image_path(autofill_auth_info_h ai, const char *service_logo_image_path); /** * @brief Get service logo image path @@ -435,11 +487,13 @@ int autofill_auth_info_set_service_logo_image_path(autofill_auth_info_h vi, cons * * @privlevel public * + * @param[in] ai The autofill authentication information handle + * @param[out] service_logo_image_path The autofill service logo image path * @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); +int autofill_auth_info_get_service_logo_image_path(autofill_auth_info_h ai, char **service_logo_image_path); // view info /** @@ -449,6 +503,7 @@ int autofill_auth_info_get_service_logo_image_path(autofill_auth_info_h vi, char * * @privlevel public * + * @param[out] vi The autofill view info handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -463,6 +518,8 @@ int autofill_view_info_create(autofill_view_info_h *vi); * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[in] app_id The app ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -476,6 +533,8 @@ int autofill_view_info_destroy(autofill_view_info_h vi); * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[in] app_id The app ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -489,6 +548,8 @@ int autofill_view_info_set_app_id(autofill_view_info_h vi, const char *app_id); * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[out] app_id The app ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -502,6 +563,8 @@ int autofill_view_info_get_app_id(const autofill_view_info_h vi, char **app_id); * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[in] view_id The view ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -515,6 +578,8 @@ int autofill_view_info_set_view_id(autofill_view_info_h vi, const char *view_id) * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[out] view_id The view ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -528,6 +593,8 @@ int autofill_view_info_get_view_id(autofill_view_info_h vi, char **view_id); * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[in] it The autofill item handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -541,11 +608,14 @@ int autofill_view_info_add_item(const autofill_view_info_h vi, autofill_item_h i * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[in] callback The callback function to register + * @param[in] user_data The user data to be passed to the callback function * @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); +int autofill_view_info_foreach_items(autofill_view_info_h vi, bool (*callback)(autofill_item_h item, void *user_data), void *user_data); // save view info /** @@ -555,6 +625,7 @@ int autofill_view_info_foreach_items(autofill_view_info_h h, bool (*callback)(au * * @privlevel public * + * @param[out] vi The autofill view info handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -569,6 +640,7 @@ int autofill_save_view_info_create(autofill_save_view_info_h *vi); * * @privlevel public * + * @param[in] vi The autofill view info handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -582,6 +654,8 @@ int autofill_save_view_info_destroy(autofill_save_view_info_h vi); * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[in] app_id The app ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -595,6 +669,8 @@ int autofill_save_view_info_set_app_id(autofill_save_view_info_h vi, const char * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[out] app_id The app ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -608,6 +684,8 @@ int autofill_save_view_info_get_app_id(const autofill_save_view_info_h vi, char * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[in] view_id The view ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -621,6 +699,8 @@ int autofill_save_view_info_set_view_id(autofill_save_view_info_h vi, const char * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[out] app_id The view ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -634,6 +714,8 @@ int autofill_save_view_info_get_view_id(autofill_save_view_info_h vi, char **vie * * @privlevel public * + * @param[in] vi The autofill save view info handle + * @param[in] it The autofill save item handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -647,11 +729,14 @@ int autofill_save_view_info_add_item(const autofill_save_view_info_h vi, autofil * * @privlevel public * + * @param[in] vi The autofill view info handle + * @param[in] callback The callback function to register + * @param[in] user_data The user data to be passed to the callback function * @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); +int autofill_save_view_info_foreach_items(autofill_save_view_info_h vi, bool (*callback)(autofill_save_item_h item, void *user_data), void *user_data); // fill response /** @@ -661,6 +746,7 @@ int autofill_save_view_info_foreach_items(autofill_save_view_info_h h, bool (*ca * * @privlevel public * + * @param[out] h The autofill fill response handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -674,6 +760,7 @@ int autofill_fill_response_create(autofill_fill_response_h *h); * * @privlevel public * + * @param[in] h The autofill fill response handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -687,6 +774,8 @@ int autofill_fill_response_destroy(autofill_fill_response_h h); * * @privlevel public * + * @param[in] h The autofill fill response handle + * @param[in] app_id The app ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -700,6 +789,8 @@ int autofill_fill_response_set_app_id(autofill_fill_response_h h, const char *ap * * @privlevel public * + * @param[in] h The autofill fill response handle + * @param[out] app_id The app ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -713,6 +804,8 @@ int autofill_fill_response_get_app_id(autofill_fill_response_h h, char **app_id) * * @privlevel public * + * @param[in] h The autofill fill response handle + * @param[in] view_id The view ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -726,6 +819,8 @@ int autofill_fill_response_set_view_id(autofill_fill_response_h h, const char *v * * @privlevel public * + * @param[in] h The autofill fill response handle + * @param[out] view_id The view ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -739,6 +834,8 @@ int autofill_fill_response_get_view_id(autofill_fill_response_h h, char **view_i * * @privlevel public * + * @param[in] h The autofill fill response handle + * @param[in] it The autofill fill response group handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -752,6 +849,9 @@ int autofill_fill_response_add_group(autofill_fill_response_h h, autofill_fill_r * * @privlevel public * + * @param[in] h The autofill fill response handle + * @param[in] callback The callback function to register + * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -765,6 +865,8 @@ int autofill_fill_response_foreach_groups(autofill_fill_response_h h, bool (*cal * * @privlevel public * + * @param[in] h The autofill fill response handle + * @param[out] count The number of group * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -778,6 +880,7 @@ int autofill_fill_response_get_group_count(autofill_fill_response_h h, int *coun * * @privlevel public * + * @param[out] h The autofill fill response group handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -792,6 +895,7 @@ int autofill_fill_response_group_create(autofill_fill_response_group_h *h); * * @privlevel public * + * @param[in] h The autofill fill response group handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -805,6 +909,8 @@ int autofill_fill_response_group_destroy(autofill_fill_response_group_h h); * * @privlevel public * + * @param[in] h The autofill fill response group handle + * @param[in] clone The autofill fill response group handle to be cloned * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -818,6 +924,8 @@ int autofill_fill_response_group_clone(autofill_fill_response_group_h h, autofil * * @privlevel public * + * @param[in] h The autofill fill response group handle + * @param[in] it The autofill fill response item handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -832,6 +940,9 @@ int autofill_fill_response_group_add_item(autofill_fill_response_group_h h, auto * * @privlevel public * + * @param[in] h The autofill fill response group handle + * @param[in] callback The callback function to register + * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -846,6 +957,7 @@ int autofill_fill_response_group_foreach_items(autofill_fill_response_group_h h, * * @privlevel public * + * @param[out] it The autofill fill response item handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -860,6 +972,7 @@ int autofill_fill_response_item_create(autofill_fill_response_item_h *it); * * @privlevel public * + * @param[in] it The autofill fill response item handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -873,11 +986,13 @@ int autofill_fill_response_item_destroy(autofill_fill_response_item_h it); * * @privlevel public * + * @param[in] it The autofill fill response item handle + * @param[in] clone The autofill fill response item handle to be cloned * @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); +int autofill_fill_response_item_clone(autofill_fill_response_item_h it, autofill_fill_response_item_h *clone); /** * @brief Set autofill ID @@ -886,6 +1001,8 @@ int autofill_fill_response_item_clone(autofill_fill_response_item_h h, autofill_ * * @privlevel public * + * @param[in] it The autofill fill response item handle + * @param[in] id The autofill fill response item ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -899,6 +1016,8 @@ int autofill_fill_response_item_set_id(autofill_fill_response_item_h it, const c * * @privlevel public * + * @param[in] it The autofill fill response item handle + * @param[out] id The autofill fill response item ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -912,6 +1031,8 @@ int autofill_fill_response_item_get_id(autofill_fill_response_item_h it, char ** * * @privlevel public * + * @param[in] it The autofill fill response item handle + * @param[in] value The autofill fill response item value * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -925,6 +1046,8 @@ int autofill_fill_response_item_set_value(autofill_fill_response_item_h it, cons * * @privlevel public * + * @param[in] it The autofill fill response item handle + * @param[out] value The autofill fill response item value * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -938,6 +1061,8 @@ int autofill_fill_response_item_get_value(autofill_fill_response_item_h it, char * * @privlevel public * + * @param[in] it The autofill fill response item handle + * @param[in] presentation_text The presentation text * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -951,6 +1076,8 @@ int autofill_fill_response_item_set_presentation_text(autofill_fill_response_ite * * @privlevel public * + * @param[in] it The autofill fill response item handle + * @param[out] presentation_text The presentation text * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -965,6 +1092,7 @@ int autofill_fill_response_item_get_presentation_text(autofill_fill_response_ite * * @privlevel public * + * @param[out] it The autofill save item handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -978,6 +1106,7 @@ int autofill_save_item_create(autofill_save_item_h *it); * * @privlevel public * + * @param[in] it The autofill save item handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -991,6 +1120,8 @@ int autofill_save_item_destroy(autofill_save_item_h it); * * @privlevel public * + * @param[in] it The autofill save item handle + * @param[in] clone The autofill save item handle to be cloned * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -1004,6 +1135,8 @@ int autofill_save_item_clone(autofill_save_item_h h, autofill_save_item_h *clone * * @privlevel public * + * @param[in] it The autofill save item handle + * @param[in] hint The autofill hint * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -1017,6 +1150,8 @@ int autofill_save_item_set_autofill_hint(autofill_save_item_h it, autofill_hint_ * * @privlevel public * + * @param[in] it The autofill save item handle + * @param[out] hint The autofill hint * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -1030,6 +1165,8 @@ int autofill_save_item_get_autofill_hint(autofill_save_item_h it, autofill_hint_ * * @privlevel public * + * @param[in] it The autofill save item handle + * @param[in] id The autofill ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -1043,6 +1180,8 @@ int autofill_save_item_set_id(autofill_save_item_h it, const char *id); * * @privlevel public * + * @param[in] it The autofill save item handle + * @param[out] id The autofill ID * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -1056,6 +1195,8 @@ int autofill_save_item_get_id(autofill_save_item_h it, char **id); * * @privlevel public * + * @param[in] it The autofill save item handle + * @param[out] label The autofill label * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -1069,6 +1210,8 @@ int autofill_save_item_set_label(autofill_save_item_h it, const char *label); * * @privlevel public * + * @param[in] it The autofill save item handle + * @param[out] label The autofill label * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -1082,6 +1225,8 @@ int autofill_save_item_get_label(autofill_save_item_h it, char **label); * * @privlevel public * + * @param[in] it The autofill save item handle + * @param[in] sensitive The sensitive data or not * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -1095,6 +1240,8 @@ int autofill_save_item_set_sensitive_data(autofill_save_item_h it, bool sensitiv * * @privlevel public * + * @param[in] it The autofill save item handle + * @param[out] sensitive The sensitive data or not * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -1108,6 +1255,8 @@ int autofill_save_item_get_sensitive_data(autofill_save_item_h it, bool *sensiti * * @privlevel public * + * @param[in] it The autofill save item handle + * @param[in] value The autofill value * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -1121,6 +1270,8 @@ int autofill_save_item_set_value(autofill_save_item_h it, const char *value); * * @privlevel public * + * @param[in] it The autofill save item handle + * @param[out] value The autofill value * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter diff --git a/include/autofill_service.h b/include/autofill_service.h old mode 100644 new mode 100755 index e5b4979..47d7791 --- a/include/autofill_service.h +++ b/include/autofill_service.h @@ -86,6 +86,8 @@ int autofill_service_deinitialize(); * * @privlevel public * + * @param[in] callback The callback function to register + * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error */ @@ -98,6 +100,7 @@ int autofill_service_set_auth_info_request_cb(autofill_service_auth_info_request * * @privlevel public * + * @param[in] h The autofill authentication info handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -112,6 +115,8 @@ int autofill_service_send_auth_info(autofill_auth_info_h h); * * @privlevel public * + * @param[in] callback The callback function to register + * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error */ @@ -124,6 +129,7 @@ int autofill_service_set_fill_request_cb(autofill_service_fill_request_cb callba * * @privlevel public * + * @param[in] h The autofill fill response handle * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter @@ -137,6 +143,8 @@ int autofill_service_send_fill_response(autofill_fill_response_h h); * * @privlevel public * + * @param[in] callback The callback function to register + * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error */