ReactOS 0.4.16-dev-319-g6cf4263
route.c
Go to the documentation of this file.
1/*
2 * iphlpapi dll implementation -- Setting and storing route information
3 *
4 * These are stubs for functions that set routing information on the target
5 * operating system. They are grouped here because their implementation will
6 * vary widely by operating system.
7 *
8 * Copyright (C) 2004 Art Yerkes
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 */
23
24#include "config.h"
25#include "iphlpapi_private.h"
26
27#include <stdarg.h>
28#include <stdlib.h>
29#include <sys/types.h>
30#ifdef HAVE_NETINET_IN_H
31# include <netinet/in.h>
32#endif
33#ifdef HAVE_ARPA_INET_H
34# include <arpa/inet.h>
35#endif
36#ifdef HAVE_ARPA_NAMESER_H
37# include <arpa/nameser.h>
38#endif
39#ifdef HAVE_RESOLV_H
40# include <resolv.h>
41#endif
42
43#include "windef.h"
44#include "winbase.h"
45#include "winreg.h"
46#include "resinfo.h"
47#include "iphlpapi.h"
48#include "wine/debug.h"
49
51
53 TRACE("pRoute %p\n", pRoute);
54 /* could use SIOCADDRT, not sure I want to */
55 FIXME(":stub\n");
56 return (DWORD) 0;
57}
58
60 FIXME(":stub\n");
61 return (DWORD) 0;
62}
63
65 TRACE("pRoute %p\n", pRoute);
66 /* could use SIOCDELRT, not sure I want to */
67 FIXME(":stub\n");
68 return (DWORD) 0;
69}
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
#define FIXME(fmt,...)
Definition: precomp.h:53
DWORD deleteIpForwardEntry(PMIB_IPFORWARDROW pRoute)
Definition: route.c:64
DWORD setIpForwardEntry(PMIB_IPFORWARDROW pRoute)
Definition: route.c:59
DWORD createIpForwardEntry(PMIB_IPFORWARDROW pRoute)
Definition: route.c:52
unsigned long DWORD
Definition: ntddk_ex.h:95
#define TRACE(s)
Definition: solgame.cpp:4