projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79a5111
)
added header file for example common code
author
David Schleef
<ds@schleef.org>
Thu, 19 Oct 2000 06:29:14 +0000
(06:29 +0000)
committer
David Schleef
<ds@schleef.org>
Thu, 19 Oct 2000 06:29:14 +0000
(06:29 +0000)
demo/examples.h
[new file with mode: 0644]
patch
|
blob
diff --git a/demo/examples.h
b/demo/examples.h
new file mode 100644
(file)
index 0000000..
8d0b2df
--- /dev/null
+++ b/
demo/examples.h
@@ -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
+