From 5e6da7c2f5cac8bdac8e59cff6198d1b9e7fd75a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 19 Oct 2000 06:29:14 +0000 Subject: [PATCH] added header file for example common code --- demo/examples.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 demo/examples.h diff --git a/demo/examples.h b/demo/examples.h new file mode 100644 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 + -- 2.26.2