Skip to content

File hide_password.h

FileList > base > hide_password.h

Go to the source code of this file

Classes

Type Name
struct HIDE_PWD_INFO

Public Types

Type Name
enum EN_ADD_PWD_STRING
typedef HIDE_PWD_INFO * HIDE_PWD_INFO_PTR

Public Functions

Type Name
void password_add_offset (HIDE_PWD_INFO_PTR hide_pwd_info_ptr, int start, int end, bool is_add_comma, EN_ADD_PWD_STRING en_add_pwd_string)
void password_fprintf (FILE * fp, char * query, HIDE_PWD_INFO_PTR hide_pwd_info_ptr, int(*)(FILE *, const char *,...) cas_fprintf)
bool password_remake_offset_for_one_query (HIDE_PWD_INFO_PTR new_hide_pwd_info_ptr, HIDE_PWD_INFO_PTR orig_hide_pwd_info_ptr, int start_pos, int end_pos)
int password_snprint (char * msg, int size, char * query, HIDE_PWD_INFO_PTR hide_pwd_info_ptr)

Macros

Type Name
define DEFAULT_PWD_INFO_CNT (5)
define INIT_HIDE_PASSWORD_INFO (ptr) /* multi line expression */
define QUIT_HIDE_PASSWORD_INFO (ptr) /* multi line expression */

Public Types Documentation

enum EN_ADD_PWD_STRING

enum EN_ADD_PWD_STRING {
    en_none_password = 0,
    en_user_password = 1,
    en_server_password = 2
};

typedef HIDE_PWD_INFO_PTR

typedef HIDE_PWD_INFO* HIDE_PWD_INFO_PTR;

Public Functions Documentation

function password_add_offset

void password_add_offset (
    HIDE_PWD_INFO_PTR hide_pwd_info_ptr,
    int start,
    int end,
    bool is_add_comma,
    EN_ADD_PWD_STRING en_add_pwd_string
) 

function password_fprintf

void password_fprintf (
    FILE * fp,
    char * query,
    HIDE_PWD_INFO_PTR hide_pwd_info_ptr,
    int (*)( FILE *, const  char *,...) cas_fprintf
) 

function password_remake_offset_for_one_query

bool password_remake_offset_for_one_query (
    HIDE_PWD_INFO_PTR new_hide_pwd_info_ptr,
    HIDE_PWD_INFO_PTR orig_hide_pwd_info_ptr,
    int start_pos,
    int end_pos
) 

function password_snprint

int password_snprint (
    char * msg,
    int size,
    char * query,
    HIDE_PWD_INFO_PTR hide_pwd_info_ptr
) 

Macro Definition Documentation

define DEFAULT_PWD_INFO_CNT

#define DEFAULT_PWD_INFO_CNT `(5)`

define INIT_HIDE_PASSWORD_INFO

#define INIT_HIDE_PASSWORD_INFO (
    ptr
) `/* multi line expression */`

define QUIT_HIDE_PASSWORD_INFO

#define QUIT_HIDE_PASSWORD_INFO (
    ptr
) `/* multi line expression */`


The documentation for this class was generated from the following file cubrid/src/base/hide_password.h