]> git.proxmox.com Git - mirror_edk2.git/blame - StdLib/BsdSocketLib/Socklib_internals.h
CorebootModulePkg/PciHostBridgeLib: Fix PCI 64bit memory BAR size issue
[mirror_edk2.git] / StdLib / BsdSocketLib / Socklib_internals.h
CommitLineData
a88c3163 1/*\r
d7ce7006 2 Definitions for the socket library functions that are used internally.\r
3\r
4 Copyright (c) 2011, Intel Corporation\r
5 All rights reserved. This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
a88c3163 13*/\r
d7ce7006 14\r
15#ifndef _SOCKLIB_INTERNALS_H_\r
16#define _SOCKLIB_INTERNALS_H_\r
17\r
a88c3163 18void _sethosthtent (int);\r
19void _endhosthtent (void);\r
20void _sethostdnsent (int);\r
21void _endhostdnsent (void);\r
22void _setnethtent (int);\r
23void _endnethtent (void);\r
24void _setnetdnsent (int);\r
25void _endnetdnsent (void);\r
d7ce7006 26\r
a88c3163 27struct hostent * _gethostbyhtname (const char *, int);\r
28struct hostent * _gethostbydnsname (const char *, int);\r
29struct hostent * _gethostbynisname (const char *, int);\r
30struct hostent * _gethostbyhtaddr (const char *, int, int);\r
31struct hostent * _gethostbydnsaddr (const char *, int, int);\r
32struct hostent * _gethostbynisaddr (const char *, int, int);\r
33struct netent * _getnetbyhtname (const char *);\r
34struct netent * _getnetbydnsname (const char *);\r
35struct netent * _getnetbynisname (const char *);\r
36struct netent * _getnetbyhtaddr (unsigned long, int);\r
37struct netent * _getnetbydnsaddr (unsigned long, int);\r
38struct netent * _getnetbynisaddr (unsigned long, int);\r
39void _map_v4v6_address (const char *src, char *dst);\r
40void _map_v4v6_hostent (struct hostent *hp, char **bp, int *len);\r
d7ce7006 41#endif\r
42\r