• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • Examples
  • File List
  • Globals

include/analogy/descriptor.h

Go to the documentation of this file.
00001 
00022 #ifndef __ANALOGY_LIB_CORE__
00023 #define __ANALOGY_LIB_CORE__
00024 
00025 #include <analogy/subdevice.h>
00026 #include <analogy/device.h>
00027 
00028 /* --- Descriptor precompilation constants --- */
00029 
00030 /* Constant used internally */
00031 #define MAGIC_BSC_DESC 0x1234abcd
00032 #define MAGIC_CPLX_DESC 0xabcd1234
00033 
00049 #define A4L_BSC_DESC 0x0
00050 
00055 #define A4L_CPLX_DESC 0x1
00056 
00059 /* --- Descriptor structure --- */
00060 
00066 struct a4l_descriptor {
00067         char board_name[A4L_NAMELEN];
00069         int nb_subd;
00071         int idx_read_subd;
00073         int idx_write_subd;
00075         int fd;
00077         unsigned int magic;
00079         int sbsize;
00081         void *sbdata;
00083 };
00084 typedef struct a4l_descriptor a4l_desc_t;
00085 
00088 #endif /* __ANALOGY_LIB_CORE__ */

Generated on Wed Jan 23 2013 13:24:01 for Xenomai API by  doxygen 1.7.1