original files of m241
This commit is contained in:
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
******************************************************************************
|
||||
* HEADER FILE
|
||||
*
|
||||
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: inet.h,v $ $Revision: 1.1.1.1 $
|
||||
* $Source: /home/interpeak/CVSRoot/ipxinc/include/arpa/inet.h,v $
|
||||
* $Author: lob $ $Date: 2004-08-19 08:55:27 $
|
||||
* $State: Exp $ $Locker: $
|
||||
*
|
||||
* INTERPEAK_COPYRIGHT_STRING
|
||||
* Design and implementation by Lennart Bang <lob@interpeak.se>
|
||||
******************************************************************************
|
||||
*/
|
||||
#ifndef IP_ARPA_INET_H
|
||||
#define IP_ARPA_INET_H
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 2 CONFIGURATION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#include "ipcom_config.h"
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#include "netinet/in.h"
|
||||
|
||||
#include "ipcom_sock.h"
|
||||
#include "ipcom_sock2.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 DEFINE
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 DEFINE
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 5 TYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 6 FUNCTIONS
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
char *inet_ntoa(const struct Ip_in_addr in); /* to trick autoconf */
|
||||
#define inet_ntoa(in) ipcom_inet_ntoa(in)
|
||||
|
||||
#define inet_addr(cp) ipcom_inet_addr(cp)
|
||||
#define inet_aton(cp,addr) ipcom_inet_aton(cp,addr)
|
||||
|
||||
#define inet_pton(family,strptr,addrptr) ipcom_inet_pton(family,(IP_CONST char *)strptr,addrptr)
|
||||
#define inet_ntop(family,addrptr,strptr,len) ipcom_inet_ntop(family,(IP_CONST void *)addrptr,strptr,(Ip_size_t)len)
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user