ns-3 Direct Code Execution
Home
Tutorials ▼
Docs ▼
Wiki
Manual
Develop ▼
API
Bugs
API
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dce-netdb.h
Go to the documentation of this file.
1
#ifndef SIMU_NETDB_H
2
#define SIMU_NETDB_H
3
4
#include <netdb.h>
5
6
#ifdef __cplusplus
7
extern
"C"
{
8
#endif
9
10
struct
hostent *
dce_gethostbyname
(
const
char
*name);
11
struct
hostent *
dce_gethostbyname2
(
const
char
*name,
int
af);
12
int
dce_getaddrinfo
(
const
char
*node,
const
char
*service,
13
const
struct
addrinfo *hints,
14
struct
addrinfo **res);
15
void
dce_freeaddrinfo
(
struct
addrinfo *res);
16
const
char
*
dce_gai_strerror
(
int
errcode);
17
int
dce_getnameinfo
(
const
struct
sockaddr *sa, socklen_t salen,
char
*host,
18
socklen_t hostlen,
char
*serv, socklen_t servlen,
unsigned
int
flags);
19
20
void
dce_herror
(
const
char
*
string
);
21
int
dce_getifaddrs
(
struct
ifaddrs **ifap);
22
23
#ifdef __cplusplus
24
}
25
#endif
26
27
#endif
/* SIMU_NETDB_H */
model
dce-netdb.h
Generated on Fri Aug 30 2013 13:57:55 for ns-3-dce by
1.8.1.2