/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/env.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-05-08 18:06:36 UTC
  • Revision ID: csa@suren.me-20150508180636-x3vsolbme4uot0ox
Prevent excessive calling of getenv by debugging code for better performance

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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,
 
7
    PCILIB_MAX_ENV
 
8
} pcilib_env_t;
 
9
 
 
10
const char *pcilib_getenv(pcilib_env_t env, const char *var);
 
11
 
 
12
#endif /* _PCILIB_ENV_H */