]>
Commit | Line | Data |
---|---|---|
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 | 18 | void _sethosthtent (int);\r |
19 | void _endhosthtent (void);\r | |
20 | void _sethostdnsent (int);\r | |
21 | void _endhostdnsent (void);\r | |
22 | void _setnethtent (int);\r | |
23 | void _endnethtent (void);\r | |
24 | void _setnetdnsent (int);\r | |
25 | void _endnetdnsent (void);\r | |
d7ce7006 | 26 | \r |
a88c3163 | 27 | struct hostent * _gethostbyhtname (const char *, int);\r |
28 | struct hostent * _gethostbydnsname (const char *, int);\r | |
29 | struct hostent * _gethostbynisname (const char *, int);\r | |
30 | struct hostent * _gethostbyhtaddr (const char *, int, int);\r | |
31 | struct hostent * _gethostbydnsaddr (const char *, int, int);\r | |
32 | struct hostent * _gethostbynisaddr (const char *, int, int);\r | |
33 | struct netent * _getnetbyhtname (const char *);\r | |
34 | struct netent * _getnetbydnsname (const char *);\r | |
35 | struct netent * _getnetbynisname (const char *);\r | |
36 | struct netent * _getnetbyhtaddr (unsigned long, int);\r | |
37 | struct netent * _getnetbydnsaddr (unsigned long, int);\r | |
38 | struct netent * _getnetbynisaddr (unsigned long, int);\r | |
39 | void _map_v4v6_address (const char *src, char *dst);\r | |
40 | void _map_v4v6_hostent (struct hostent *hp, char **bp, int *len);\r | |
d7ce7006 | 41 | #endif\r |
42 | \r |