X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=include%2Flibsigrok%2Fproto.h;h=f2dc8d4953c12246c208733418285b7f61cc795e;hb=5ec172d7e9ed55537b6a152a6b8e98712a2f595e;hp=caa8407e23a19ede70a311b6231c3555236cb47d;hpb=510aa8281f19b6312163ff2f09d6515661889378;p=libsigrok.git diff --git a/include/libsigrok/proto.h b/include/libsigrok/proto.h index caa8407e..f2dc8d49 100644 --- a/include/libsigrok/proto.h +++ b/include/libsigrok/proto.h @@ -226,6 +226,7 @@ SR_API uint64_t sr_parse_timestring(const char *timestring); SR_API gboolean sr_parse_boolstring(const char *boolstring); SR_API int sr_parse_period(const char *periodstr, uint64_t *p, uint64_t *q); SR_API int sr_parse_voltage(const char *voltstr, uint64_t *p, uint64_t *q); +SR_API int sr_parse_rational(const char *str, struct sr_rational *ret); /*--- version.c -------------------------------------------------------------*/