equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Sundry networking-related functions which uses static data areas or other bits of |
|
16 * nastiness. |
|
17 * |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 /** |
|
24 @file |
|
25 @publishedAll |
|
26 @released |
|
27 */ |
|
28 |
|
29 #ifndef _NETDB_R_H_ |
|
30 #define _NETDB_R_H_ |
|
31 |
|
32 #ifdef __cplusplus |
|
33 extern "C" { |
|
34 #endif |
|
35 |
|
36 #include <netdb.h> |
|
37 #include <reent.h> |
|
38 #include <sys/socket.h> |
|
39 #include <libc/netinet/in.h> |
|
40 |
|
41 IMPORT_C char* _inet_ntoa_r (struct _reent*, struct in_addr); |
|
42 IMPORT_C struct hostent* _gethostbyaddr_r (struct _reent* rp, const char* addr, int length, int format); |
|
43 IMPORT_C struct hostent* _gethostbyname_r (struct _reent* rp, const char* name); |
|
44 |
|
45 #ifdef __cplusplus |
|
46 } |
|
47 #endif |
|
48 |
|
49 #endif /* !_NETDB_R_H_ */ |