mongoc_server_api_new - Man Page

mongoc_server_api_new()

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

Info

Jan 06, 2022 1.20.1 libmongoc