dnsapi: Make the resolv_*() functions static.
[wine.git] / include / icmpapi.h
blobe27d0556c4fec53f6c825ff82d32d94431093442
1 /*
2 * Interface to the ICMP functions.
4 * Copyright (C) 1999 Francois Gouget
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_ICMPAPI_H
22 #define __WINE_ICMPAPI_H
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
29 HANDLE WINAPI IcmpCreateFile(
30 VOID
33 HANDLE WINAPI Icmp6CreateFile(
34 VOID
37 BOOL WINAPI IcmpCloseHandle(
38 HANDLE IcmpHandle
41 DWORD WINAPI IcmpParseReplies(
42 LPVOID ReplyBuffer,
43 DWORD ReplySize
46 DWORD WINAPI Icmp6ParseReplies(
47 LPVOID ReplyBuffer,
48 DWORD ReplySize
51 DWORD WINAPI IcmpSendEcho(
52 HANDLE IcmpHandle,
53 IPAddr DestinationAddress,
54 LPVOID RequestData,
55 WORD RequestSize,
56 PIP_OPTION_INFORMATION RequestOptions,
57 LPVOID ReplyBuffer,
58 DWORD ReplySize,
59 DWORD Timeout
62 DWORD WINAPI IcmpSendEcho2(
63 HANDLE IcmpHandle,
64 HANDLE Event,
65 #ifdef __WINE_WINTERNL_H
66 PIO_APC_ROUTINE ApcRoutine,
67 #else
68 FARPROC ApcRoutine,
69 #endif
70 PVOID ApcContext,
71 IPAddr DestinationAddress,
72 LPVOID RequestData,
73 WORD RequestSize,
74 PIP_OPTION_INFORMATION RequestOptions,
75 LPVOID ReplyBuffer,
76 DWORD ReplySize,
77 DWORD Timeout
80 DWORD WINAPI IcmpSendEcho2Ex(
81 HANDLE IcmpHandle,
82 HANDLE Event,
83 #ifdef __WINE_WINTERNL_H
84 PIO_APC_ROUTINE ApcRoutine,
85 #else
86 FARPROC ApcRoutine,
87 #endif
88 PVOID ApcContext,
89 IPAddr SourceAddress,
90 IPAddr DestinationAddress,
91 LPVOID RequestData,
92 WORD RequestSize,
93 PIP_OPTION_INFORMATION RequestOptions,
94 LPVOID ReplyBuffer,
95 DWORD ReplySize,
96 DWORD Timeout
99 DWORD WINAPI Icmp6SendEcho2(
100 HANDLE IcmpHandle,
101 HANDLE Event,
102 #ifdef __WINE_WINTERNL_H
103 PIO_APC_ROUTINE ApcRoutine,
104 #else
105 FARPROC ApcRoutine,
106 #endif
107 PVOID ApcContext,
108 struct sockaddr_in6* SourceAddress,
109 struct sockaddr_in6* DestinationAddress,
110 LPVOID RequestData,
111 WORD RequestSize,
112 PIP_OPTION_INFORMATION RequestOptions,
113 LPVOID ReplyBuffer,
114 DWORD ReplySize,
115 DWORD Timeout
119 #ifdef __cplusplus
121 #endif
123 #endif /* __WINE_ICMPAPI_H */