aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-08-31 02:31:18 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-12-31 12:20:59 +0100
commit9cba760ba2ca5fd73e34f91bf388fc255dbcd335 (patch)
tree7881333ebca3817bc0db643f6bd88e5a97e22d02 /src
parent40d59f14a240e943205fafe7d2449b286d3b4913 (diff)
procqueue: expose the processing queue struct definition
To be able to use processing queues from outside, the pq struct should be shared in the corresponding header file.
Diffstat (limited to 'src')
-rw-r--r--src/procqueue.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/procqueue.c b/src/procqueue.c
index f54da40..cba6dbb 100644
--- a/src/procqueue.c
+++ b/src/procqueue.c
@@ -23,16 +23,6 @@
#include <osmocom/gapk/procqueue.h>
-#define VAR_BUF_SIZE 320
-#define MAX_PQ_ITEMS 8
-
-struct pq {
- int n_items;
- struct pq_item* items[MAX_PQ_ITEMS];
- void * buffers[MAX_PQ_ITEMS+1];
-};
-
-
/* crate a new (empty) processing queue */
struct pq *
pq_create(void)