summaryrefslogtreecommitdiff
path: root/src/kernel/handle.h
blob: aae8937f126676a003633012d76e0297f63121a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include <kernel/types.h>
#include <stddef.h>

#define HANDLE_MAX 16

typedef int handle_t; // TODO duplicated in syscalls.h

enum handle_type {
	HANDLE_EMPTY,
};

struct handle {
	enum handle_type type;
};