#ifndef __P_QUEUE_H__ #define __P_QUEUE_H__ #include typedef enum PB_Q_STATUS { PB_Q_GOOD = 0, PB_Q_BAD = 1, // generic bad PB_Q_BAD_LENGTH = 2, PB_Q_NULL_BUFFER = 3, PB_Q_NULL_QUEUE = 4 } PB_Q_STATUS; typedef struct p_queue { uint8_t *elements; ssize_t len; } p_queue; #endif