Skip to content

File cas_meta.c

FileList > broker > cas_meta.c

Go to the source code of this file

  • #include <assert.h>
  • #include "porting.h"
  • #include "cas_protocol.h"

Public Types

Type Name
enum BI_FUNCTION_CODE

Public Static Attributes

Type Name
char broker_info = /* multi line expression */

Public Functions

Type Name
const char * cas_bi_get_broker_info (void)
char cas_bi_get_cci_pconnect (void)
char cas_bi_get_dbms_type (void)
char cas_bi_get_keep_connection (void)
char cas_bi_get_protocol_version (void)
bool cas_bi_get_renewed_error_code (void)
char cas_bi_get_statement_pooling (void)
void cas_bi_make_broker_info (char * broker_info, char dbms_type, char statement_pooling, char cci_pconnect, char oracle_compat_number_behavior)
void cas_bi_set_cci_pconnect (const char cci_pconnect)
void cas_bi_set_dbms_type (const char dbms_type)
void cas_bi_set_keep_connection (const char keep_connection)
void cas_bi_set_oracle_compat_number_behavior (char oracle_compat_number_behavior)
void cas_bi_set_protocol_version (const char protocol_version)
void cas_bi_set_renewed_error_code (const bool renewed_error_code)
void cas_bi_set_statement_pooling (const char statement_pooling)
bool cas_di_understand_renewed_error_code (const char * driver_info)

Public Static Functions

Type Name
bool cas_bi_is_enabled_function (BI_FUNCTION_CODE function_code)
void cas_bi_set_function_disable (BI_FUNCTION_CODE function_code)
void cas_bi_set_function_enable (BI_FUNCTION_CODE function_code)

Macros

Type Name
define CLEAR_BIT (C, B) (([**C**](broker__monitor_8c.md#function-timeout)) &= ~([**B**](broker__monitor_8c.md#function-timeout)))
define IS_SET_BIT (C, B) ((([**C**](broker__monitor_8c.md#function-timeout)) & ([**B**](broker__monitor_8c.md#function-timeout))) == ([**B**](broker__monitor_8c.md#function-timeout)))
define SET_BIT (C, B) (([**C**](broker__monitor_8c.md#function-timeout)) \|= ([**B**](broker__monitor_8c.md#function-timeout)))

Public Types Documentation

enum BI_FUNCTION_CODE

enum BI_FUNCTION_CODE {
    BI_FUNC_ERROR_CODE,
    BI_FUNC_SUPPORT_HOLDABLE_RESULT
};

Public Static Attributes Documentation

variable broker_info

char broker_info[8];

Public Functions Documentation

function cas_bi_get_broker_info

const  char * cas_bi_get_broker_info (
    void
) 

function cas_bi_get_cci_pconnect

char cas_bi_get_cci_pconnect (
    void
) 

function cas_bi_get_dbms_type

char cas_bi_get_dbms_type (
    void
) 

function cas_bi_get_keep_connection

char cas_bi_get_keep_connection (
    void
) 

function cas_bi_get_protocol_version

char cas_bi_get_protocol_version (
    void
) 

function cas_bi_get_renewed_error_code

bool cas_bi_get_renewed_error_code (
    void
) 

function cas_bi_get_statement_pooling

char cas_bi_get_statement_pooling (
    void
) 

function cas_bi_make_broker_info

void cas_bi_make_broker_info (
    char * broker_info,
    char dbms_type,
    char statement_pooling,
    char cci_pconnect,
    char oracle_compat_number_behavior
) 

function cas_bi_set_cci_pconnect

void cas_bi_set_cci_pconnect (
    const  char cci_pconnect
) 

function cas_bi_set_dbms_type

void cas_bi_set_dbms_type (
    const  char dbms_type
) 

function cas_bi_set_keep_connection

void cas_bi_set_keep_connection (
    const  char keep_connection
) 

function cas_bi_set_oracle_compat_number_behavior

void cas_bi_set_oracle_compat_number_behavior (
    char oracle_compat_number_behavior
) 

function cas_bi_set_protocol_version

void cas_bi_set_protocol_version (
    const  char protocol_version
) 

function cas_bi_set_renewed_error_code

void cas_bi_set_renewed_error_code (
    const  bool renewed_error_code
) 

function cas_bi_set_statement_pooling

void cas_bi_set_statement_pooling (
    const  char statement_pooling
) 

function cas_di_understand_renewed_error_code

bool cas_di_understand_renewed_error_code (
    const  char * driver_info
) 

Public Static Functions Documentation

function cas_bi_is_enabled_function

static bool cas_bi_is_enabled_function (
    BI_FUNCTION_CODE function_code
) 

function cas_bi_set_function_disable

static void cas_bi_set_function_disable (
    BI_FUNCTION_CODE function_code
) 

function cas_bi_set_function_enable

static void cas_bi_set_function_enable (
    BI_FUNCTION_CODE function_code
) 

Macro Definition Documentation

define CLEAR_BIT

#define CLEAR_BIT (
    C,
    B
) `(( C ) &= ~( B ))`

define IS_SET_BIT

#define IS_SET_BIT (
    C,
    B
) `((( C ) & ( B )) == ( B ))`

define SET_BIT

#define SET_BIT (
    C,
    B
) `(( C ) |= ( B ))`


The documentation for this class was generated from the following file cubrid/src/broker/cas_meta.c