mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
properly coreexport the getcpu() function etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10184 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
696e90acdb
commit
bc73d93718
@ -20,6 +20,7 @@
|
||||
#endif
|
||||
#else
|
||||
#include <psapi.h>
|
||||
#include "inspircd_win32wrapper.h"
|
||||
#pragma comment(lib, "psapi.lib")
|
||||
#endif
|
||||
|
||||
|
@ -196,22 +196,22 @@ class ValueItem;
|
||||
class ServerConfig;
|
||||
|
||||
/* Look up the nameserver in use from the registry on windows */
|
||||
std::string FindNameServerWin();
|
||||
CoreExport std::string FindNameServerWin();
|
||||
|
||||
/* Clear a windows console */
|
||||
void ClearConsole();
|
||||
CoreExport void ClearConsole();
|
||||
|
||||
DWORD WindowsForkStart(InspIRCd* Instance);
|
||||
CoreExport DWORD WindowsForkStart(InspIRCd* Instance);
|
||||
|
||||
void WindowsForkKillOwner(InspIRCd* Instance);
|
||||
CoreExport void WindowsForkKillOwner(InspIRCd* Instance);
|
||||
|
||||
void ChangeWindowsSpecificPointers(InspIRCd* Instance);
|
||||
CoreExport void ChangeWindowsSpecificPointers(InspIRCd* Instance);
|
||||
|
||||
bool ValidateWindowsDnsServer(ServerConfig* conf, const char* tag, const char* value, ValueItem &data);
|
||||
CoreExport bool ValidateWindowsDnsServer(ServerConfig* conf, const char* tag, const char* value, ValueItem &data);
|
||||
|
||||
bool initwmi();
|
||||
void donewmi();
|
||||
int getcpu();
|
||||
CoreExport bool initwmi();
|
||||
CoreExport void donewmi();
|
||||
CoreExport int getcpu();
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user