diff options
author | TheOfficialFloW | 2017-01-12 17:55:47 +0100 |
---|---|---|
committer | Sunguk Lee | 2017-01-13 01:55:47 +0900 |
commit | 48c0c2da0b94b7e63677471cbeeaa1006ea6fd2d (patch) | |
tree | 2a2849ebce6c1e3a61bb41051eb11c3881969080 /include/user/mtpif.h | |
parent | Add SceMtpIfDriver::SceMtpIf NIDs (diff) | |
download | vds-libraries-48c0c2da0b94b7e63677471cbeeaa1006ea6fd2d.tar.gz |
Added usb nids and headers (#120)
Diffstat (limited to '')
-rw-r--r-- | include/user/mtpif.h | 30 |
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_ */ |