Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/rdata_t.h

    r23de644 r074444f  
    3535#include "intmap_t.h"
    3636
     37/** Boolean variable. */
     38typedef 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 */
     47typedef struct {
     48        bigint_t value;
     49} rdata_char_t;
     50
    3751/** Integer variable.
    3852 *
     
    4357        bigint_t value;
    4458} rdata_int_t;
    45 
    4659
    4760/** String variable */
     
    104117
    105118typedef enum var_class {
     119        /** Boolean */
     120        vc_bool,
     121
     122        /** Character **/
     123        vc_char,
     124
    106125        /** Integer */
    107126        vc_int,
     
    136155
    137156        union {
     157                rdata_bool_t *bool_v;
     158                rdata_char_t *char_v;
    138159                rdata_int_t *int_v;
    139160                rdata_string_t *string_v;
Note: See TracChangeset for help on using the changeset viewer.