MySQL 8.0.39
Source Code Documentation
|
#include <stdlib.h>
#include <openssl/ssl.h>
#include "xcom/network/include/network_provider.h"
#include "xcom/xcom_memory.h"
#include "xcom/xcom_proto.h"
#include "xdr_gen/xcom_vp.h"
Go to the source code of this file.
Classes | |
struct | connection_descriptor |
Typedefs | |
typedef enum con_state | con_state |
typedef struct connection_descriptor | connection_descriptor |
Enumerations | |
enum | con_state { CON_NULL , CON_FD , CON_PROTO } |
Functions | |
static connection_descriptor * | new_connection (int fd, SSL *ssl_fd) |
static void | free_connection (connection_descriptor *&con) |
Free a connection_descriptor created with new_connection. More... | |
static int | is_connected (connection_descriptor *con) |
static int | proto_done (connection_descriptor *con) |
static void | set_connected (connection_descriptor *con, con_state val) |
static void | set_protocol_stack (connection_descriptor *con, enum_transport_protocol val) |
typedef struct connection_descriptor connection_descriptor |
enum con_state |
|
inlinestatic |
Free a connection_descriptor created with new_connection.
This function will, if the [in] parameter is not nullptr:
con | a pointer to a connection_descriptor. |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |