forked from 0ad/0ad
janwas
b879e344f1
revamp module init: no more atexit and "premain" init => no longer need to call any wstartup init function. winit section names now use group numbers instead of letters. delay_load -> wdll_delay_load dll_ver -> wdll_ver add aken build environment cleanup wsock.cpp, have it import its functions properly wsdl: defend against GameSetup calling SDL_Quit twice. This was SVN commit r5108.
27 lines
876 B
C
27 lines
876 B
C
/**
|
|
* =========================================================================
|
|
* File : wdll_ver.h
|
|
* Project : 0 A.D.
|
|
* Description : return DLL version information
|
|
* =========================================================================
|
|
*/
|
|
|
|
// license: GPL; see lib/license.txt
|
|
|
|
#ifndef INCLUDED_WDLL_VER
|
|
#define INCLUDED_WDLL_VER
|
|
|
|
// WARNING: not re-entrant or thread-safe!
|
|
|
|
// set output buffer into which DLL names and their versions will be written.
|
|
extern void wdll_ver_list_init(char* buf, size_t chars);
|
|
|
|
// read DLL file version and append that and its name to the list.
|
|
//
|
|
// name should preferably be the complete path to DLL, to make sure
|
|
// we don't inadvertently load another one on the library search path.
|
|
// we add the .dll extension if necessary.
|
|
extern LibError wdll_ver_list_add(const char* name);
|
|
|
|
#endif // #ifndef INCLUDED_WDLL_VER
|