File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -109,3 +109,10 @@ mongoc_server_api_get_strict (const mongoc_server_api_t *api)
109
109
BSON_ASSERT (api );
110
110
return & api -> strict ;
111
111
}
112
+
113
+ mongoc_server_api_version_t
114
+ mongoc_server_api_get_version (const mongoc_server_api_t * api )
115
+ {
116
+ BSON_ASSERT (api );
117
+ return api -> version ;
118
+ }
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ mongoc_server_api_get_deprecation_errors (const mongoc_server_api_t *api);
59
59
MONGOC_EXPORT (const mongoc_optional_t * )
60
60
mongoc_server_api_get_strict (const mongoc_server_api_t * api );
61
61
62
+ MONGOC_EXPORT (mongoc_server_api_version_t )
63
+ mongoc_server_api_get_version (const mongoc_server_api_t * api );
64
+
62
65
BSON_END_DECLS
63
66
64
67
#endif /* MONGOC_SERVER_API_H */
You can’t perform that action at this time.
0 commit comments