1MONGOC_CLIENT_ENCRYPTION_NEW(3) libmongoc MONGOC_CLIENT_ENCRYPTION_NEW(3)
2
3
4
6 mongoc_client_encryption_new - mongoc_client_encryption_new()
7
9 mongoc_client_encryption_t *
10 mongoc_client_encryption_new (mongoc_client_encryption_opts_t *opts,
11 bson_error_t *error);
12
13 Create a new mongoc_client_encryption_t.
14
16 · opts: A mongoc_client_encryption_opts_t.
17
18 · error: A bson_error_t.
19
21 A new mongoc_client_encryption_t that must be freed with mon‐
22 goc_client_encryption_destroy() if successful. Returns NULL and sets
23 error otherwise.
24
26 · mongoc_client_encryption_t
27
28 · mongoc_client_encryption_opts_t
29
31 MongoDB, Inc
32
34 2017-present, MongoDB, Inc
35
36
37
38
391.16.2 Feb 25, 2020 MONGOC_CLIENT_ENCRYPTION_NEW(3)