some more mqtt stuff
This commit is contained in:
@ -13,10 +13,10 @@ typedef struct {
|
||||
uint32_t bufferWriteIdx;
|
||||
pthread_mutex_t eventMutex;
|
||||
pthread_cond_t eventSignal;
|
||||
} t_ringbuffer;
|
||||
} ringbuffer_t;
|
||||
|
||||
void ringbufferInit(t_ringbuffer *handle);
|
||||
void ringbufferPut(t_ringbuffer *handle, void *f);
|
||||
void *ringbufferGet(t_ringbuffer *handle);
|
||||
void ringbufferInit(ringbuffer_t *handle);
|
||||
void ringbufferPut(ringbuffer_t *handle, void *f);
|
||||
void *ringbufferGet(ringbuffer_t *handle);
|
||||
|
||||
#endif // _RINGBUFFER_H_
|
Reference in New Issue
Block a user