void _mongoc_metadata_init (void) { _get_system_info (&gMongocMetadata); _get_driver_info (&gMongocMetadata); _set_platform_string (&gMongocMetadata); gMongocMetadata.frozen = false; }
void _mongoc_handshake_init (void) { _get_system_info (_mongoc_handshake_get ()); _get_driver_info (_mongoc_handshake_get ()); _set_platform_string (_mongoc_handshake_get ()); _mongoc_handshake_get ()->frozen = false; bson_mutex_init (&gHandshakeLock); }