|
함수정의 |
extern int msgcat_init (void) |
|
파라미터 |
|
|
호출자 |
- boot_cl:: boot_initialize_client - boot_sr:: boot_remove_all_volumes - boot_cl:: boot_restart_client - boot_sr:: boot_restart_server - error_manager:: er_start - network_sr:: net_server_start - system_parameter:: sysprm_load_and_init - util_common:: utility_initialize - boot_sr:: xboot_delete - boot_sr:: xboot_emergency_patch - boot_sr:: xboot_initialize_server - boot_sr:: xboot_restart_from_backup |
|
메모 |
- message catalog를 초기화 한다.(메모리 맵 사용) - cubrid.cat, csql.cat, utils.cat 을 사용 |
|
함수정의 |
extern int msgcat_final (void) |
|
파라미터 |
|
|
호출자 |
- boot_cl:: boot_client_all_finalize - boot_sr:: boot_restart_server - boot_sr:: boot_server_all_finalize - commdb:: main - master:: main - broker_log_converter:: main - esql_main:: main |
|
메모 |
- message catalog 관리 모듈을 종료한다. |
|
함수정의 |
extern char *msgcat_message () |
|
파라미터 |
int cat_id int set_id int msg_id |
|
호출자 |
- ... |
|
메모 |
- 메세지 카탈로그로 부터 원하는 메세지를 찾는다 |
|
함수정의 |
extern MSG_CATD msgcat_open () |
|
파라미터 |
const char *name |
|
호출자 |
- message_catalog:: msgcat_init - message_catalog:: msgcat_message - esql_main:: pp_unsafe_get_msg |
|
메모 |
- cat 형식의 데이터를 메모리 맵에 올리고 MSG_CATD형식으로 반환한다. |
|
함수정의 |
extern char *msgcat_gets () |
|
파라미터 |
MSG_CATD msg_catd int set_id int msg_id const char *s |
|
호출자 |
- message_catalog:: msgcat_message - esql_main:: pp_unsafe_get_msg |
|
메모 |
- MSG_CATD로 부터 nl_catd를 추출해 메세지를 찾아 반환한다. |
|
함수정의 |
extern int msgcat_close () |
|
파라미터 |
MSG_CATD msg_catd |
|
호출자 |
- message_catalog:: msgcat_final |
|
메모 |
- message catalog에 할당된 메모리를 해제한다 |
|
함수정의 |
extern FILE *msgcat_open_file () |
|
파라미터 |
const char *name |
|
호출자 |
- object_print:: help_command_name |
|
메모 |
- message catalog 디렉토리의 텍스트 파일을 오픈한다. - syntax.txt |
|
함수정의 |
static nl_catd catopen () |
|
파라미터 |
const char *name int type |
|
호출자 |
- message_catalog:: msgcat_open |
|
메모 |
- cat형식의 파일을 오픈해서 메모리 맵에 올려 놓은 후 nl_catd형식으로 반환한다. |
|
함수정의 |
static char *catgets () |
|
파라미터 |
nl_catd catd int set_id int msg_id const char *s |
|
호출자 |
- message_catalog:: msgcat_gets |
|
메모 |
- catd 로 부터 set_id, msg_id와 일치하는 항목을 찾아서 해당 문자열을 반환한다. |
|
함수정의 |
static int catclose () |
|
파라미터 |
nl_catd catd |
|
호출자 |
- message_catalog:: msgcat_close |
|
메모 |
- 메모리 맵을 해제하고 핸들을 닫는다. - catd에 할당된 메모리를 해제한다. |
|
함수정의 |
static nl_catd load_msgcat () |
|
파라미터 |
const char *path |
|
호출자 |
- message_catalog:: catopen |
|
메모 |
- 파일을 열어서 메모리 맵에 올려 놓는다. |
댓글을 달아 주세요