src/numparser.h File Reference

This graph shows which files directly or indirectly include this file:

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 Documentation


Enumeration Type Documentation

Enumerator:
RDD_POSITIVE 
RDD_POWER2 

Definition at line 37 of file numparser.h.


Function Documentation

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 
)

Definition at line 157 of file numparser.c.

References RDD_ERANGE, RDD_OK, and rdd_parse_uint().

Here is the call graph for this function:

int rdd_parse_uint ( const char *  str,
unsigned *  result 
)

Definition at line 139 of file numparser.c.

References RDD_ESYNTAX, and RDD_OK.


Generated on Sun Feb 6 12:36:19 2011 for rdd by  doxygen 1.5.6