Changes in uspace/app/sbi/src/rdata_t.h [23de644:074444f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/rdata_t.h
r23de644 r074444f 35 35 #include "intmap_t.h" 36 36 37 /** Boolean variable. */ 38 typedef struct { 39 bool_t value; 40 } rdata_bool_t; 41 42 /** Character variable. 43 * 44 * Sysel character type should be able to store arbitrarily (or at least 45 * very) large character sets. 46 */ 47 typedef struct { 48 bigint_t value; 49 } rdata_char_t; 50 37 51 /** Integer variable. 38 52 * … … 43 57 bigint_t value; 44 58 } rdata_int_t; 45 46 59 47 60 /** String variable */ … … 104 117 105 118 typedef enum var_class { 119 /** Boolean */ 120 vc_bool, 121 122 /** Character **/ 123 vc_char, 124 106 125 /** Integer */ 107 126 vc_int, … … 136 155 137 156 union { 157 rdata_bool_t *bool_v; 158 rdata_char_t *char_v; 138 159 rdata_int_t *int_v; 139 160 rdata_string_t *string_v;
Note:
See TracChangeset
for help on using the changeset viewer.