]> sigrok.org Git - libsigrok.git/blobdiff - proto.h
Add a struct sr_context * parameter to sr_init() and sr_exit()
[libsigrok.git] / proto.h
diff --git a/proto.h b/proto.h
index e520803c5d2fe5b0f142a05b0fccc19611f87fd1..49b2d7473087b6c16baea3b896ea266c5dbbd7c3 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -22,8 +22,8 @@
 
 /*--- backend.c -------------------------------------------------------------*/
 
-SR_API int sr_init(void);
-SR_API int sr_exit(void);
+SR_API int sr_init(struct sr_context **ctx);
+SR_API int sr_exit(struct sr_context *ctx);
 
 /*--- log.c -----------------------------------------------------------------*/