/programs/develop/libraries/menuetlibc/programs/ld-dll.old/loader.h |
---|
0,0 → 1,23 |
#ifndef __LOADER_H |
#define __LOADER_H |
#include<stdio.h> |
#include<stdlib.h> |
#include<string.h> |
#include<errno.h> |
#include<mcoff/mcoff.h> |
unsigned long kexport_lookup(char * name); |
typedef struct { |
coffobj_t * obj; |
void (* entry_point)(void); |
} dll_t; |
SYMENT * dl_find_dll_symbol(char * name,dll_t ** xdll); |
unsigned long dl_get_ref(char * symname); |
void init_dll(void); |
dll_t * load_dll(char * name); |
int relocate_dlls(void); |
#endif |