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) BSON_GNUC_WARN_UNUSED_RESULT;
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
22 mongoc_client_encryption_destroy() if successful. Returns NULL and sets
23 error otherwise.
24
25 SEE ALSO:
26 mongoc_client_encryption_t
27
28 mongoc_client_encryption_opts_t
29
30
32 MongoDB, Inc
33
35 2017-present, MongoDB, Inc
36
37
38
39
401.23.1 Oct 20, 2022 MONGOC_CLIENT_ENCRYPTION_NEW(3)