added header file for example common code
authorDavid Schleef <ds@schleef.org>
Thu, 19 Oct 2000 06:29:14 +0000 (06:29 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 19 Oct 2000 06:29:14 +0000 (06:29 +0000)
demo/examples.h [new file with mode: 0644]

diff --git a/demo/examples.h b/demo/examples.h
new file mode 100644 (file)
index 0000000..8d0b2df
--- /dev/null
@@ -0,0 +1,22 @@
+
+#ifndef _EXAMPLES_H
+#define _EXAMPLES_H
+
+/*
+ * Definitions of some of the common code.
+ */
+
+extern char *filename;
+extern int verbose_flag;
+extern comedi_t *device;
+
+extern int value;
+extern int subdevice;
+extern int channel;
+extern int aref;
+extern int range;
+
+int parse_options(int argc, char *argv[]);
+
+#endif
+