summaryrefslogtreecommitdiffstats
path: root/pcilib/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/env.h')
-rw-r--r--pcilib/env.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcilib/env.h b/pcilib/env.h
new file mode 100644
index 0000000..4fd40f1
--- /dev/null
+++ b/pcilib/env.h
@@ -0,0 +1,12 @@
+#ifndef _PCILIB_ENV_H
+#define _PCILIB_ENV_H
+
+typedef enum {
+ PCILIB_DEBUG_DMA_ENV,
+ PCILIB_DEBUG_MISSING_EVENTS_ENV,
+ PCILIB_MAX_ENV
+} pcilib_env_t;
+
+const char *pcilib_getenv(pcilib_env_t env, const char *var);
+
+#endif /* _PCILIB_ENV_H */