aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/gapk/procqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/gapk/procqueue.h')
-rw-r--r--include/osmocom/gapk/procqueue.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/osmocom/gapk/procqueue.h b/include/osmocom/gapk/procqueue.h
index dfd0db1..f5b8d53 100644
--- a/include/osmocom/gapk/procqueue.h
+++ b/include/osmocom/gapk/procqueue.h
@@ -24,6 +24,12 @@
#include <osmocom/core/linuxlist.h>
+enum osmo_gapk_pq_item_type {
+ OSMO_GAPK_ITEM_TYPE_SOURCE,
+ OSMO_GAPK_ITEM_TYPE_SINK,
+ OSMO_GAPK_ITEM_TYPE_PROC,
+};
+
struct osmo_gapk_pq_item {
/*! input frame size (in bytes). '0' in case of variable frames */
unsigned int len_in;
@@ -45,6 +51,8 @@ struct osmo_gapk_pq_item {
/*! \brief link to a processing queue */
struct llist_head list;
+ /*! \brief type of item */
+ enum osmo_gapk_pq_item_type type;
};
#define VAR_BUF_SIZE 320