src/ros_parse.[ch]: Added functions to parse the uptime string into seconds.
[routeros-api.git] / src / ros_parse.h
index c68f0f2..75473a4 100644 (file)
 _Bool sstrtob (const char *str);
 
 unsigned int sstrtoui (const char *str);
+uint64_t sstrtoui64 (const char *str);
 
 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 : */