Xenomai 3.3.2
Loading...
Searching...
No Matches
root_leaf.h
Go to the documentation of this file.
1
23#ifndef __ANALOGY_ROOT_LEAF_H__
24#define __ANALOGY_ROOT_LEAF_H__
25
26#ifndef DOXYGEN_CPP
27
28#include <errno.h>
29
30struct a4l_leaf {
31 unsigned int id;
32 unsigned int nb_leaf;
33 struct a4l_leaf *lfnxt;
34 struct a4l_leaf *lfchd;
35 void *data;
36};
37typedef struct a4l_leaf a4l_leaf_t;
38
39struct a4l_root {
40 /* Same fields as a4l_leaf_t */
41 unsigned int id;
42 unsigned int nb_leaf;
43 struct a4l_leaf *lfnxt;
44 struct a4l_leaf *lfchd;
45 void *data;
46 /* Root specific: buffer control stuff */
47 void *offset;
48 unsigned long gsize;
49};
50typedef struct a4l_root a4l_root_t;
51
52#endif /* !DOXYGEN_CPP */
53
54#endif /* __ANALOGY_ROOT_LEAF_H__ */