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
23       SEE ALSO:
24          mongoc_uri_get_hosts() and mongoc_cursor_get_host().
25
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.24.3                           Aug 17, 2023            MONGOC_HOST_LIST_T(3)
Impressum