Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
library.h File Reference
#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 Librarylibrary_load (const char *name)
 

Enumeration Type Documentation

◆ LibraryType

Enumerator
LIBRARY_TYPE_STATIC 
LIBRARY_TYPE_DYNAMIC 

Definition at line 6 of file library.h.

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 )