Ignore:
Timestamp:
May 19, 2003, 4:41:00 AM (22 years ago)
Author:
bird
Message:

#434: Initial tcpip header merges.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/arpa/inet.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r182 r183  
    11/* Modified for emx by hv and em 1994
     2 * Modified for gcc/os2 by bird 2003
    23 *
    34 * Copyright (c) 1983 Regents of the University of California.
     
    4445
    4546/* External definitions for functions in inet(3) */
    46 extern u_long           inet_addr(__const__ char*);
    47 extern u_long           inet_lnaof(struct in_addr);
    48 extern struct in_addr   inet_makeaddr(u_long, u_long);
    49 extern u_long           inet_netof(struct in_addr);
    50 extern u_long           inet_network(__const__ char*);
    51 extern char*            inet_ntoa(struct in_addr);
     47
     48#ifndef TCPV40HDRS
     49#include <sys/param.h>
     50#include <sys/types.h>
     51#include <sys/cdefs.h>
     52int             _System inet_aton (const char *, struct in_addr *);
     53char *          _System inet_neta (u_long, char *, size_t);
     54char *          _System inet_net_ntop (int, const void *, int, char *, size_t);
     55int             _System inet_net_pton (int, const char *, void *, size_t);
     56int             _System inet_pton (int af, const char *src, void *dst);
     57const char *    _System inet_ntop (int af, const void *src, char *dst, size_t s);
     58u_int           _System inet_nsap_addr (const char *, u_char *, int maxlen);
     59char *          _System inet_nsap_ntoa (int, const u_char *, char *ascii);
     60#endif
     61
     62extern u_long   _System inet_addr(__const__ char*);
     63extern u_long   _System inet_lnaof(struct in_addr);
     64extern struct in_addr _System inet_makeaddr(u_long, u_long);
     65extern u_long   _System inet_netof(struct in_addr);
     66extern u_long   _System inet_network(__const__ char*);
     67extern char*    _System inet_ntoa(struct in_addr);
    5268
    5369#if defined (__cplusplus)
Note: See TracChangeset for help on using the changeset viewer.