epoc32/include/libc/netdb_r.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /*
     1 /*
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8 *
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    15 * Sundry networking-related functions which uses static data areas or other bits of
    15 * Sundry networking-related functions which uses static data areas or other bits of
    16 * nastiness.
    16 * nastiness.
    17 * 
    17 * 
    18 *
    18 *
    19 */
    19 */
    20 
       
    21 
       
    22 
       
    23 
       
    24 
    20 
    25 
    21 
    26 
    22 
    27 /**
    23 /**
    28  @file
    24  @file
    38 #endif
    34 #endif
    39 
    35 
    40 #include <netdb.h>
    36 #include <netdb.h>
    41 #include <reent.h>
    37 #include <reent.h>
    42 #include <sys/socket.h>
    38 #include <sys/socket.h>
    43 #include <netinet/in.h>
    39 #include <libc/netinet/in.h>
    44 
    40 
    45 IMPORT_C char*	_inet_ntoa_r (struct _reent*, struct in_addr);
    41 IMPORT_C char*	_inet_ntoa_r (struct _reent*, struct in_addr);
    46 IMPORT_C struct hostent* _gethostbyaddr_r (struct _reent* rp, const char* addr, int length, int format);
    42 IMPORT_C struct hostent* _gethostbyaddr_r (struct _reent* rp, const char* addr, int length, int format);
    47 IMPORT_C struct hostent* _gethostbyname_r (struct _reent* rp, const char* name);
    43 IMPORT_C struct hostent* _gethostbyname_r (struct _reent* rp, const char* name);
    48 
    44