Protos for roken_gethostbyaddr', roken_gethostbyname', and
				
					
				
			`roken_gethostby_setup'. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4581 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -1,3 +1,4 @@ | |||||||
|  | /* -*- C -*- */ | ||||||
| /* | /* | ||||||
|  * Copyright (c) 1995, 1996, 1997, 1998 Kungliga Tekniska H<>gskolan |  * Copyright (c) 1995, 1996, 1997, 1998 Kungliga Tekniska H<>gskolan | ||||||
|  * (Royal Institute of Technology, Stockholm, Sweden). |  * (Royal Institute of Technology, Stockholm, Sweden). | ||||||
| @@ -333,6 +334,11 @@ extern const char *__progname; | |||||||
|  * kludges and such |  * kludges and such | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
|  | #if 1 | ||||||
|  | int roken_gethostby_setup(const char*, const char*); | ||||||
|  | struct hostent* roken_gethostbyname(const char*); | ||||||
|  | struct hostent* roken_gethostbyaddr(const void*, size_t, int); | ||||||
|  | #else | ||||||
| #ifdef GETHOSTBYNAME_PROTO_COMPATIBLE | #ifdef GETHOSTBYNAME_PROTO_COMPATIBLE | ||||||
| #define roken_gethostbyname(x) gethostbyname(x) | #define roken_gethostbyname(x) gethostbyname(x) | ||||||
| #else | #else | ||||||
| @@ -344,6 +350,7 @@ extern const char *__progname; | |||||||
| #else | #else | ||||||
| #define roken_gethostbyaddr(a, l, t) gethostbyaddr((char *)a, l, t) | #define roken_gethostbyaddr(a, l, t) gethostbyaddr((char *)a, l, t) | ||||||
| #endif | #endif | ||||||
|  | #endif | ||||||
|  |  | ||||||
| #ifdef GETSERVBYNAME_PROTO_COMPATIBLE | #ifdef GETSERVBYNAME_PROTO_COMPATIBLE | ||||||
| #define roken_getservbyname(x,y) getservbyname(x,y) | #define roken_getservbyname(x,y) getservbyname(x,y) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Johan Danielsson
					Johan Danielsson