23 #ifndef _ASTERISK_CONVERSIONS_H 24 #define _ASTERISK_CONVERSIONS_H int ast_str_to_umax(const char *str, uintmax_t *res)
Convert the given string to an unsigned max size integer.
int ast_str_to_imax(const char *str, intmax_t *res)
Convert the given string to a signed max size integer.
int ast_str_to_int(const char *str, int *res)
Convert the given string to a signed integer.
int ast_str_to_ulong(const char *str, unsigned long *res)
Convert the given string to an unsigned long.
int ast_str_to_uint(const char *str, unsigned int *res)
Convert the given string to an unsigned integer.
int ast_str_to_long(const char *str, long *res)
Convert the given string to a signed long.