dtag.h
Go to the documentation of this file.00001
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076 #ifndef DT_DTAG_H
00077 #define DT_DTAG_H
00078
00079 #include <cfg/macros.h>
00080
00082 typedef iptr_t dval_t;
00083
00085 typedef const_iptr_t const_dval_t;
00086
00088 typedef enum dtag_t
00089 {
00090 TAG_END = 0,
00091 TAG_NONE,
00092 TAG_ANY,
00093 TAG_SETVALUE,
00094 TAG_UP,
00095 TAG_DOWN,
00096 TAG_START,
00097 TAG_STOP,
00098 TAG_TOGGLE,
00099 TAG_KEY,
00100 TAG_TIME,
00101 TAG_ERROR,
00102 } dtag_t;
00103
00105 typedef struct DTagItem
00106 {
00107 dtag_t tag;
00108 dval_t val;
00109 } DTagItem;
00110
00112 #define TAG_END_MARKER {{TAG_END, 0}, {TAG_END, 0}}
00113 #endif