summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'main.h')
-rw-r--r--main.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/main.h b/main.h
index a3b5512..d0cb41b 100644
--- a/main.h
+++ b/main.h
@@ -34,15 +34,15 @@ struct uring_task_buf {
struct uring_task {
const char *name;
- unsigned refcount;
+ unsigned refcount;
int fd;
- void *parent;
- void (*free)(struct uring_task *);
+ struct uring_task *parent;
+ void (*free)(struct uring_task *);
bool dead;
struct uring_task_buf *tbuf;
- callback_t callback;
- rcallback_t complete_callback; /* to check if tbuf processing is done */
- callback_t final_callback; /* once tbuf processing is done */
+ callback_t callback;
+ rcallback_t complete_callback; /* to check if tbuf processing is done */
+ callback_t final_callback; /* once tbuf processing is done */
};
struct cfg {