* 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>
* @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
*
* @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
*
* @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
*
* @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()
* @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()
* @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()
*/
* @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()
*/
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
* @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
}
#endif
-#endif
+#endif /* __TIZEN_CAPI_NETWORK_MTP_H__ */
\ No newline at end of file