You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
256 B

#ifndef QUEUE_H
#define QUEUE_H
struct queue_t;
struct queue_t *queue_new(void);
void queue_delete(struct queue_t *queue);
int queue_produce(struct queue_t *queue, void *data);
int queue_consume(struct queue_t *queue, void **data);
#endif /* QUEUE_H */