Ignore:
Timestamp:
2020-07-05T21:00:33Z (4 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
0c01270
Parents:
a58727c
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-05-07 11:47:29)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2020-07-05 21:00:33)
Message:

libconf: Parse booleans

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/conf/include/conf/configuration.h

    ra58727c ra81a950d  
    6565/** Code of configuration processing error */
    6666typedef enum {
    67         CONFIGURATION_EMISSING_ITEM = -1
     67        CONFIGURATION_EMISSING_ITEM = -1,
     68        CONFIGURATION_EINVAL_BOOL = -2
    6869} config_error_t;
    6970
     
    7475
    7576extern bool config_parse_string(const char *, void *, text_parse_t *, size_t);
     77extern bool config_parse_bool(const char *, void *, text_parse_t *, size_t);
    7678
    7779#endif
Note: See TracChangeset for help on using the changeset viewer.