move up roken-common.h again.
and move roken_getaddrinfo_hostspec here git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7945 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -123,6 +123,8 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <roken-common.h>
|
||||||
|
|
||||||
#if !defined(HAVE_SETSID) && defined(HAVE__SETSID)
|
#if !defined(HAVE_SETSID) && defined(HAVE__SETSID)
|
||||||
#define setsid _setsid
|
#define setsid _setsid
|
||||||
#endif
|
#endif
|
||||||
@@ -519,6 +521,9 @@ getnameinfo_verified(const struct sockaddr *sa, socklen_t salen,
|
|||||||
char *serv, size_t servlen,
|
char *serv, size_t servlen,
|
||||||
int flags);
|
int flags);
|
||||||
|
|
||||||
|
int
|
||||||
|
roken_getaddrinfo_hostspec(const char *, int, struct addrinfo **);
|
||||||
|
|
||||||
#ifndef HAVE_STRFTIME
|
#ifndef HAVE_STRFTIME
|
||||||
size_t
|
size_t
|
||||||
strftime (char *buf, size_t maxsize, const char *format,
|
strftime (char *buf, size_t maxsize, const char *format,
|
||||||
@@ -566,8 +571,6 @@ struct hostent* roken_gethostbyaddr(const void*, size_t, int);
|
|||||||
|
|
||||||
void set_progname(char *argv0);
|
void set_progname(char *argv0);
|
||||||
|
|
||||||
#include <roken-common.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user