MongoDB C++ Driver  legacy-1.1.2
initializer_functions.h
1 /* Copyright 2014 MongoDB Inc.
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include "mongo/config.h"
17 
18 INSTALL_FUNCTION(base_init) // "default"
19 INSTALL_FUNCTION(bson_oid) // "OIDGeneration"
20 INSTALL_FUNCTION(logger_logstream_builder) // "LogstreamBuilder"
21 INSTALL_FUNCTION(logger_logger) // "GlobalLogManager"
22 #ifdef MONGO_SSL
23 INSTALL_FUNCTION(client_sasl_client_authenticate_impl) // "SaslClientAuthenticateFunction"
24 INSTALL_FUNCTION(client_native_sasl_client_session) // "NativeSaslClientContext"
25 #endif
26 #ifdef MONGO_SASL
27 INSTALL_FUNCTION(
28  client_cyrus_sasl_client_session) // "CyrusSaslAllocatorsAndMutexes,CyrusSaslClientContext"
29 INSTALL_FUNCTION(
30  client_sasl_sspi) // "SaslSspiClientPlugin,SaslCramClientPlugin,SaslPlainClientPlugin"
31 #endif
32 INSTALL_FUNCTION(util_fail_point_service) // "FailPointRegistry,AllFailPointsRegistered"
33 INSTALL_FUNCTION(util_net_socket_poll) // "DynamicLinkWin32Poll"
34 INSTALL_FUNCTION(util_net_ssl_manager) // "SSLManager"
35 INSTALL_FUNCTION(util_net_sock) // "SockWSAStartup"
36 INSTALL_FUNCTION(util_time_support) // "Init32TimeSupport"