view loader/wine/elfdll.h @ 19208:99d6ca895c46

Avoid large amounts of data on the stack (> 900k on 64 bit systems). Patch by Tobias Diedrich (ranma at tdiedrich de) with minor modifications by me.
author reimar
date Fri, 28 Jul 2006 13:50:08 +0000
parents 3b5f5d1c5041
children 93b87066f9da
line wrap: on
line source

#ifndef __WINE_ELFDLL_H
#define __WINE_ELFDLL_H

#include "module.h"
#include "windef.h"

WINE_MODREF *ELFDLL_LoadLibraryExA(LPCSTR libname, DWORD flags);
HINSTANCE16 ELFDLL_LoadModule16(LPCSTR libname);
void ELFDLL_UnloadLibrary(WINE_MODREF *wm);

void *ELFDLL_dlopen(const char *libname, int flags);
extern char *extra_ld_library_path;

#endif