2018-02-25 11:14:43 +03:00
|
|
|
#pragma once
|
|
|
|
|
2018-10-12 05:15:40 +03:00
|
|
|
#include <_cheader.h>
|
|
|
|
|
|
|
|
_Begin_C_Header
|
|
|
|
|
2018-09-01 16:14:34 +03:00
|
|
|
/* Currently unused... */
|
|
|
|
#define RTLD_LAZY (1 << 0)
|
|
|
|
#define RTLD_NOW (1 << 1)
|
|
|
|
#define RTLD_GLOBAL (1 << 2)
|
2018-02-25 11:14:43 +03:00
|
|
|
|
2018-09-01 16:14:34 +03:00
|
|
|
#define RTLD_DEFAULT ((void*)0)
|
2018-02-25 11:14:43 +03:00
|
|
|
|
2018-09-01 16:14:34 +03:00
|
|
|
/* Provided by ld.so, but also defined by libc.so for linking */
|
2018-02-25 11:14:43 +03:00
|
|
|
extern void * dlopen(const char *, int);
|
|
|
|
extern int dlclose(void *);
|
|
|
|
extern void * dlsym(void *, const char *);
|
|
|
|
extern char * dlerror(void);
|
|
|
|
|
2018-10-12 05:15:40 +03:00
|
|
|
_End_C_Header
|