]> sigrok.org Git - libsigrok.git/blobdiff - hardware/zeroplus-logic-cube/gl_usb.h
build: Portability fixes.
[libsigrok.git] / hardware / zeroplus-logic-cube / gl_usb.h
index 04a5163d4d9ce66777e96ab7290f1a6a7917c471..c3a33fb34fb35d867fc14bdddb180472fe826d17 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrok project.
  *
  * Copyright (C) 2010 Sven Peter <sven@fail0verflow.com>
  * Copyright (C) 2010 Haxx Enterprises <bushing@gmail.com>
 #define LIBSIGROK_HARDWARE_ZEROPLUS_LOGIC_CUBE_GL_USB_H
 
 #include <libusb.h>
-#include "sigrok.h"
+#include "libsigrok.h"
 
 SR_PRIV int gl_read_bulk(libusb_device_handle *devh, void *buffer,
                         unsigned int size);
 SR_PRIV int gl_reg_write(libusb_device_handle *devh, unsigned int reg,
                         unsigned int val);
 SR_PRIV int gl_reg_read(libusb_device_handle *devh, unsigned int reg);
-
+SR_PRIV int gl_reg_read_buf(libusb_device_handle *devh, unsigned int reg,
+                       unsigned char *buf, unsigned int len);
 #endif