feat: reformatted code base to be more standard
This commit is contained in:
19
include/myke/libc/ringqueue.h
Normal file
19
include/myke/libc/ringqueue.h
Normal file
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// Created by rick on 30-01-21.
|
||||
//
|
||||
|
||||
#ifndef NEW_KERNEL_RINGQUEUE_H
|
||||
#define NEW_KERNEL_RINGQUEUE_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
void *create_buffer(int count, int object_size);
|
||||
|
||||
void free_buffer(void *buffer);
|
||||
|
||||
void ring_buffer_put(void *buffer, void *item);
|
||||
|
||||
bool ring_buffer_get(void *buffer, void *target);
|
||||
|
||||
#endif //NEW_KERNEL_RINGQUEUE_H
|
||||
Reference in New Issue
Block a user