#include <libusb.h>
#endif
+/**
+ * @file
+ *
+ * libsigrok private header file, only to be used internally.
+ */
+
/*--- Macros ----------------------------------------------------------------*/
#ifndef ARRAY_SIZE
#define DATASTORE_CHUNKSIZE (512 * 1024)
struct sr_context {
+#ifdef HAVE_LIBUSB_1_0
+ libusb_context *libusb_ctx;
+#endif
};
#ifdef HAVE_LIBUSB_1_0
SR_PRIV struct sr_dev_inst *sr_dev_inst_new(int index, int status,
const char *vendor, const char *model, const char *version);
SR_PRIV void sr_dev_inst_free(struct sr_dev_inst *sdi);
-#ifdef HAVE_LIBUSB_1_0
+#ifdef HAVE_LIBUSB_1_0
/* USB-specific instances */
SR_PRIV struct sr_usb_dev_inst *sr_usb_dev_inst_new(uint8_t bus,
uint8_t address, struct libusb_device_handle *hdl);
const char *filename);
#endif
+/*--- hardware/common/dmm/fs9922.c ------------------------------------------*/
+
+SR_PRIV int sr_dmm_parse_fs9922(const uint8_t *buf, float *floatval,
+ struct sr_datafeed_analog *analog);
+
+/*--- hardware/common/dmm/fs9721.c ------------------------------------------*/
+
+SR_PRIV int sr_dmm_parse_fs9721(const uint8_t *buf, float *floatval,
+ struct sr_datafeed_analog *analog);
+
#endif