X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=include%2Flibsigrok%2Fproto.h;h=7f3129379415576cbe0e35c46078619472c8ad87;hb=6ad2fbaad2722f0aa18c3600cdbdddf812784b2d;hp=01792a62ebe0541601f1b8c4eee1905bc790a65e;hpb=6984cfb245811df0f691928a6e4224d4f7ac5786;p=libsigrok.git diff --git a/include/libsigrok/proto.h b/include/libsigrok/proto.h index 01792a62..7f312937 100644 --- a/include/libsigrok/proto.h +++ b/include/libsigrok/proto.h @@ -46,6 +46,18 @@ SR_API int sr_rational_div(struct sr_rational *res, const struct sr_rational *nu SR_API int sr_init(struct sr_context **ctx); SR_API int sr_exit(struct sr_context *ctx); +SR_API GSList *sr_buildinfo_libs_get(void); +SR_API char *sr_buildinfo_host_get(void); +SR_API char *sr_buildinfo_scpi_backends_get(void); + +/*--- conversion.c ----------------------------------------------------------*/ + +SR_API int sr_a2l_threshold(const struct sr_datafeed_analog *analog, + float threshold, uint8_t *output, uint64_t count); +SR_API int sr_a2l_schmitt_trigger(const struct sr_datafeed_analog *analog, + float lo_thr, float hi_thr, uint8_t *state, uint8_t *output, + uint64_t count); + /*--- log.c -----------------------------------------------------------------*/ typedef int (*sr_log_callback)(void *cb_data, int loglevel,