src/ros_parse.[ch]: Added functions to parse the uptime string into seconds.
[routeros-api.git] / src / ros_parse.h
index a39ac89..75473a4 100644 (file)
@@ -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 : */