epoc32/include/stdapis/netdb.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /* NETDB.H
     1 /* NETDB.H
     2  * © Portions copyright (c) 2007 Symbian Software Ltd. All rights reserved.
       
     3  * Copyright (c) 1980, 1983, 1988, 1993
     2  * Copyright (c) 1980, 1983, 1988, 1993
     4  *	The Regents of the University of California.  All rights reserved.
     3  *	The Regents of the University of California.  All rights reserved.
     5  *
     4  *
     6  * Redistribution and use in source and binary forms, with or without
     5  * Redistribution and use in source and binary forms, with or without
     7  * modification, are permitted provided that the following conditions
     6  * modification, are permitted provided that the following conditions
    44  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
    43  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
    45  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
    44  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
    46  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
    45  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
    47  * SOFTWARE.
    46  * SOFTWARE.
    48  * -
    47  * -
       
    48  * Portions Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
    49  * --Copyright--
    49  * --Copyright--
    50  */
    50  */
    51 
    51 
    52 /*
    52 /*
    53  *      @(#)netdb.h	8.1 (Berkeley) 6/2/93
    53  *      @(#)netdb.h	8.1 (Berkeley) 6/2/93
    96 #define	_PATH_NETWORKS	"/etc/networks"
    96 #define	_PATH_NETWORKS	"/etc/networks"
    97 #define	_PATH_PROTOCOLS	"/etc/protocols"
    97 #define	_PATH_PROTOCOLS	"/etc/protocols"
    98 #define	_PATH_SERVICES	"/etc/services"
    98 #define	_PATH_SERVICES	"/etc/services"
    99 #define	h_errno (*__h_error())
    99 #define	h_errno (*__h_error())
   100 #else
   100 #else
   101 #define	_PATH_SERVICES	"\\resource\\services"
   101 #define	_PATH_SERVICES	"\\resource\\openc\\services"
   102 #define	_PATH_SERVICES_TARGET	"z:\\resource\\services"
       
   103 #define h_errno	errno
   102 #define h_errno	errno
   104 #endif
   103 #endif
   105 
   104 
   106 
   105 
   107 /*
   106 /*