summaryrefslogtreecommitdiffstats
path: root/env.h
blob: ca8dbf735245ec1f2b2a47df93140cf4fb0ada20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _IPECAMERA_ENV_H
#define _IPECAMERA_ENV_H

typedef enum {
    IPECAMERA_DEBUG_RAW_FRAMES_ENV,
    IPECAMERA_DEBUG_BROKEN_FRAMES_ENV,
    IPECAMERA_DEBUG_RAW_PACKETS_ENV,
    IPECAMERA_DEBUG_HARDWARE_ENV,
    IPECAMERA_DEBUG_FRAME_HEADERS_ENV,
    IPECAMERA_DEBUG_API_ENV,
    IPECAMERA_MAX_ENV
} ipecamera_env_t;

#ifdef __cplusplus
extern "C" {
#endif

const char *ipecamera_getenv(ipecamera_env_t env, const char *var);

#ifdef __cplusplus
}
#endif

#endif /* _IPECAMERA_ENV_H */