home *** CD-ROM | disk | FTP | other *** search
- /********************************************************copyrite.xmc***/
- /* */
- /* Licensed Materials - Property of IBM */
- /* */
- /* This module is "Restricted Materials of IBM": */
- /* Program Number: 5798RXW */
- /* Program Name: IBM TCP/IP Version 1.2 for OS/2 */
- /* (C) Copyright IBM Corporation. 1990, 1991. */
- /* */
- /* See IBM Copyright Instructions. */
- /* */
- /********************************************************copyrite.xmc***/
- /* IBM COPYRIGHT 1989 */
- #ifndef __32BIT__
- #define _Packed
- #define _Seg16
- #define _Far16
- #define _Cdecl
- #endif
-
- #ifndef _TIMEVAL
- #define _TIMEVAL
- struct timeval {
- unsigned long tv_sec;
- unsigned long tv_usec;
- };
-
- struct timezone {
- unsigned short tmz;
- };
- #endif
-
- struct hostent * _Seg16 _Far16 _Cdecl gethostbyaddr(char * _Seg16, short, short);
- struct hostent * _Seg16 _Far16 _Cdecl gethostent(void) ;
- void _Far16 _Cdecl endhostent(void);
- struct hostent * _Seg16 _Far16 _Cdecl gethostbyname(char * _Seg16);
-
- u_long _Far16 _Cdecl inet_addr(char * _Seg16 );
- struct in_addr _Far16 _Cdecl inet_makeaddr(u_long, u_long);
- u_long _Far16 _Cdecl inet_network(char * _Seg16 );
- char * _Seg16 _Far16 _Cdecl inet_ntoa(struct in_addr);
- u_long _Far16 _Cdecl inet_lnaof(struct in_addr);
- u_long _Far16 _Cdecl inet_netof(struct in_addr);
- u_long _Far16 _Cdecl gethostid(void);
- short _Far16 _Cdecl tcperrno(void);
-
- _Packed struct netent * _Seg16 _Far16 _Cdecl getnetbyname(char * _Seg16 );
- _Packed struct netent * _Seg16 _Far16 _Cdecl getnetent(void);
- void _Far16 _Cdecl endnetent(void);
- _Packed struct protoent * _Seg16 _Far16 _Cdecl getprotobyname(char * _Seg16 );
- _Packed struct servent * _Seg16 _Far16 _Cdecl getservbyport(short, char * _Seg16 );
- _Packed struct servent * _Seg16 _Far16 _Cdecl getservbyname( char * _Seg16 , char * _Seg16 );
- _Packed struct servent * _Seg16 _Far16 _Cdecl getservent(void);
- void _Far16 _Cdecl endservent(void);
- _Packed struct netent * _Seg16 _Far16 _Cdecl getnetbyname(char * _Seg16 );
- _Packed struct netent * _Seg16 _Far16 _Cdecl getnetbyaddr(unsigned long, short);
-
- char * _Seg16 _Far16 _Cdecl rindex(char * _Seg16 , char);
- #define SIGALRM 0
- short _Far16 _Cdecl gettimeofday(struct timeval * _Seg16 ,_Packed struct timezone * _Seg16 );
- short _Far16 _Cdecl dn_expand(u_char * _Seg16 , u_char * _Seg16 , u_char * _Seg16 , u_char * _Seg16 , short);
- short _Far16 _Cdecl dn_comp(u_char * _Seg16 , u_char * _Seg16 , short, u_char * _Seg16 * _Seg16 , u_char * _Seg16 * _Seg16 );
- short _Far16 _Cdecl dn_skipname(u_char * _Seg16 , u_char * _Seg16 );
- u_short _Far16 _Cdecl _getshort( u_char * _Seg16 );
- u_long _Far16 _Cdecl _getlong( u_char * _Seg16 );
- short _Far16 _Cdecl putshort(u_short , u_char * _Seg16 );
- short _Far16 _Cdecl putlong( u_long , u_char * _Seg16 );
- short _Far16 _Cdecl p_query( char * _Seg16 );
- char * _Seg16 _Far16 _Cdecl p_type(short);
- char * _Seg16 _Far16 _Cdecl p_class(short);
- char * _Seg16 _Far16 _Cdecl p_time(u_long);
- short _Far16 _Cdecl res_init(void);
- short _Far16 _Cdecl res_mkquery(short, char * _Seg16 , short, short, char * _Seg16 , short, void * _Seg16 , char * _Seg16 , short);
- short _Far16 _Cdecl res_send(char * _Seg16 , short, char * _Seg16 , short);
- short _Far16 _Cdecl _res_close(void);
- short _Far16 _Cdecl res_query(char * _Seg16 , short, short, u_char * _Seg16 , short);
- short _Far16 _Cdecl res_search(char * _Seg16 , short, short, u_char * _Seg16 , short);
- short _Far16 _Cdecl res_querydomain(char * _Seg16 , char * _Seg16 , short, short, u_char * _Seg16 , short);
- char * _Seg16 _Far16 _Cdecl hostalias( char * _Seg16 );