// DLX Loader V2.91 // Copyright (c) 1997-1998, Nanosoft, Inc. #ifndef __DLX_LOADER_ #define __DLX_LOADER_ #ifndef __cplusplus extern "C++" { #endif typedef long long hdlx_t; extern void* (*DLXOpenFile)(char*); extern void (*DLXCloseFile)(void*); extern void (*DLXReadFile)(void*,long,void*); extern void (*DLXError)(long,char*); extern hdlx_t (*DLXGetID)(char*); extern void* (*DLXMalloc)(unsigned long); extern void (*DLXFree)(void*); extern void (*DLXRealloc)(void*,unsigned long); hdlx_t DLXLoad(char* name); void DLXUnload(hdlx_t handle); void DLXUnload(char* name); void DLXImport(char** symbols); void* DLXGetEntry(hdlx_t target, char* name); void* DLXGetMemoryBlock(hdlx_t target); long DLXGetMemoryBlockLength(hdlx_t target); #ifndef __cplusplus } #endif #endif