]> sigrok.org Git - libsigrok.git/blobdiff - src/scpi.h
hp-3478a: Check via GPIB serial poll if new data is available.
[libsigrok.git] / src / scpi.h
index 13b2d3011d543149d80ad56cfb45fe1a0e290527..eeee9a553214048fa67ea17424654dbcd108c20b 100644 (file)
@@ -163,4 +163,10 @@ SR_PRIV int sr_scpi_cmd_resp(const struct sr_dev_inst *sdi,
                int channel_command, const char *channel_name,
                GVariant **gvar, const GVariantType *gvtype, int command, ...);
 
+/*--- GPIB only functions ---------------------------------------------------*/
+
+#ifdef HAVE_LIBGPIB
+SR_PRIV int sr_scpi_gpib_spoll(struct sr_scpi_dev_inst *scpi, char *buf);
+#endif
+
 #endif