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