1
0
forked from 0ad/0ad
0ad/source/lib/sysdep/win/dll_ver.h

27 lines
875 B
C
Raw Normal View History

/**
* =========================================================================
* File : dll_ver.h
* Project : 0 A.D.
* Description : return DLL version information.
* =========================================================================
*/
// license: GPL; see lib/license.txt
#ifndef INCLUDED_DLL_VER
#define INCLUDED_DLL_VER
// note: this module is not re-entrant or thread-safe!
// set output buffer into which DLL names and their versions will be written.
extern void dll_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 dll_list_add(const char* name);
#endif // #ifndef INCLUDED_DLL_VER