gsmtap.h: Add GSMTAP_TYPE_SIM
[osmocom-bb.git] / include / osmocore / write_queue.h
index c84000c..ef244c3 100644 (file)
@@ -35,9 +35,11 @@ struct write_queue {
 
        int (*read_cb)(struct bsc_fd *fd);
        int (*write_cb)(struct bsc_fd *fd, struct msgb *msg);
+       int (*except_cb)(struct bsc_fd *fd);
 };
 
 void write_queue_init(struct write_queue *queue, int max_length);
+void write_queue_clear(struct write_queue *queue);
 int write_queue_enqueue(struct write_queue *queue, struct msgb *data);
 int write_queue_bfd_cb(struct bsc_fd *fd, unsigned int what);