summaryrefslogtreecommitdiff
path: root/v4l2-mfc-example/queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'v4l2-mfc-example/queue.h')
-rw-r--r--v4l2-mfc-example/queue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/v4l2-mfc-example/queue.h b/v4l2-mfc-example/queue.h
index 963cf90..a0313f6 100644
--- a/v4l2-mfc-example/queue.h
+++ b/v4l2-mfc-example/queue.h
@@ -42,6 +42,8 @@ int queue_add(struct queue *q, int e);
int queue_remove(struct queue *q);
/* Free the internal queue memory */
void queue_free(struct queue *q);
+/* Check if the queue is empty */
+int queue_empty(struct queue *q);
#endif /* INCLUDE_QUEUE_H */