pict
Documentation for pict is still a work-in-progress
Loading...
Searching...
No Matches
cl_enum.h
Go to the documentation of this file.
1
2
#ifndef CL_ENUM_H
3
#define CL_ENUM_H
4
9
10
int
ptp_enum_all(
char
*
string
);
11
int
ptp_enum(
int
type,
char
*
string
);
12
char
*ptp_get_enum(
int
type,
int
vendor,
int
id
);
13
char
*ptp_get_enum_all(
int
id
);
14
15
extern
char
*enum_null;
16
17
enum
PtpType {
18
PTP_ENUM = 0,
// regular enums
19
PTP_OC = 1,
// operation codes
20
PTP_OF = 2,
// object formats
21
PTP_DPC = 3,
// property codes
22
PTP_EC = 4,
// event codes
23
PTP_RC = 5,
// return code
24
PTP_ST = 6,
// storage type
25
PTP_FT = 7,
// filesystem type
26
PTP_AC = 8,
// access code
27
PTP_AT = 9,
// association type
28
};
29
30
struct
PtpEnum
{
31
int
type;
32
int
vendor;
33
char
*name;
34
int
value;
35
};
36
37
extern
int
ptp_enums_length;
38
extern
struct
PtpEnum
ptp_enums[];
39
41
42
#endif
PtpEnum
Definition
cl_enum.h:30
src
cl_enum.h
Generated by
1.13.2