view loader/wine/elfdll.h @ 3612:a1522fa7728a

x = malloc(strlen(s) + c) ... strcpy(x, s) replaced by x = strdup(s) Note: sometimes c was 0 and that was a bug Note2: code still has to be added to check the returned value of these funcs
author pl
date Wed, 19 Dec 2001 13:03:22 +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