diff options
author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-07-17 12:25:16 +0000 |
---|---|---|
committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-07-17 12:25:16 +0000 |
commit | 7c6861acc7b300082006791147e290c221e2ec70 (patch) | |
tree | 029c96a1093abfffa513aee77974d5b43310758a /include/symbols.h | |
parent | d66b593c083a3e2e53dbb4c0d193242055f1acf1 (diff) | |
download | zabbix-7c6861acc7b300082006791147e290c221e2ec70.tar.gz zabbix-7c6861acc7b300082006791147e290c221e2ec70.tar.xz zabbix-7c6861acc7b300082006791147e290c221e2ec70.zip |
DLL symbols importing added (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3054 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/symbols.h')
-rwxr-xr-x | include/symbols.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/symbols.h b/include/symbols.h new file mode 100755 index 00000000..8fb83c2e --- /dev/null +++ b/include/symbols.h @@ -0,0 +1,38 @@ +/* +** ZABBIX +** Copyright (C) 2000-2005 SIA Zabbix +** +** This program is free software; you can redistribute it and/or modify +** it under the terms of the GNU General Public License as published by +** the Free Software Foundation; either version 2 of the License, or +** (at your option) any later version. +** +** This program is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +** GNU General Public License for more details. +** +** You should have received a copy of the GNU General Public License +** along with this program; if not, write to the Free Software +** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +**/ + +#ifndef ZABBIX_SYMBOLS_H +#define ZABBIX_SYMBOLS_H + +#if defined (WIN32) + +DWORD (__stdcall *zbx_GetGuiResources)(HANDLE,DWORD); +BOOL (__stdcall *zbx_GetProcessIoCounters)(HANDLE,PIO_COUNTERS); +BOOL (__stdcall *zbx_GetPerformanceInfo)(PPERFORMANCE_INFORMATION,DWORD); +BOOL (__stdcall *zbx_GlobalMemoryStatusEx)(LPMEMORYSTATUSEX); + +void import_symbols(void); + +#else /* not WIN32 */ + +# define import_symbols() + +#endif /* WIN32 */ + +#endif /* ZABBIX_SYMBOLS_H */ |