X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=proto.h;h=5b516eca113c69904b89ab57894e876363af6583;hb=f5922adef5a866bd1c292436f1c4bc6b93103aef;hp=7ec6ae4f16905cdcfeb5fd25b1939d7ff32231d8;hpb=8f996b89481670219c7576e2c68b128a0a2ce026;p=libsigrok.git diff --git a/proto.h b/proto.h index 7ec6ae4f..5b516eca 100644 --- a/proto.h +++ b/proto.h @@ -141,6 +141,10 @@ 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_atol(const char *str, long *ret); +SR_API int sr_atoi(const char *str, int *ret); +SR_API int sr_atod(const char *str, double *ret); +SR_API int sr_atof(const char *str, float *ret); /*--- version.c -------------------------------------------------------------*/