Provided by: libmongoc-doc_1.27.5-1_all bug

SYNOPSIS

          mongoc_server_api_t *
          mongoc_server_api_new (mongoc_server_api_version_t version)
             BSON_GNUC_WARN_UNUSED_RESULT;

       Create a struct to hold server API preferences.

RETURNS

       A new mongoc_server_api_t you must free with mongoc_server_api_destroy().

AUTHOR

       MongoDB, Inc

COPYRIGHT

       2017-present, MongoDB, Inc

1.27.5                                            Aug 06, 2024                          MONGOC_SERVER_API_NEW(3)