Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
library.c File Reference
#include "./library.h"
#include "vfs/dentry.h"
#include "vfs/vnode.h"
#include <hal/cpu/paging.h>
#include <libk/executable/elf.h>
#include <libk/serial.h>
#include <str.h>
#include <memory/memory_utils.h>
#include <memory/phys_base_allocator.h>
#include <vfs/vfs.h>

Go to the source code of this file.

Functions

void library_register (const char *path, enum LibraryType type)
 
struct Librarylibrary_load (const char *name)
 

Variables

static struct Librarylibraries = 0
 

Function Documentation

◆ library_load()

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().

◆ library_register()

void library_register ( const char * path,
enum LibraryType type )

Variable Documentation

◆ libraries

struct Library* libraries = 0
static

Definition at line 12 of file library.c.

Referenced by library_load(), and library_register().