2 * WSOCK32 specific functions
4 * Copyright (C) 2001 Stefan Leichter
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 #ifdef HAVE_ARPA_INET_H
30 #include <arpa/inet.h>
40 #include "wine/unicode.h"
41 #include "wine/debug.h"
43 WINE_DEFAULT_DEBUG_CHANNEL(winsock);
45 /*****************************************************************************
46 * inet_network [WSOCK32.1100]
48 UINT WINAPI WSOCK32_inet_network(const char *cp)
50 #ifdef HAVE_INET_NETWORK
51 return inet_network(cp);
57 /*****************************************************************************
58 * getnetbyname [WSOCK32.1101]
60 struct netent * WINAPI WSOCK32_getnetbyname(const char *name)
62 #ifdef HAVE_GETNETBYNAME
63 return getnetbyname(name);