summaryrefslogtreecommitdiffstats
path: root/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'env.h')
-rw-r--r--env.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/env.h b/env.h
new file mode 100644
index 0000000..46e4459
--- /dev/null
+++ b/env.h
@@ -0,0 +1,23 @@
+#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_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 */