Fixed doxygen rule violoation. 19/207819/1 accepted/tizen/unified/20190613.220313 submit/tizen/20190613.103213
authorsaerome.kim <saerome.kim@samsung.com>
Thu, 13 Jun 2019 04:56:32 +0000 (13:56 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Thu, 13 Jun 2019 04:57:09 +0000 (13:57 +0900)
include/mtp.h:17: Note:
  The recommended inclusion guard symbol is __TIZEN_<MODULE>_<SUB_MODULE>_<FILE_BASE_NAME>_H__.
  The number of <SUB_MODULE> segments can be 0, 1, or more.
  For example, for data_control_map.h the symbol is __TIZEN_APPFW_DATA_CONTROL_MAP_H__.
  For this file, it would be __TIZEN_<MODULE>_<SUB_MODULE>_MTP_H__.

include/mtp.h:205: ERROR:
  Return value #MTP_ERROR_INVALID_PARAMETER used in incorrect order.
  Correct return value order:
  ERROR_NONE
  ERROR_NOT_SUPPORTED
  ERROR_PERMISSION_DENIED
  ERROR_INVALID_PARAMETER
  Other errors

Change-Id: Ieae8e0f9d4ddf389e3b85941abe934a05b4e6668
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
include/mtp.h
include/mtp_db.h [changed mode: 0755->0644]
include/mtp_debug.h [changed mode: 0755->0644]
include/mtp_gdbus.h [changed mode: 0755->0644]
include/mtp_gdbus_deviceinfo.h [changed mode: 0755->0644]
include/mtp_gdbus_manager.h [changed mode: 0755->0644]
include/mtp_gdbus_objectinfo.h [changed mode: 0755->0644]
include/mtp_gdbus_storageinfo.h [changed mode: 0755->0644]
include/mtp_internal.h [changed mode: 0755->0644]
include/mtp_private.h [changed mode: 0755->0644]

index e0aad34..99b5b41 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __MTP_H__
-#define __MTP_H__
+#ifndef __TIZEN_CAPI_NETWORK_MTP_H__
+#define __TIZEN_CAPI_NETWORK_MTP_H__
 
 #include <tizen.h>
 
@@ -200,9 +200,9 @@ int mtp_initialize(void);
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  *
@@ -222,9 +222,9 @@ int mtp_get_devices(mtp_device_h **mtp_devices, int *device_count);
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  *
@@ -248,9 +248,9 @@ int mtp_get_storages(mtp_device_h mtp_device, mtp_storage_h **mtp_storages, int*
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  *
@@ -274,13 +274,13 @@ int mtp_get_object_handles(mtp_device_h mtp_device, mtp_storage_h mtp_storage, m
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_IO_ERROR I/O error
- * @retval #MTP_ERROR_PERMISSION_DENIED Permission denied
  *
  * @see mtp_get_devices()
  * @see mtp_get_object_handles()
@@ -301,13 +301,13 @@ int mtp_get_object(mtp_device_h mtp_device, mtp_object_h object_handle, char *de
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_IO_ERROR I/O error
- * @retval #MTP_ERROR_PERMISSION_DENIED Permission denied
  *
  * @see mtp_get_devices()
  * @see mtp_get_object_handles()
@@ -330,8 +330,8 @@ int mtp_get_thumbnail(mtp_device_h mtp_device, mtp_object_h object_handle, char
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
- * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  *
  * @see mtp_remove_mtp_event_cb()
  */
@@ -346,8 +346,8 @@ int mtp_add_mtp_event_cb(mtp_event_cb event_cb, void *user_data);
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
- * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  *
  * @see mtp_add_mtp_event_cb()
  */
@@ -388,9 +388,9 @@ int mtp_deinitialize(void);
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -412,9 +412,9 @@ int mtp_deviceinfo_get_manufacturer_name(mtp_device_h mtp_device, char **manufac
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -436,9 +436,9 @@ int mtp_deviceinfo_get_model_name(mtp_device_h mtp_device, char **model_name);
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -460,9 +460,9 @@ int mtp_deviceinfo_get_serial_number(mtp_device_h mtp_device, char **serial_numb
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -494,9 +494,9 @@ int mtp_deviceinfo_get_device_version(mtp_device_h mtp_device, char **device_ver
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -518,9 +518,9 @@ int mtp_storageinfo_get_description(mtp_device_h mtp_device, mtp_storage_h mtp_s
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -542,9 +542,9 @@ int mtp_storageinfo_get_free_space(mtp_device_h mtp_device, mtp_storage_h mtp_st
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -566,9 +566,9 @@ int mtp_storageinfo_get_max_capacity(mtp_device_h mtp_device, mtp_storage_h mtp_
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -591,9 +591,9 @@ int mtp_storageinfo_get_storage_type(mtp_device_h mtp_device, mtp_storage_h mtp_
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -625,9 +625,9 @@ int mtp_storageinfo_get_volume_identifier(mtp_device_h mtp_device, mtp_storage_h
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -652,9 +652,9 @@ int mtp_objectinfo_get_file_name(mtp_device_h mtp_device, mtp_object_h object_ha
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -677,9 +677,9 @@ int mtp_objectinfo_get_keywords(mtp_device_h mtp_device, mtp_object_h object_han
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -702,9 +702,9 @@ int mtp_objectinfo_get_association_desc(mtp_device_h mtp_device, mtp_object_h ob
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -727,9 +727,9 @@ int mtp_objectinfo_get_association_type(mtp_device_h mtp_device, mtp_object_h ob
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -756,9 +756,9 @@ int mtp_objectinfo_get_size(mtp_device_h mtp_device, mtp_object_h object_handle,
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -785,9 +785,9 @@ int mtp_objectinfo_get_parent_object_handle(mtp_device_h mtp_device, mtp_object_
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -812,9 +812,9 @@ int mtp_objectinfo_get_storage(mtp_device_h mtp_device, mtp_object_h object_hand
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -839,9 +839,9 @@ int mtp_objectinfo_get_date_created(mtp_device_h mtp_device, mtp_object_h object
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -864,9 +864,9 @@ int mtp_objectinfo_get_date_modified(mtp_device_h mtp_device, mtp_object_h objec
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -889,9 +889,9 @@ int mtp_objectinfo_get_file_type(mtp_device_h mtp_device, mtp_object_h object_ha
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -914,9 +914,9 @@ int mtp_objectinfo_get_image_bit_depth(mtp_device_h mtp_device, mtp_object_h obj
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -939,9 +939,9 @@ int mtp_objectinfo_get_image_pix_width(mtp_device_h mtp_device, mtp_object_h obj
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -964,9 +964,9 @@ int mtp_objectinfo_get_image_pix_height(mtp_device_h mtp_device, mtp_object_h ob
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -989,9 +989,9 @@ int mtp_objectinfo_get_thumbnail_size(mtp_device_h mtp_device, mtp_object_h obje
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -1014,9 +1014,9 @@ int mtp_objectinfo_get_thumbnail_file_type(mtp_device_h mtp_device, mtp_object_h
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -1039,9 +1039,9 @@ int mtp_objectinfo_get_thumbnail_pix_height(mtp_device_h mtp_device, mtp_object_
  * @return 0 on success, otherwise a negative error value.
  * @retval #MTP_ERROR_NONE Successful
  * @retval #MTP_ERROR_NOT_SUPPORTED MTP is not supported
+ * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_INITIALIZED MTP is not initialized
  * @retval #MTP_ERROR_NOT_ACTIVATED MTP is not activated
- * @retval #MTP_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #MTP_ERROR_NOT_COMM_INITIALIZED MTP communication is not initialized
  * @retval #MTP_ERROR_COMM_ERROR MTP communication error
  * @retval #MTP_ERROR_CONTROLLER MTP controller error
@@ -1061,4 +1061,4 @@ int mtp_objectinfo_get_thumbnail_pix_width(mtp_device_h mtp_device, mtp_object_h
 }
 #endif
 
-#endif
+#endif /* __TIZEN_CAPI_NETWORK_MTP_H__ */
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 9b48c67..ca81adc
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __MTP_DB_H__
-#define __MTP_DB_H__
+#ifndef __TIZEN_CAPI_NETWORK_MTP_DB_H__
+#define __TIZEN_CAPI_NETWORK_MTP_DB_H__
 
 #include <glib.h>
 #include <gio/gio.h>
@@ -34,5 +34,5 @@ mtp_error_e mtp_db_init(void);
 mtp_error_e mtp_db_get_object_info(int mtp_device, int object_handle, mtp_object_info** object_info);
 mtp_error_e mtp_db_deinit(void);
 
-#endif
+#endif /* __TIZEN_CAPI_NETWORK_MTP_DB_H__ */
 
old mode 100755 (executable)
new mode 100644 (file)
index dfe98e1..d67dff9
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __MTP_DEBUG_H__
-#define __MTP_DEBUG_H__
+#ifndef __TIZEN_CAPI_NETWORK_MTP_DEBUG_H__
+#define __TIZEN_CAPI_NETWORK_MTP_DEBUG_H__
 
 #include <stdio.h>
 
@@ -78,4 +78,4 @@
 #define PRT(format, args...) printf("%s:%d() "format, __FUNCTION__, __LINE__, ##args)
 #define TC_PRT(format, args...) PRT(format"\n", ##args)
 
-#endif
+#endif /* __TIZEN_CAPI_NETWORK_MTP_DEBUG_H__ */
old mode 100755 (executable)
new mode 100644 (file)
index 2811fb1..eef6d3d
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __MTP_GDBUS_H__
-#define __MTP_GDBUS_H__
+#ifndef __TIZEN_CAPI_NETWORK_MTP_GDBUS_H__
+#define __TIZEN_CAPI_NETWORK_MTP_GDBUS_H__
 
 #include <glib.h>
 #include <gio/gio.h>
@@ -30,4 +30,4 @@
 #define MTP_DBUS_STORAGEINFO_PATH      "/org/tizen/mtp/storageinfo"
 #define MTP_DBUS_OBJECTINFO_PATH       "/org/tizen/mtp/objectinfo"
 
-#endif
+#endif /* __TIZEN_CAPI_NETWORK_MTP_GDBUS_H__ */
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index f670cb8..09c2874
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __MTP_GDBUS_DEVICEINFO_H__
-#define __MTP_GDBUS_DEVICEINFO_H__
+#ifndef __TIZEN_CAPI_NETWORK_MTP_GDBUS_DEVICEINFO_H__
+#define __TIZEN_CAPI_NETWORK_MTP_GDBUS_DEVICEINFO_H__
 
 #include "mtp_gdbus.h"
 
@@ -30,4 +30,4 @@ mtp_error_e mtp_gdbus_deviceinfo_get_bus_location(int mtp_device, int *bus_locat
 mtp_error_e mtp_gdbus_deviceinfo_get_device_number(int mtp_device, int *device_number);
 mtp_error_e mtp_gdbus_deviceinfo_get_stitching_engine_version(int mtp_device, char **stitching_engine_version);
 
-#endif
+#endif /* __TIZEN_CAPI_NETWORK_MTP_GDBUS_DEVICEINFO_H__ */
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 6af61aa..b97517f
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __MTP_GDBUS_MANAGER_H__
-#define __MTP_GDBUS_MANAGER_H__
+#ifndef __TIZEN_CAPI_NETWORK_MTP_GDBUS_MANAGER_H__
+#define __TIZEN_CAPI_NETWORK_MTP_GDBUS_MANAGER_H__
 
 #include "mtp_gdbus.h"
 
@@ -37,4 +37,4 @@ mtp_error_e mtp_gdbus_manager_remove_event_cb(mtp_event_cb callback);
 mtp_error_e mtp_gdbus_manager_remove_all_event_cb(void);
 mtp_error_e mtp_gdbus_manager_deinitialize(void);
 
-#endif
+#endif /* __TIZEN_CAPI_NETWORK_MTP_GDBUS_MANAGER_H__ */
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 421704d..711f354
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __MTP_GDBUS_OBJECTINFO_H__
-#define __MTP_GDBUS_OBJECTINFO_H__
+#ifndef __TIZEN_CAPI_NETWORK_MTP_GDBUS_OBJECTINFO_H__
+#define __TIZEN_CAPI_NETWORK_MTP_GDBUS_OBJECTINFO_H__
 
 #include "mtp_gdbus.h"
 
@@ -27,4 +27,4 @@ int mtp_gdbus_objectinfo_get_property(int mtp_device,
 int mtp_gdbus_objectinfo_get_property_string(int mtp_device,
        int object_handle, int property, char **property_value);
 
-#endif
+#endif /* __TIZEN_CAPI_NETWORK_MTP_GDBUS_OBJECTINFO_H__ */
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index d975ca8..7b4b8bf
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __MTP_GDBUS_STORAGEINFO_H__
-#define __MTP_GDBUS_STORAGEINFO_H__
+#ifndef __TIZEN_CAPI_NETWORK_MTP_GDBUS_STORAGEINFO_H__
+#define __TIZEN_CAPI_NETWORK_MTP_GDBUS_STORAGEINFO_H__
 
 #include "mtp_gdbus.h"
 
@@ -33,4 +33,4 @@ mtp_error_e mtp_gdbus_storageinfo_get_storage_type(int mtp_device,
 mtp_error_e mtp_gdbus_storageinfo_get_volume_identifier(int mtp_device,
        int mtp_storage, char **volume_identifier);
 
-#endif
+#endif /* __TIZEN_CAPI_NETWORK_MTP_GDBUS_STORAGEINFO_H__ */
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 6d5dda1..2d9eb47
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __MTP_INTERNAL_H__
-#define __MTP_INTERNAL_H__
+#ifndef __TIZEN_CAPI_NETWORK_MTP_INTERNAL_H__
+#define __TIZEN_CAPI_NETWORK_MTP_INTERNAL_H__
 
 #include <mtp.h>
 
@@ -60,4 +60,4 @@ int mtp_get_partial_object(int mtp_device, int object_handle, char *dest_path, i
 }
 #endif
 
-#endif
+#endif /* __TIZEN_CAPI_NETWORK_MTP_INTERNAL_H__ */
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index c4e2569..abd4664
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __MTP_PRIVATE_H__
-#define __MTP_PRIVATE_H__
+#ifndef __TIZEN_CAPI_NETWORK_MTP_PRIVATE_H__
+#define __TIZEN_CAPI_NETWORK_MTP_PRIVATE_H__
 
 #define CHECK_SUPPORTED() \
 do { \
@@ -55,4 +55,4 @@ typedef enum {
        MTP_PROPERTY_KEYWORDS
 } mtp_property_e;
 
-#endif
+#endif /* __TIZEN_CAPI_NETWORK_MTP_PRIVATE_H__ */
\ No newline at end of file