summaryrefslogtreecommitdiff
path: root/include/user/mtpif.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/user/mtpif.h')
-rw-r--r--include/user/mtpif.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/user/mtpif.h b/include/user/mtpif.h
new file mode 100644
index 0000000..9dff002
--- /dev/null
+++ b/include/user/mtpif.h
@@ -0,0 +1,30 @@
+#ifndef _PSP2_MTPIF_H_
+#define _PSP2_MTPIF_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * Start MTP driver
+ *
+ * @param[in] flags - Set to 1
+ *
+ * @return 0 on success, < 0 on error.
+*/
+int sceMtpIfStartDriver(int flags);
+
+/**
+ * Stop MTP driver
+ *
+ * @param[in] flags - Set to 1
+ *
+ * @return 0 on success, < 0 on error.
+*/
+int sceMtpIfStopDriver(int flags);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _PSP2_MTPIF_H_ */