X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fros_parse.h;h=75473a4ec3d94914ddfc0255e882ae7a6e7cc219;hb=1ac209036249e18ebb9cb42d3afeebdd14d5eed1;hp=a39ac89d5ac2bde6ea47807bcd6b371117bad6d7;hpb=d0e5281499b711d9c03bf0e60a4c117d4dc950be;p=routeros-api.git diff --git a/src/ros_parse.h b/src/ros_parse.h index a39ac89..75473a4 100644 --- a/src/ros_parse.h +++ b/src/ros_parse.h @@ -31,6 +31,9 @@ double sstrtod (const char *str); int sstrto_rx_tx_counters (const char *str, uint64_t *rx, uint64_t *tx); +uint64_t _sstrtodate (const char *str, _Bool have_hour); +#define sstrtodate(str) _sstrtodate((str), 0) + #endif /* ROS_PARSE_H */ /* vim: set ts=2 sw=2 noet fdm=marker : */