summary refs log tree commit diff stats
path: root/include/qemu/fifo8.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qemu/fifo8.h')
-rw-r--r--include/qemu/fifo8.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/qemu/fifo8.h b/include/qemu/fifo8.h
index bca6da306f..d1d06754d8 100644
--- a/include/qemu/fifo8.h
+++ b/include/qemu/fifo8.h
@@ -132,6 +132,15 @@ const uint8_t *fifo8_pop_bufptr(Fifo8 *fifo, uint32_t max, uint32_t *numptr);
 const uint8_t *fifo8_peek_bufptr(Fifo8 *fifo, uint32_t max, uint32_t *numptr);
 
 /**
+ * fifo8_drop:
+ * @fifo: FIFO to drop bytes
+ * @len: number of bytes to drop
+ *
+ * Drop (consume) bytes from a FIFO.
+ */
+void fifo8_drop(Fifo8 *fifo, uint32_t len);
+
+/**
  * fifo8_reset:
  * @fifo: FIFO to reset
  *