1MONGOC_HOST_LIST_T(3)              libmongoc             MONGOC_HOST_LIST_T(3)
2
3
4

NAME

6       mongoc_host_list_t - mongoc_host_list_t
7

SYNOPSIS

9          typedef struct {
10             mongoc_host_list_t *next;
11             char host[BSON_HOST_NAME_MAX + 1];
12             char host_and_port[BSON_HOST_NAME_MAX + 7];
13             uint16_t port;
14             int family;
15             void *padding[4];
16          } mongoc_host_list_t;
17

DESCRIPTION

19       The  host  and  port of a MongoDB server. Can be part of a linked list:
20       for example the return  value  of  mongoc_uri_get_hosts  when  multiple
21       hosts are provided in the MongoDB URI.
22

SEE ALSO

24       mongoc_uri_get_hosts and mongoc_cursor_get_host.
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.16.2                           Feb 25, 2020            MONGOC_HOST_LIST_T(3)
Impressum