/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool
271 by Suren A. Chilingaryan
Prevent excessive calling of getenv by debugging code for better performance
1
#ifndef _PCILIB_ENV_H
2
#define _PCILIB_ENV_H
3
4
typedef enum {
5
    PCILIB_DEBUG_DMA_ENV,
6
    PCILIB_DEBUG_MISSING_EVENTS_ENV,
314 by Suren A. Chilingaryan
Support writting register views
7
    PCILIB_DEBUG_VIEWS_ENV,
271 by Suren A. Chilingaryan
Prevent excessive calling of getenv by debugging code for better performance
8
    PCILIB_MAX_ENV
9
} pcilib_env_t;
10
277 by Suren A. Chilingaryan
Keep C++ compilers happy
11
#ifdef __cplusplus
12
extern "C" {
13
#endif
14
271 by Suren A. Chilingaryan
Prevent excessive calling of getenv by debugging code for better performance
15
const char *pcilib_getenv(pcilib_env_t env, const char *var);
16
277 by Suren A. Chilingaryan
Keep C++ compilers happy
17
#ifdef __cplusplus
18
}
19
#endif
20
271 by Suren A. Chilingaryan
Prevent excessive calling of getenv by debugging code for better performance
21
#endif /* _PCILIB_ENV_H */