PostgreSQL Source Code
git master
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
f
h
i
n
o
p
r
s
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
ip.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* ip.h
4
* Definitions for IPv6-aware network access.
5
*
6
* These definitions are used by both frontend and backend code.
7
*
8
* Copyright (c) 2003-2024, PostgreSQL Global Development Group
9
*
10
* src/include/common/ip.h
11
*
12
*-------------------------------------------------------------------------
13
*/
14
#ifndef IP_H
15
#define IP_H
16
17
#include <
netdb.h
>
18
#include <
sys/socket.h
>
19
20
#include "
libpq/pqcomm.h
"
/* pgrminclude ignore */
21
22
23
extern
int
pg_getaddrinfo_all
(
const
char
*
hostname
,
const
char
*servname,
24
const
struct
addrinfo *hintp,
25
struct
addrinfo **result);
26
extern
void
pg_freeaddrinfo_all
(
int
hint_ai_family,
struct
addrinfo *ai);
27
28
extern
int
pg_getnameinfo_all
(
const
struct
sockaddr_storage *addr,
int
salen,
29
char
*node,
int
nodelen,
30
char
*service,
int
servicelen,
31
int
flags);
32
33
#endif
/* IP_H */
pg_freeaddrinfo_all
void pg_freeaddrinfo_all(int hint_ai_family, struct addrinfo *ai)
Definition:
ip.c:82
pg_getnameinfo_all
int pg_getnameinfo_all(const struct sockaddr_storage *addr, int salen, char *node, int nodelen, char *service, int servicelen, int flags)
Definition:
ip.c:114
pg_getaddrinfo_all
int pg_getaddrinfo_all(const char *hostname, const char *servname, const struct addrinfo *hintp, struct addrinfo **result)
Definition:
ip.c:53
netdb.h
hostname
static char * hostname
Definition:
pg_regress.c:114
pqcomm.h
socket.h
src
include
common
ip.h
Generated on Tue Dec 3 2024 00:13:24 for PostgreSQL Source Code by
1.9.1