24 #ifndef COMPAT_GETENT_GENERIC_H_INCLUDED
25 #define COMPAT_GETENT_GENERIC_H_INCLUDED
29 #if ! SYSLOG_NG_HAVE_GETPROTOBYNUMBER_R
31 #include <sys/types.h>
37 struct protoent *result_buf,
char *buf,
38 size_t buflen,
struct protoent **
result);
41 struct protoent *result_buf,
char *buf,
42 size_t buflen,
struct protoent **
result);
45 struct servent *result_buf,
char *buf,
46 size_t buflen,
struct servent **
result);
49 struct servent *result_buf,
char *buf,
50 size_t buflen,
struct servent **
result);
const gchar * name
Definition: debugger.c:265
int _compat_generic__getservbyport_r(int port, const char *proto, struct servent *result_buf, char *buf, size_t buflen, struct servent **result)
Definition: getent-generic.c:109
int _compat_generic__getprotobynumber_r(int proto, struct protoent *result_buf, char *buf, size_t buflen, struct protoent **result)
Definition: getent-generic.c:48
int _compat_generic__getprotobyname_r(const char *name, struct protoent *result_buf, char *buf, size_t buflen, struct protoent **result)
Definition: getent-generic.c:69
int _compat_generic__getservbyname_r(const char *name, const char *proto, struct servent *result_buf, char *buf, size_t buflen, struct servent **result)
Definition: getent-generic.c:130
GString * result
Definition: test_lexer_block.c:34