epoc32/include/stdapis/arpa/inet.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
    25  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    25  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    26  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    26  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    27  * SUCH DAMAGE.
    27  * SUCH DAMAGE.
    28  * -
    28  * -
    29  * Portions Copyright (c) 1993 by Digital Equipment Corporation.
    29  * Portions Copyright (c) 1993 by Digital Equipment Corporation.
    30 * © Portions copyright (c) 2007 Symbian Software Ltd. All rights reserved.
       
    31  * Permission to use, copy, modify, and distribute this software for any
    30  * Permission to use, copy, modify, and distribute this software for any
    32  * purpose with or without fee is hereby granted, provided that the above
    31  * purpose with or without fee is hereby granted, provided that the above
    33  * copyright notice and this permission notice appear in all copies, and that
    32  * copyright notice and this permission notice appear in all copies, and that
    34  * the name of Digital Equipment Corporation not be used in advertising or
    33  * the name of Digital Equipment Corporation not be used in advertising or
    35  * publicity pertaining to distribution of the document or software without
    34  * publicity pertaining to distribution of the document or software without
    41  * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
    40  * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
    42  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
    41  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
    43  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
    42  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
    44  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
    43  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
    45  * SOFTWARE.
    44  * SOFTWARE.
    46  *
    45  * 
       
    46  * Portions Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
    47  *	@(#)inet.h	8.1 (Berkeley) 6/2/93
    47  *	@(#)inet.h	8.1 (Berkeley) 6/2/93
    48  *	From: Id: inet.h,v 8.5 1997/01/29 08:48:09 vixie Exp $
    48  *	From: Id: inet.h,v 8.5 1997/01/29 08:48:09 vixie Exp $
    49  * $FreeBSD: src/include/arpa/inet.h,v 1.25 2002/08/21 16:19:56 mike Exp $
    49  * $FreeBSD: src/include/arpa/inet.h,v 1.25 2002/08/21 16:19:56 mike Exp $
    50  */
    50  */
    51 
    51 
    56 
    56 
    57 #include <sys/cdefs.h>
    57 #include <sys/cdefs.h>
    58 #include <sys/_types.h>
    58 #include <sys/_types.h>
    59 
    59 
    60 /* Required for byteorder(3) functions. */
    60 /* Required for byteorder(3) functions. */
    61 #include <machine/endian.h>
    61 #include <stdapis/machine/endian.h>
    62 
    62 
    63 #ifdef __cplusplus
    63 #ifdef __cplusplus
    64 extern "C" {
    64 extern "C" {
    65 #endif
    65 #endif
    66 #define	INET_ADDRSTRLEN		16
    66 #define	INET_ADDRSTRLEN		16