CUBRID Engine  latest
connection_globals.h File Reference
#include "connection_defs.h"
Include dependency graph for connection_globals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  css_conn_rule_info
 

Macros

#define CSS_CR_NORMAL_ONLY_IDX   0
 
#define CSS_MAX_CLIENT_COUNT   4000
 
#define CSS_NET_MAGIC_SIZE   8
 

Typedefs

typedef bool(* CSS_CHECK_CLIENT_TYPE) (BOOT_CLIENT_TYPE client_type)
 
typedef int(* CSS_GET_MAX_CONN_NUM) (void)
 
typedef enum css_conn_rule CSS_CONN_RULE
 
typedef struct css_conn_rule_info CSS_CONN_RULE_INFO
 

Enumerations

enum  css_conn_rule { CR_NORMAL_ONLY, CR_NORMAL_FIRST, CR_RESERVED_FIRST }
 

Functions

void css_init_conn_rules (void)
 
int css_get_max_conn (void)
 

Variables

int css_Service_id
 
const char * css_Service_name
 
int css_Server_use_new_connection_protocol
 
int css_Server_inhibit_connection_socket
 
SOCKET css_Server_connection_socket
 
CSS_CONN_RULE_INFO css_Conn_rules []
 
const int css_Conn_rules_size
 
SOCKET css_Pipe_to_master
 
char css_Net_magic [CSS_NET_MAGIC_SIZE]
 

Macro Definition Documentation

#define CSS_CR_NORMAL_ONLY_IDX   0
#define CSS_MAX_CLIENT_COUNT   4000

Definition at line 33 of file connection_globals.h.

#define CSS_NET_MAGIC_SIZE   8

Definition at line 71 of file connection_globals.h.

Typedef Documentation

typedef bool(* CSS_CHECK_CLIENT_TYPE) (BOOT_CLIENT_TYPE client_type)

Definition at line 35 of file connection_globals.h.

typedef int(* CSS_GET_MAX_CONN_NUM) (void)

Definition at line 36 of file connection_globals.h.

Enumeration Type Documentation

Enumerator
CR_NORMAL_ONLY 
CR_NORMAL_FIRST 
CR_RESERVED_FIRST 

Definition at line 44 of file connection_globals.h.

Function Documentation

int css_get_max_conn ( void  )

Definition at line 224 of file connection_globals.c.

References css_Conn_rules_size, css_init_conn_rules(), css_Is_conn_rules_initialized, i, and css_conn_rule_info::max_num_conn.

Referenced by css_init(), and css_init_conn_list().

Here is the caller graph for this function:

void css_init_conn_rules ( void  )

Variable Documentation

char css_Net_magic[CSS_NET_MAGIC_SIZE]

Definition at line 58 of file connection_globals.c.

Referenced by css_check_magic_with_socket(), and css_send_magic_with_socket().

int css_Server_inhibit_connection_socket

Definition at line 47 of file connection_globals.c.

Referenced by css_connect_to_master_server().

int css_Server_use_new_connection_protocol

Definition at line 54 of file connection_globals.c.

Referenced by css_connect_to_master_server().

int css_Service_id
const char* css_Service_name

Definition at line 41 of file connection_globals.c.