Voxia OS
v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
library.h
Go to the documentation of this file.
1
#ifndef __PROCC_LIBRARY_H
2
#define __PROCC_LIBRARY_H
3
4
#include <
type.h
>
5
6
enum
LibraryType
{
LIBRARY_TYPE_STATIC
,
LIBRARY_TYPE_DYNAMIC
};
7
8
struct
Library
{
9
char
*
name
;
10
boolean_t
is_loaded
;
11
uintptr_t
entry
;
12
enum
LibraryType
type
;
13
struct
Library
*
next
;
14
};
15
16
void
library_register
(
const
char
*
path
,
enum
LibraryType
type
);
17
struct
Library
*
library_load
(
const
char
*
name
);
18
19
#endif
// __PROCC_LIBRARY_H
name
kstring name
Definition
dentry.h:5
library_register
void library_register(const char *path, enum LibraryType type)
Definition
library.c:14
LibraryType
LibraryType
Definition
library.h:6
LIBRARY_TYPE_DYNAMIC
@ LIBRARY_TYPE_DYNAMIC
Definition
library.h:6
LIBRARY_TYPE_STATIC
@ LIBRARY_TYPE_STATIC
Definition
library.h:6
library_load
struct Library * library_load(const char *name)
Definition
library.c:49
Library
Definition
library.h:8
Library::name
char * name
Definition
library.h:9
Library::is_loaded
boolean_t is_loaded
Definition
library.h:10
Library::type
enum LibraryType type
Definition
library.h:12
Library::next
struct Library * next
Definition
library.h:13
Library::entry
uintptr_t entry
Definition
library.h:11
type.h
boolean_t
uint8_t boolean_t
Definition
type.h:89
uintptr_t
unsigned long uintptr_t
Definition
type.h:73
type
uint8_t type
Definition
vnode.h:2
path
kstring path
Definition
voxmo.h:7
kernel
sys
library.h
Generated on Sat May 30 2026 11:09:57 for Voxia OS by
1.13.2