|
Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
|
#include <type.h>Go to the source code of this file.
Data Structures | |
| struct | Library |
Enumerations | |
| enum | LibraryType { LIBRARY_TYPE_STATIC , LIBRARY_TYPE_DYNAMIC } |
Functions | |
| void | library_register (const char *path, enum LibraryType type) |
| struct Library * | library_load (const char *name) |
| enum LibraryType |
| struct Library * library_load | ( | const char * | name | ) |
Definition at line 49 of file library.c.
References libraries, LOG_INFO, Library::name, name, Library::next, strlen(), and strncmp().
| void library_register | ( | const char * | path, |
| enum LibraryType | type ) |
Definition at line 14 of file library.c.
References kstring::c_str, Library::entry, kalloc(), libraries, LOG_ERROR, LOG_INFO, memset(), dentry::name, Library::name, Library::next, vnode::ops, path, resolve_dentry(), vnode::size, Library::type, type, and dentry::vnode.