Sync with trunk head
[reactos.git] / dll / win32 / iphlpapi / dhcp_reactos.c
1 /*
2 * PROJECT: ReactOS Networking
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: lib/iphlpapi/dhcp_reactos.c
5 * PURPOSE: DHCP helper functions for ReactOS
6 * COPYRIGHT: Copyright 2006 Ge van Geldorp <gvg@reactos.org>
7 */
8
9 #include "iphlpapi_private.h"
10 #include "dhcp.h"
11 #include <assert.h>
12
13 #define NDEBUG
14 #include "debug.h"
15
16 DWORD APIENTRY DhcpRosGetAdapterInfo(DWORD AdapterIndex,
17 PBOOL DhcpEnabled,
18 PDWORD DhcpServer,
19 time_t *LeaseObtained,
20 time_t *LeaseExpires);
21
22 DWORD getDhcpInfoForAdapter(DWORD AdapterIndex,
23 PBOOL DhcpEnabled,
24 PDWORD DhcpServer,
25 time_t *LeaseObtained,
26 time_t *LeaseExpires)
27 {
28 return DhcpRosGetAdapterInfo(AdapterIndex, DhcpEnabled, DhcpServer,
29 LeaseObtained, LeaseExpires);
30 }