Go to the source code of this file.
Typedefs | |
typedef enum _rdd_num_flags_t | rdd_num_flags_t |
Enumerations | |
enum | _rdd_num_flags_t { RDD_POSITIVE = 0x1, RDD_POWER2 = 0x2 } |
Functions | |
int | rdd_parse_bignum (const char *str, rdd_num_flags_t flags, rdd_count_t *result) |
int | rdd_parse_tcp_port (const char *str, unsigned *result) |
int | rdd_parse_uint (const char *str, unsigned *result) |
typedef enum _rdd_num_flags_t rdd_num_flags_t |
enum _rdd_num_flags_t |
int rdd_parse_bignum | ( | const char * | str, | |
rdd_num_flags_t | flags, | |||
rdd_count_t * | result | |||
) |
Definition at line 78 of file numparser.c.
References _RDD_MULTIPLIER::factor, flags_set, _RDD_MULTIPLIER::mchar, multtab, RDD_COUNT_MAX, RDD_ERANGE, RDD_ESYNTAX, RDD_OK, RDD_POSITIVE, and RDD_POWER2.
int rdd_parse_tcp_port | ( | const char * | str, | |
unsigned * | result | |||
) |
Definition at line 157 of file numparser.c.
References RDD_ERANGE, RDD_OK, and rdd_parse_uint().
int rdd_parse_uint | ( | const char * | str, | |
unsigned * | result | |||
) |