From: Bert Vermeulen Date: Sun, 22 Jul 2012 13:05:47 +0000 (+0200) Subject: sr: change sr_datafeed_callback_t to use sdi X-Git-Tag: dsupstream~774 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ff14f01b208faf9b26212c907d162de72d1ab538;p=libsigrok.git sr: change sr_datafeed_callback_t to use sdi --- diff --git a/proto.h b/proto.h index bf98ce57..9ede5793 100644 --- a/proto.h +++ b/proto.h @@ -84,8 +84,8 @@ SR_API int sr_info_get(struct sr_dev_driver *driver, int id, /*--- session.c -------------------------------------------------------------*/ -typedef void (*sr_datafeed_callback_t)(struct sr_dev *dev, - struct sr_datafeed_packet *packet); +typedef void (*sr_datafeed_callback_t)(const struct sr_dev_inst *sdi, + struct sr_datafeed_packet *packet); /* Session setup */ SR_API int sr_session_load(const char *filename);