/* Ported to GNU C openVMS/Alpha by Klaus Kämpf, kkaempf@progis.de */ #ifndef _ARPA_INET_H #define _ARPA_INET_H 1 #include /* Some of these functions are not properly prototyped because the interface is poorly defined, and many programs use int's and struct in_addr's interchangeably. */ int inet_addr (char *cp) __asm ("DECC$INET_ADDR"); int inet_network (char *cp) __asm ("DECC$INET_NETWORK"); char *inet_ntoa(struct in_addr in) __asm ("DECC$INET_NTOA"); struct in_addr inet_makeaddr(int net, int lna) __asm ("DECC$INET_MAKEADDR"); int inet_lnaof(struct in_addr in) __asm ("DECC$INET_LNAOF"); int inet_netof(struct in_addr in) __asm ("DECC$INET_NETOF"); #endif /* _ARPA_INET_H */