Changeset 1ef0fc3 in mainline for uspace/app/sbi/src/rdata_t.h
- Timestamp:
- 2010-04-10T11:19:18Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d7e45c8
- Parents:
- 2721a75 (diff), 074444f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/rdata_t.h
r2721a75 r1ef0fc3 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.