summaryrefslogtreecommitdiffstats
path: root/env.h
blob: 7ab3d52c5e6fd235a8719c6e0fea91eb9a8d2fb0 (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 _PCIDEV_ENV_H
#define _PCIDEV_ENV_H

typedef enum {
    PCIDEV_DEBUG_RAW_FRAMES_ENV,
    PCIDEV_DEBUG_BROKEN_FRAMES_ENV,
    PCIDEV_DEBUG_RAW_PACKETS_ENV,
    PCIDEV_DEBUG_HARDWARE_ENV,
    PCIDEV_DEBUG_FRAME_HEADERS_ENV,
    PCIDEV_DEBUG_API_ENV,
    PCIDEV_MAX_ENV
} pcidev_env_t;

#ifdef __cplusplus
extern "C" {
#endif

const char *pcidev_getenv(pcidev_env_t env, const char *var);

#ifdef __cplusplus
}
#endif

#endif /* _PCIDEV_ENV_H */