voron

experimental ARM OS
git clone git://git.2f30.org/voron
Log | Files | Refs | README | LICENSE

kfifo.h (294B)


      1 #ifndef __KFIFO_H
      2 #define __KFIFO_H
      3 
      4 #include <inttypes.h>
      5 
      6 struct kfifo *init_kfifo(size_t cap);
      7 void free_kfifo(struct kfifo *kfifo);
      8 int enqueue_kfifo(struct kfifo *kfifo, const void *data, size_t siz);
      9 int dequeue_kfifo(struct kfifo *kfifo, void *data, size_t siz);
     10 
     11 #endif /* __KFIFO_H */