2 * iphlpapi dll implementation -- Auxiliary icmp functions
4 * These are stubs for functions that provide a simple ICMP probing API. They
5 * will be operating system specific when implemented.
7 * Copyright (C) 2004 Art Yerkes
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #include "iphlpapi_private.h"
28 #include <sys/types.h>
29 #ifdef HAVE_NETINET_IN_H
30 # include <netinet/in.h>
32 #ifdef HAVE_ARPA_INET_H
33 # include <arpa/inet.h>
35 #ifdef HAVE_ARPA_NAMESER_H
36 # include <arpa/nameser.h>
47 #include "wine/debug.h"
49 WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi
);
51 PIPHLP_RES_INFO
getResInfo() {
52 PIPHLP_RES_INFO InfoPtr
=
53 (PIPHLP_RES_INFO
)HeapAlloc( GetProcessHeap(), 0,
54 sizeof(PIPHLP_RES_INFO
) );
57 InfoPtr
->riAddressList
= (LPSOCKADDR
)0;
63 VOID
disposeResInfo( PIPHLP_RES_INFO InfoPtr
) {
64 HeapFree( GetProcessHeap(), 0, InfoPtr
);