From: Jaemin Ryu Date: Thu, 3 Sep 2020 06:06:36 +0000 (+0900) Subject: Fix typos X-Git-Tag: submit/tizen/20200910.003745^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_6.0_unified;p=platform%2Fcore%2Fsecurity%2Fdevice-policy-client.git Fix typos Change-Id: I14657150aafd28806212a4bea8ae01123119c44a Signed-off-by: Jaemin Ryu --- diff --git a/libs/dpm/device-policy-manager.h b/libs/dpm/device-policy-manager.h index a75b2e3..7ab8494 100644 --- a/libs/dpm/device-policy-manager.h +++ b/libs/dpm/device-policy-manager.h @@ -39,9 +39,9 @@ extern "C" { * @since_tizen 3.0 * @param[in] name The name of the policy * @param[in] state The current state of the policy - * @param[in] user_data The user data passed from dpm_manager_add_policy_changed_cb - * @see dpm_manager_add_policy_changed_cb() - * @see dpm_manager_remove_policy_changed_cb() + * @param[in] user_data The user data passed from dpm_add_policy_changed_cb + * @see dpm_add_policy_changed_cb() + * @see dpm_remove_policy_changed_cb() */ typedef void (*dpm_policy_changed_cb)(const char* name, const char* state, void *user_data); @@ -150,7 +150,7 @@ int dpm_add_policy_changed_cb(device_policy_manager_h handle, * @retval #DPM_ERROR_INVALID_PARAMETER Invalid parameter * @retval #DPM_ERROR_TIMED_OUT Time out * @pre The handle must be created by dpm_manager_create(). - * @pre The callback identifier must be created by dpm_manager_add_policy_changed_cb(). + * @pre The callback identifier must be created by dpm_add_policy_changed_cb(). * @see dpm_manager_create() * @see dpm_add_policy_changed_cb() */ @@ -160,9 +160,9 @@ int dpm_remove_policy_changed_cb(device_policy_manager_h handle, int id); * @since_tizen 3.0 * @param[in] name The zone name * @param[in] object The object name triggered the signal - * @param[in] user_data The user data passed from dpm_zone_add_signal_cb - * @see dpm_zone_add_signal_cb() - * @see dpm_zone_remove_signal_cb() + * @param[in] user_data The user data passed from dpm_add_signal_cb + * @see dpm_add_signal_cb() + * @see dpm_remove_signal_cb() */ typedef void(*dpm_signal_cb)(const char* name, const char* object, void *user_data); diff --git a/libs/dpm/password.h b/libs/dpm/password.h index acd77e9..76c361b 100644 --- a/libs/dpm/password.h +++ b/libs/dpm/password.h @@ -672,7 +672,7 @@ dpm_password_iterator_h dpm_password_create_iterator(device_policy_manager_h han * @retval #DPM_ERROR_INVALID_PARAMETER Invalid parameter * @retval #DPM_ERROR_TIMED_OUT Time out * @pre The iter must be created by dpm_password_create_iterator(). - * @see dpm_passsword_create_iterator() + * @see dpm_password_create_iterator() * @see dpm_password_destroy_iterator() */ int dpm_password_iterator_next(dpm_password_iterator_h iter, const char **forbidden_string); diff --git a/libs/dpm/restriction.h b/libs/dpm/restriction.h index 6505d9a..5635ff4 100644 --- a/libs/dpm/restriction.h +++ b/libs/dpm/restriction.h @@ -170,7 +170,7 @@ int dpm_restriction_get_location_state(device_policy_manager_h handle, int *is_a * the privilege to call this API * @pre The handle must be created by dpm_manager_create(). * @see dpm_manager_create() - * @see dpm_storage_get_external_storage_state() + * @see dpm_restriction_get_external_storage_state() */ int dpm_restriction_set_external_storage_state(device_policy_manager_h handle, int allow); @@ -187,7 +187,7 @@ int dpm_restriction_set_external_storage_state(device_policy_manager_h handle, i * @retval #DPM_ERROR_INVALID_PARAMETER Invalid parameter * @pre The handle must be created by dpm_manager_create(). * @see dpm_manager_create() - * @see dpm_storage_set_external_storage_state() + * @see dpm_restriction_set_external_storage_state() */ int dpm_restriction_get_external_storage_state(device_policy_manager_h handle, int *is_allowed); diff --git a/libs/dpm/zone.h b/libs/dpm/zone.h index 4f9ed41..abc499b 100644 --- a/libs/dpm/zone.h +++ b/libs/dpm/zone.h @@ -56,7 +56,6 @@ extern "C" { * @pre The handle must be created by dpm_manager_create(). * @see dpm_manager_create() * @see dpm_zone_destroy() - * @see dpm_zone_create_iterator() */ int dpm_zone_create(device_policy_manager_h handle, const char* name, const char* pkgname); @@ -82,7 +81,6 @@ int dpm_zone_create(device_policy_manager_h handle, const char* name, const char * created before use of this API. * @see dpm_manager_create() * @see dpm_zone_create() - * @see dpm_zone_create_iterator() */ int dpm_zone_destroy(device_policy_manager_h handle, const char* name);