e76409232ce6a027bd3f06da79616830d3da9980 |
|
29-Jan-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib: Add str_is_float check function |
fa2e547a3298fb7855d096db5825b3624ebb5560 |
|
31-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib: Added str_to_ino() |
7b58c089a0711e5e874fbf24c03d890ed2eebd62 |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
strnum: Implemented many more numeric string parsing functions.
Created macros for most of the implementation to avoid further code
duplication. |
7943dd081e6e3a856e6ccc56f11f17c983afbb9d |
|
02-Jul-2014 |
Phil Carmody <phil@dovecot.fi> |
lib: strnum - add permissive str_parse_uint() helper
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
dbebc3b55a52d288d6ca3eaf0a4b49db21432477 |
|
02-Jul-2014 |
Phil Carmody <phil@dovecot.fi> |
lib: strnum - add a permissive uoff_t parser
Functions like these are so cookie-cutter, we may as well use a macro.
Note that signed helpers, if they ever appear, will need more care.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
0d73aae8da55fadb59c1fef7aa36d5e43f5f8840 |
|
02-Jul-2014 |
Phil Carmody <phil@dovecot.fi> |
lib: strnum - add permissive partial-string integer parser
Not all strings we want to parse are already strtok'ed into separate pieces.
Therefore add helpers which will read the integer, and return a pointer
past the parsed integer.
The previous helpers can be considered a special case which just follows up
with a check that the '\0' has been reached.
Showing a preference for const pointers generally, this does not try to
mimic the non-const interface of strto{l,ul,ll,ull}().
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
076f8c12cfa4c8d30695f94f389c670d89e200fa |
|
08-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
liblib: Added str_to_time() |
3ed749924ed5215d84e0a095bc7d74ce3100e242 |
|
07-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Added str_to_*() for converting strings to numbers, plus a few helper functions.
The str_to_*() return failure also if integer is too large or too small to
fit into destination.
--HG--
branch : HEAD |