Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2020-03-14T14:43:39Z (2 months ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
ea22f51
Parents:
5b8da86
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-05-07 11:47:29)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2020-03-14 14:43:39)
Message:

libconf: Parse booleans

File:
1 edited

Legend:

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

    r5b8da86 r0e23efa9  
    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.