Xenomai API
2.5.6.1
|
00001 00023 #ifndef __ANALOGY_ROOT_LEAF_H__ 00024 #define __ANALOGY_ROOT_LEAF_H__ 00025 00026 #ifndef DOXYGEN_CPP 00027 00028 #include <errno.h> 00029 00030 struct a4l_leaf { 00031 unsigned int id; 00032 unsigned int nb_leaf; 00033 struct a4l_leaf *lfnxt; 00034 struct a4l_leaf *lfchd; 00035 void *data; 00036 }; 00037 typedef struct a4l_leaf a4l_leaf_t; 00038 00039 struct a4l_root { 00040 /* Same fields as a4l_leaf_t */ 00041 unsigned int id; 00042 unsigned int nb_leaf; 00043 struct a4l_leaf *lfnxt; 00044 struct a4l_leaf *lfchd; 00045 void *data; 00046 /* Root specific: buffer control stuff */ 00047 void *offset; 00048 unsigned long gsize; 00049 }; 00050 typedef struct a4l_root a4l_root_t; 00051 00052 #endif /* !DOXYGEN_CPP */ 00053 00054 #endif /* __ANALOGY_ROOT_LEAF_H__ */