1MONGOC_SERVER_DESCRIPTION_T(3) libmongoc MONGOC_SERVER_DESCRIPTION_T(3)
2
3
4
6 mongoc_server_description_t - mongoc_server_description_t
7
8 Server description
9
11 #include <mongoc/mongoc.h>
12 typedef struct _mongoc_server_description_t mongoc_server_description_t
13
14 mongoc_server_description_t holds information about a mongod or mongos
15 the driver is connected to.
16
18 Clean up a mongoc_server_description_t with mongoc_server_descrip‐
19 tion_destroy() when necessary.
20
21 Applications receive a temporary reference to a mongoc_server_descrip‐
22 tion_t as a parameter to an SDAM Monitoring callback that must not be
23 destroyed. See Introduction to Application Performance Monitoring.
24
25 SEE ALSO:
26 mongoc_client_get_server_descriptions().
27
28
30 MongoDB, Inc
31
33 2017-present, MongoDB, Inc
34
35
36
37
381.20.0 Nov 18, 2021 MONGOC_SERVER_DESCRIPTION_T(3)