makefiles: Don't use standard libs for programs that specify -nodefaultlibs.
[wine/zf.git] / dlls / iphlpapi / ipstats.h
blob68bcb9c9ad8362c21cd9bad46f1e25a2d956304b
1 /* ipstats.h
2 * Copyright (C) 2003,2006 Juan Lang
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 * This module implements functions that get network-related statistics.
19 * It's meant to hide some platform-specificisms.
21 #ifndef WINE_IPSTATS_H_
22 #define WINE_IPSTATS_H_
24 #include <stdarg.h>
26 #include "windef.h"
27 #include "winbase.h"
28 #include "iprtrmib.h"
30 /* Fills in entry's interface stats, using name to find them.
31 * Returns ERROR_INVALID_PARAMETER if name or entry is NULL, NO_ERROR otherwise.
33 DWORD getInterfaceStatsByName(const char *name, PMIB_IFROW entry) DECLSPEC_HIDDEN;
35 DWORD build_tcp_table(TCP_TABLE_CLASS, void **, BOOL, HANDLE, DWORD, DWORD *) DECLSPEC_HIDDEN;
36 DWORD build_tcp6_table(TCP_TABLE_CLASS, void **, BOOL, HANDLE, DWORD, DWORD *) DECLSPEC_HIDDEN;
37 DWORD build_udp_table(UDP_TABLE_CLASS, void **, BOOL, HANDLE, DWORD, DWORD *) DECLSPEC_HIDDEN;
38 DWORD build_udp6_table(UDP_TABLE_CLASS, void **, BOOL, HANDLE, DWORD, DWORD *) DECLSPEC_HIDDEN;
40 #endif /* ndef WINE_IPSTATS_H_ */