]> sigrok.org Git - libsigrok.git/commitdiff
sr: change sr_datafeed_callback_t to use sdi
authorBert Vermeulen <redacted>
Sun, 22 Jul 2012 13:05:47 +0000 (15:05 +0200)
committerBert Vermeulen <redacted>
Fri, 3 Aug 2012 09:27:31 +0000 (11:27 +0200)
proto.h

diff --git a/proto.h b/proto.h
index bf98ce570f2ca51e4e7fef04b298f7e31339e4a0..9ede57935a136b8e4f41d981a90b2704ddc3f60b 100644 (file)
--- 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);