mongoc_index_opt_init(3)

MONGOC_INDEX_OPT_INIT(3) libmongoc MONGOC_INDEX_OPT_INIT(3)

SYNOPSIS

void
mongoc_index_opt_init (mongoc_index_opt_t *opt);


PARAMETERS

opt: A mongoc_index_opt_t <>.

DESCRIPTION

This function will initialize opt to the default values. It should be called before modifying any fields within the structure.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

February 10, 2026 1.30.7