dtag.h
Go to the documentation of this file.00001
00040
00041
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 #ifndef DT_DTAG_H
00075 #define DT_DTAG_H
00076
00077 #include <cfg/macros.h>
00078
00080 typedef iptr_t dval_t;
00081
00083 typedef const_iptr_t const_dval_t;
00084
00086 typedef enum dtag_t
00087 {
00088 TAG_END = 0,
00089 TAG_NONE,
00090 TAG_ANY,
00091 TAG_SETVALUE,
00092 TAG_UP,
00093 TAG_DOWN,
00094 TAG_START,
00095 TAG_STOP,
00096 TAG_TOGGLE,
00097 TAG_KEY,
00098 TAG_TIME,
00099 TAG_ERROR,
00100 } dtag_t;
00101
00103 typedef struct DTagItem
00104 {
00105 dtag_t tag;
00106 dval_t val;
00107 } DTagItem;
00108
00110 #define TAG_END_MARKER {{TAG_END, 0}, {TAG_END, 0}}
00111 #endif