mongoc_ssl_opt_t (3) - Linux Manuals
mongoc_ssl_opt_t: typedef struct
Command to display mongoc_ssl_opt_t
manual in Linux: $ man 3 mongoc_ssl_opt_t
NAME
mongoc_ssl_opt_t - typedef struct
{
const char
*pem_file;
const char *pem_pwd;
const char *ca_file;
const char *ca_dir;
const char *crl_file;
bool weak_cert_validation;
void *padding [8];
} mongoc_ssl_opt_t;
SYNOPSIS
typedef struct
{
const char *pem_file;
const char *pem_pwd;
const char *ca_file;
const char *ca_dir;
const char *crl_file;
bool weak_cert_validation;
void *padding [8];
} mongoc_ssl_opt_t;
DESCRIPTION
This structure is used to set the SSL options for a
mongoc_client_t
or
mongoc_client_pool_t
\&.
Beginning in version 1.2.0, once a pool or client has any SSL options set, all connections use SSL, even if "ssl=true" is omitted from the MongoDB URI. Before, SSL options were ignored unless "ssl=true" was included in the URI.
COLOPHON
This page is part of MongoDB C Driver.
Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.
Pages related to mongoc_ssl_opt_t
- mongoc_ssl_opt_get_default (3) - None
- mongoc_server_description_destroy (3) - This function cleans up all memory associated with the given server description.
- mongoc_server_description_host (3) - This function returns the host that the given server description is associated with. This object is owned by the server description
- mongoc_server_description_id (3) - This functionr returns the server id for the given server description.
- mongoc_server_description_new_copy (3) - This function copies the given server description and returns a new server description object. The caller is responsible for destroying the new copy.
- mongoc_server_description_t (3) - Server description
- mongoc_socket_accept (3) - This function is a wrapper around the BSD socket accept() interface. It allows for more portability between UNIX-like and Microsoft Windows platforms.
- mongoc_socket_bind (3) - This function is a wrapper around the BSD socket bind() interface. It provides better portability between UNIX-like and Microsoft Windows platforms.
- mongoc_socket_close (3) - This function is a wrapper around the BSD socket shutdown() interface. It provides better portability between UNIX-like and Microsoft Windows platforms.
- mongoc_socket_connect (3) - This function is a wrapper around the BSD socket connect() interface. It provides better portability between UNIX-like and Microsoft Windows platforms.
- mongoc_socket_destroy (3) - This function releases all resources associated with a mongoc_socket_t. This should be called when you are no longer using the socket.
- mongoc_socket_errno (3) - This function returns the currently captured errno for a socket. This may be useful to check was the last errno was after another function call has been made that clears the threads errno variable.