Scroll to navigation

MONGOC_CLIENT_ENCRYPTION_ENCRYPT_STRING_OPTS_SET_PREFIX(3) libmongoc MONGOC_CLIENT_ENCRYPTION_ENCRYPT_STRING_OPTS_SET_PREFIX(3)

SYNOPSIS

void
mongoc_client_encryption_encrypt_string_opts_set_prefix(

mongoc_client_encryption_encrypt_string_opts_t *opts,
mongoc_client_encryption_encrypt_string_prefix_opts_t *popts);


Changed in version 2.4.0: Renamed from the now-deprecated text API.

Sets the prefix options for string search encryption.

PARAMETERS

  • opts: A mongoc_client_encryption_encrypt_string_opts_t <>.
  • popts: A mongoc_client_encryption_encrypt_string_prefix_opts_t <> to set as prefix options.

See also:

mongoc_client_encryption_encrypt_string_opts_new() <>
mongoc_client_encryption_encrypt_string_prefix_opts_new() <>



Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

August 21, 2026 2.5.0