![]() |
RTXI 1.3
|
#include "config.h"#include "comedilib.h"#include "comedi.h"#include "comedi_errno.h"#include <sys/ioctl.h>#include <fcntl.h>#include <stdio.h>Go to the source code of this file.
Classes | |
| struct | comedi_t_struct |
| struct | subdevice_struct |
Defines | |
| #define | _COMEDILIB_DEPRECATED |
| #define | INTERNAL |
| #define | GETTEXT(a) (a) |
| #define | _s(a) (a) |
| #define | debug_ptr(a) if(!(a))fprintf(stderr," ** NULL pointer: " __FILE__ ", line %d\n",__LINE__); |
| #define | debug_int(a) if((a)<0)fprintf(stderr," ** error: " __FILE__ ", line %d\n",__LINE__); |
| #define | COMEDILIB_DEBUG(level, format, args...) do{if(__comedi_loglevel>=(level))fprintf(stderr,"%s: " format, __FUNCTION__ , ##args);}while(0) |
| #define | COMEDILIB_MAGIC 0xc001dafe |
| #define | EXPORT_SYMBOL(a, b) __asm__(".symver " #a "," #a "@v" #b ) |
| #define | EXPORT_ALIAS_VER(a, b, c) __asm__(".symver " #a "," #b "@v" #c ) |
| #define | EXPORT_ALIAS_DEFAULT(a, b, c) __asm__(".symver " #a "," #b "@@v" #c ) |
| #define | comedi_ioctl _comedi_ioctl |
| #define | YY_DECL int calib_yylex(YYSTYPE *calib_lvalp, yyscan_t yyscanner) |
Typedefs | |
| typedef struct subdevice_struct | subdevice |
| typedef struct device_struct | device |
Functions | |
| void | libc_error (void) |
| void | internal_error (int error_number) |
| int | _comedi_ioctl (int fd, int request, void *arg) |
| int | _comedi_ioctl_debug (int, int, void *) |
| int | get_subdevices (comedi_t *it) |
| comedi_range * | get_rangeinfo (int fd, unsigned int range_type) |
| int | valid_dev (comedi_t *it) |
| int | valid_subd (comedi_t *it, unsigned int subdevice) |
| int | valid_chan (comedi_t *it, unsigned int subdevice, unsigned int chan) |
| int | comedi_get_rangetype (comedi_t *it, unsigned int subdevice, unsigned int chan) |
| void | calib_yyerror (char *s) |
| int | calib_yyparse (void *parse_arg) |
Variables | |
| int | __comedi_init |
| int | __comedi_loglevel |
| TLS int | __comedi_errno |
| #define _COMEDILIB_DEPRECATED |
Definition at line 27 of file libinternal.h.
| #define _s | ( | a | ) | (a) |
Definition at line 51 of file libinternal.h.
| #define comedi_ioctl _comedi_ioctl |
Definition at line 128 of file libinternal.h.
| #define COMEDILIB_DEBUG | ( | level, | |
| format, | |||
| args... | |||
| ) | do{if(__comedi_loglevel>=(level))fprintf(stderr,"%s: " format, __FUNCTION__ , ##args);}while(0) |
Definition at line 57 of file libinternal.h.
| #define COMEDILIB_MAGIC 0xc001dafe |
Definition at line 59 of file libinternal.h.
| #define debug_int | ( | a | ) | if((a)<0)fprintf(stderr," ** error: " __FILE__ ", line %d\n",__LINE__); |
Definition at line 55 of file libinternal.h.
| #define debug_ptr | ( | a | ) | if(!(a))fprintf(stderr," ** NULL pointer: " __FILE__ ", line %d\n",__LINE__); |
Definition at line 54 of file libinternal.h.
| #define EXPORT_ALIAS_DEFAULT | ( | a, | |
| b, | |||
| c | |||
| ) | __asm__(".symver " #a "," #b "@@v" #c ) |
Definition at line 65 of file libinternal.h.
| #define EXPORT_ALIAS_VER | ( | a, | |
| b, | |||
| c | |||
| ) | __asm__(".symver " #a "," #b "@v" #c ) |
Definition at line 64 of file libinternal.h.
| #define EXPORT_SYMBOL | ( | a, | |
| b | |||
| ) | __asm__(".symver " #a "," #a "@v" #b ) |
Definition at line 63 of file libinternal.h.
| #define GETTEXT | ( | a | ) | (a) |
Definition at line 49 of file libinternal.h.
| #define INTERNAL |
Definition at line 42 of file libinternal.h.
| #define YY_DECL int calib_yylex(YYSTYPE *calib_lvalp, yyscan_t yyscanner) |
Definition at line 148 of file libinternal.h.
| typedef struct device_struct device |
Definition at line 86 of file libinternal.h.
| typedef struct subdevice_struct subdevice |
Definition at line 85 of file libinternal.h.
| void calib_yyerror | ( | char * | s | ) |
| int calib_yyparse | ( | void * | parse_arg | ) |
| int comedi_get_rangetype | ( | comedi_t * | it, |
| unsigned int | subdevice, | ||
| unsigned int | chan | ||
| ) |
| comedi_range* get_rangeinfo | ( | int | fd, |
| unsigned int | range_type | ||
| ) |
| int valid_chan | ( | comedi_t * | it, |
| unsigned int | subdevice, | ||
| unsigned int | chan | ||
| ) |
| TLS int __comedi_errno |
| int __comedi_init |