ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

resinfo.c
Go to the documentation of this file.
00001 /*
00002  * iphlpapi dll implementation -- Setting and storing route information
00003  *
00004  * These are stubs for functions that set routing information on the target
00005  * operating system.  They are grouped here because their implementation will
00006  * vary widely by operating system.
00007  *
00008  * Copyright (C) 2004 Art Yerkes
00009  * This library is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public
00011  * License as published by the Free Software Foundation; either
00012  * version 2.1 of the License, or (at your option) any later version.
00013  *
00014  * This library is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017  * Lesser General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU Lesser General Public
00020  * License along with this library; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00022  */
00023 
00024 #include "config.h"
00025 #include "iphlpapi_private.h"
00026 
00027 #include <stdarg.h>
00028 #include <stdlib.h>
00029 #include <sys/types.h>
00030 #ifdef HAVE_NETINET_IN_H
00031 # include <netinet/in.h>
00032 #endif
00033 #ifdef HAVE_ARPA_INET_H
00034 # include <arpa/inet.h>
00035 #endif
00036 #ifdef HAVE_ARPA_NAMESER_H
00037 # include <arpa/nameser.h>
00038 #endif
00039 #ifdef HAVE_RESOLV_H
00040 # include <resolv.h>
00041 #endif
00042 
00043 #include "windef.h"
00044 #include "winbase.h"
00045 #include "winreg.h"
00046 #include "resinfo.h"
00047 #include "iphlpapi.h"
00048 #include "wine/debug.h"
00049 
00050 WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
00051 
00052 IPHLP_RES_INFO ResInfo;
00053 
00054 PIPHLP_RES_INFO getResInfo() {
00055     ResInfo.riCount = _res.nscount;
00056     ResInfo.riAddressList = _res.nsaddr_list;
00057     return &ResInfo;
00058 }
00059 
00060 VOID disposeResInfo( PIPHLP_RES_INFO InfoPtr ) {
00061 }

Generated on Sat May 26 2012 04:22:43 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.