Skip to content

File broker_error.c

FileList > broker > broker_error.c

Go to the source code of this file

  • #include <stdio.h>
  • #include <string.h>
  • #include <stdlib.h>
  • #include "broker_error.h"
  • #include "broker_filename.h"

Public Static Attributes

Type Name
int cur_error_code = 0
int cur_os_errno = 0

Public Functions

Type Name
const char * uw_error_message (int error_code)
void uw_error_message_r (int error_code, char * err_msg)
int uw_get_error_code (void)
const char * uw_get_error_message (int error_code, int os_error_code)
int uw_get_os_error_code (void)
void uw_os_err_msg (int os_err_code, char * err_msg)
void uw_set_error_code (const char * file_name, int line_no, int error_code, int os_errno)

Public Static Functions

Type Name
int get_error_msg (int err_code, char * msg_buf)

Public Static Attributes Documentation

variable cur_error_code

int cur_error_code;

variable cur_os_errno

int cur_os_errno;

Public Functions Documentation

function uw_error_message

const  char * uw_error_message (
    int error_code
) 

function uw_error_message_r

void uw_error_message_r (
    int error_code,
    char * err_msg
) 

function uw_get_error_code

int uw_get_error_code (
    void
) 

function uw_get_error_message

const  char * uw_get_error_message (
    int error_code,
    int os_error_code
) 

function uw_get_os_error_code

int uw_get_os_error_code (
    void
) 

function uw_os_err_msg

void uw_os_err_msg (
    int os_err_code,
    char * err_msg
) 

function uw_set_error_code

void uw_set_error_code (
    const  char * file_name,
    int line_no,
    int error_code,
    int os_errno
) 

Public Static Functions Documentation

function get_error_msg

static int get_error_msg (
    int err_code,
    char * msg_buf
) 


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