summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-02-16 15:55:21 +0200
committerAlon Levy <alevy@redhat.com>2012-02-16 15:55:21 +0200
commitbabe13196137f339b6f55c6382f7bd1c11100ec2 (patch)
tree86c0f89c9fa6c06d261812041478919ae8240da5
parent70d0d49b7c7d115f297dae710b9bb62b97fa22d5 (diff)
missed when added qxl_option_helpers.c
-rw-r--r--src/qxl_option_helpers.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/qxl_option_helpers.h b/src/qxl_option_helpers.h
new file mode 100644
index 0000000..12a14ff
--- /dev/null
+++ b/src/qxl_option_helpers.h
@@ -0,0 +1,14 @@
+#ifndef OPTION_HELPERS_H
+#define OPTION_HELPERS_H
+
+
+int get_int_option(OptionInfoPtr options, int option_index,
+ const char *env_name);
+
+const char *get_str_option(OptionInfoPtr options, int option_index,
+ const char *env_name);
+
+int get_bool_option(OptionInfoPtr options, int option_index,
+ const char *env_name);
+
+#endif // OPTION_HELPERS_H