added header file for example common code
This commit is contained in:
parent
79a511162d
commit
5e6da7c2f5
1 changed files with 22 additions and 0 deletions
22
demo/examples.h
Normal file
22
demo/examples.h
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Reference in a new issue