"Fossies" - the Fresh Open Source Software Archive

Member "usr/include/arpa/inet.h" (19 Aug 2019, 793 Bytes) of package /windows/misc/cygwin-20190819-x86.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* arpa/inet.h
    2 
    3 This file is part of Cygwin.
    4 
    5 This software is a copyrighted work licensed under the terms of the
    6 Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
    7 details. */
    8 
    9 #ifndef _ARPA_INET_H
   10 #define _ARPA_INET_H
   11 
   12 #include <netinet/in.h>
   13 
   14 #ifdef __cplusplus
   15 extern "C"
   16 {
   17 #endif
   18 
   19 #ifndef __INSIDE_CYGWIN_NET__
   20 in_addr_t inet_addr (const char *);
   21 int inet_aton (const char *, struct in_addr *);
   22 in_addr_t inet_lnaof (struct in_addr);
   23 struct in_addr inet_makeaddr (unsigned long , unsigned long);
   24 in_addr_t inet_netof (struct in_addr);
   25 in_addr_t inet_network (const char *);
   26 char *inet_ntoa (struct in_addr);
   27 int inet_pton (int, const char *, void *);
   28 const char *inet_ntop (int, const void *, char *, socklen_t);
   29 #endif
   30 
   31 #ifdef __cplusplus
   32 };
   33 #endif
   34 
   35 #endif /* _ARPA_INET_H */