0ad/source/lib/sysdep/win/wdll_ver.h
janwas b879e344f1 make sure winit shutdown actually happens during self-test (fixes leaks and possibly failure to unload driver)
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.
2007-05-28 15:08:33 +00:00

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