aboutsummaryrefslogtreecommitdiff
path: root/include/kpl/base.h
blob: 9420a44b7150871768cc948e4c88ea316e1cb778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * The header for headers included in kpl.h
 */

#pragma once

// System includes
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include <pthread.h>
#include <semaphore.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/uio.h>
#include <sys/param.h>
#include <linux/fs.h>
#include <linux/io_uring.h>
// KPL includes
#include "color.h"
#include "class.h"
#include "object.h"
#include "tree.h"

typedef enum : int32_t {
    KPL_EXIT_CODE_SUCCESS   = 0,
    KPL_EXIT_CODE_ERROR     = 1
} kpl_exit_code;