1MONGOC_CLIENT_ENCRYPTION_NEW(3) libmongoc MONGOC_CLIENT_ENCRYPTION_NEW(3)
2
3
4
6 mongoc_client_encryption_t *
7 mongoc_client_encryption_new (mongoc_client_encryption_opts_t *opts,
8 bson_error_t *error) BSON_GNUC_WARN_UNUSED_RESULT;
9
10 Create a new mongoc_client_encryption_t.
11
13 • opts: A mongoc_client_encryption_opts_t.
14
15 • error: A bson_error_t.
16
18 A new mongoc_client_encryption_t that must be freed with
19 mongoc_client_encryption_destroy() if successful. Returns NULL and sets
20 error otherwise.
21
22 SEE ALSO:
23 mongoc_client_encryption_t
24
25 mongoc_client_encryption_opts_t
26
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.25.1 Nov 08, 2023 MONGOC_CLIENT_ENCRYPTION_NEW(3)