MySQL  8.0.22
Source Code Documentation
node_connection.h File Reference
#include <stdlib.h>
#include <openssl/ssl.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_descriptornew_connection (int fd, SSL *ssl_fd)
 
static int is_connected (connection_descriptor *con)
 
static int proto_done (connection_descriptor *con)
 
static void set_connected (connection_descriptor *con, con_state val)
 

Typedef Documentation

◆ con_state

typedef enum con_state con_state

◆ connection_descriptor

Enumeration Type Documentation

◆ con_state

enum con_state
Enumerator
CON_NULL 
CON_FD 
CON_PROTO 

Function Documentation

◆ is_connected()

static int is_connected ( connection_descriptor con)
inlinestatic

◆ new_connection()

static connection_descriptor* new_connection ( int  fd,
SSL *  ssl_fd 
)
inlinestatic

◆ proto_done()

static int proto_done ( connection_descriptor con)
inlinestatic

◆ set_connected()

static void set_connected ( connection_descriptor con,
con_state  val 
)
inlinestatic