summaryrefslogtreecommitdiff
path: root/include/user/mtpif.h
blob: 9dff0022af186826bcefa8aa776232c0ac619d26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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_ */