# OS_NS_netdb.h File Reference

`#include "ace/config-all.h"`
`#include "ace/os_include/os_netdb.h"`
`#include "ace/ACE_export.h"`
`#include "ace/OS_NS_netdb.inl"`

Include dependency graph for OS_NS_netdb.h:

This graph shows which files directly or indirectly include this file:

## Namespaces

namespace | ACE_OS

## Classes

struct | ACE_OS::macaddr_node_t

## Defines

#define | ACE_EXPORT_MACRO ACE_Export
#define | ACE_INLINE inline

## Functions

ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | gethostbyaddr (const char *addr, int length, int type)
ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | gethostbyaddr_r (const char *addr, int length, int type, struct hostent *result, ACE_HOSTENT_DATA buffer, int *h_errnop)
ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | gethostbyname (const char *name)
ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | gethostbyname_r (const char *name, struct hostent *result, ACE_HOSTENT_DATA buffer, int *h_errnop)
ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | getipnodebyaddr (const void *src, size_t len, int family)
ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | getipnodebyname (const char *name, int family, int flags=0)
ACE_Export int | getmacaddress (struct macaddr_node_t *node)
ACE_NAMESPACE_INLINE_FUNCTION struct protoent * | getprotobyname (const char *name)
ACE_NAMESPACE_INLINE_FUNCTION struct protoent * | getprotobyname_r (const char *name, struct protoent *result, ACE_PROTOENT_DATA buffer)
ACE_NAMESPACE_INLINE_FUNCTION struct protoent * | getprotobynumber (int proto)
ACE_NAMESPACE_INLINE_FUNCTION struct protoent * | getprotobynumber_r (int proto, struct protoent *result, ACE_PROTOENT_DATA buffer)
ACE_NAMESPACE_INLINE_FUNCTION struct servent * | getservbyname (const char *svc, const char *proto)
ACE_NAMESPACE_INLINE_FUNCTION struct servent * | getservbyname_r (const char *svc, const char *proto, struct servent *result, ACE_SERVENT_DATA buf)

## Detailed Description

Id
  OS_NS_netdb.h,v 1.7 2006/01/24 12:30:29 jwillemsen Exp

Author:
  Douglas C. Schmidt <schmidt@cs.wustl.edu>

  Jesper S. M|ller<stophph@diku.dk>

  and a cast of thousands...

Originally in OS.h.

## Define Documentation

#define ACE_EXPORT_MACRO ACE_Export

#define ACE_INLINE inline

## Function Documentation

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE struct hostent * ACE_OS::gethostbyaddr | ( | const char * | addr,
|  | int | length,
|  | int | type
| ) |

ACE_INLINE struct hostent * ACE_OS::gethostbyaddr_r | ( | const char * | addr,
|  | int | length,
|  | int | type,
|  | struct hostent * | result,
|  | ACE_HOSTENT_DATA | buffer,
|  | int * | h_errnop
| ) |

ACE_INLINE struct hostent * ACE_OS::gethostbyname | ( | const char * | name | ) |

ACE_INLINE struct hostent * ACE_OS::gethostbyname_r | ( | const char * | name,
|  | struct hostent * | result,
|  | ACE_HOSTENT_DATA | buffer,
|  | int * | h_errnop
| ) |

ACE_INLINE struct hostent * ACE_OS::getipnodebyaddr | ( | const void * | src,
|  | size_t | len,
|  | int | family
| ) |

ACE_INLINE struct hostent * ACE_OS::getipnodebyname | ( | const char * | name,
|  | int | family,
|  | int | flags = `0`
| ) |

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_END_VERSIONED_NAMESPACE_DECL ACE_BEGIN_VERSIONED_NAMESPACE_DECL int ACE_OS::getmacaddress | ( | struct macaddr_node_t * | node | ) |

| Define a structure for use with the netbios routine Reset the netbios

ACE_INLINE struct protoent * ACE_OS::getprotobyname | ( | const char * | name | ) |

ACE_INLINE struct protoent * ACE_OS::getprotobyname_r | ( | const char * | name,
|  | struct protoent * | result,
|  | ACE_PROTOENT_DATA | buffer
| ) |

ACE_INLINE struct protoent * ACE_OS::getprotobynumber | ( | int | proto | ) |

ACE_INLINE struct protoent * ACE_OS::getprotobynumber_r | ( | int | proto,
|  | struct protoent * | result,
|  | ACE_PROTOENT_DATA | buffer
| ) |

ACE_INLINE struct servent * ACE_OS::getservbyname | ( | const char * | svc,
|  | const char * | proto
| ) |

ACE_INLINE struct servent * ACE_OS::getservbyname_r | ( | const char * | svc,
|  | const char * | proto,
|  | struct servent * | result,
|  | ACE_SERVENT_DATA | buf
| ) |