syslog-ng source
getent-generic.h File Reference
#include "compat/compat.h"
#include <sys/types.h>
#include <grp.h>
#include <pwd.h>
#include <netdb.h>
Include dependency graph for getent-generic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int _compat_generic__getprotobynumber_r (int proto, struct protoent *result_buf, char *buf, size_t buflen, struct protoent **result)
 
int _compat_generic__getprotobyname_r (const char *name, struct protoent *result_buf, char *buf, size_t buflen, struct protoent **result)
 
int _compat_generic__getservbyport_r (int port, const char *proto, struct servent *result_buf, char *buf, size_t buflen, struct servent **result)
 
int _compat_generic__getservbyname_r (const char *name, const char *proto, struct servent *result_buf, char *buf, size_t buflen, struct servent **result)
 

Function Documentation

◆ _compat_generic__getprotobyname_r()

int _compat_generic__getprotobyname_r ( const char *  name,
struct protoent *  result_buf,
char *  buf,
size_t  buflen,
struct protoent **  result 
)

◆ _compat_generic__getprotobynumber_r()

int _compat_generic__getprotobynumber_r ( int  proto,
struct protoent *  result_buf,
char *  buf,
size_t  buflen,
struct protoent **  result 
)

◆ _compat_generic__getservbyname_r()

int _compat_generic__getservbyname_r ( const char *  name,
const char *  proto,
struct servent *  result_buf,
char *  buf,
size_t  buflen,
struct servent **  result 
)

◆ _compat_generic__getservbyport_r()

int _compat_generic__getservbyport_r ( int  port,
const char *  proto,
struct servent *  result_buf,
char *  buf,
size_t  buflen,
struct servent **  result 
)