1MONGOC_URI_GET_SRV_HOSTNAME(3) libmongoc MONGOC_URI_GET_SRV_HOSTNAME(3)
23
4
SYNOPSIS
6const char *
7mongoc_uri_get_srv_hostname (const mongoc_uri_t *uri);
8
PARAMETERS
10• uri: A mongoc_uri_t.
11
DESCRIPTION
13Returns the SRV host and domain name of a MongoDB URI.
14
RETURNS
16A string if this URI's scheme is "mongodb+srv://", or NULL if the
17scheme is "mongodb://".
18
AUTHOR
20MongoDB, Inc
21
COPYRIGHT
232017-present, MongoDB, Inc
2425
26
27
28
1.25.1 Nov 08, 2023 MONGOC_URI_GET_SRV_HOSTNAME(3)