Home --> Documentations --> PJLIB Reference
PJLIB Error Subsystem.
More...
Go to the source code of this file.
|
pj_status_t | pj_get_os_error (void) |
|
void | pj_set_os_error (pj_status_t code) |
|
pj_status_t | pj_get_netos_error (void) |
|
void | pj_set_netos_error (pj_status_t code) |
|
pj_str_t | pj_strerror (pj_status_t statcode, char *buf, pj_size_t bufsize) |
|
void | pj_perror (int log_level, const char *sender, pj_status_t status, const char *title_fmt,...) |
|
pj_status_t | pj_register_strerror (pj_status_t start_code, pj_status_t err_space, pj_error_callback f) |
|
void | pj_errno_clear_handlers (void) |
|
void | pj_perror_1 (const char *sender, pj_status_t status, const char *title_fmt,...) |
|
void | pj_perror_2 (const char *sender, pj_status_t status, const char *title_fmt,...) |
|
void | pj_perror_3 (const char *sender, pj_status_t status, const char *title_fmt,...) |
|
void | pj_perror_4 (const char *sender, pj_status_t status, const char *title_fmt,...) |
|
◆ PJ_ERRNO_SPACE_SIZE
#define PJ_ERRNO_SPACE_SIZE 50000 |
PJ_ERRNO_SPACE_SIZE is the maximum number of errors in one of the error/status range below.
◆ PJ_ERRNO_START
#define PJ_ERRNO_START 20000 |
PJ_ERRNO_START is where PJLIB specific error values start.
◆ PJ_ERRNO_START_STATUS
PJ_ERRNO_START_STATUS is where PJLIB specific status codes start. Effectively the error in this class would be 70000 - 119000.
◆ PJ_ERRNO_START_SYS
PJ_ERRNO_START_SYS converts platform specific error codes into pj_status_t values. Effectively the error in this class would be 120000 - 169000.
◆ PJ_ERRNO_START_USER
PJ_ERRNO_START_USER are reserved for applications that use error codes along with PJLIB codes. Effectively the error in this class would be 170000 - 219000.
◆ pj_perror_wrapper_1
Internal function to write log with verbosity 1. Will evaluate to empty expression if PJ_LOG_MAX_LEVEL is below 1. - Parameters
-
◆ pj_perror_wrapper_2
Internal function to write log with verbosity 2. Will evaluate to empty expression if PJ_LOG_MAX_LEVEL is below 2. - Parameters
-
◆ pj_perror_wrapper_3
Internal function to write log with verbosity 3. Will evaluate to empty expression if PJ_LOG_MAX_LEVEL is below 3. - Parameters
-
◆ pj_perror_wrapper_4
Internal function to write log with verbosity 4. Will evaluate to empty expression if PJ_LOG_MAX_LEVEL is below 4. - Parameters
-
◆ pj_perror_wrapper_5
#define pj_perror_wrapper_5 |
( |
|
arg | ) |
|
Internal function to write log with verbosity 5. Will evaluate to empty expression if PJ_LOG_MAX_LEVEL is below 5. - Parameters
-
◆ pj_perror_wrapper_6
#define pj_perror_wrapper_6 |
( |
|
arg | ) |
|
Internal function to write log with verbosity 6. Will evaluate to empty expression if PJ_LOG_MAX_LEVEL is below 6. - Parameters
-
◆ pj_errno_clear_handlers()
void pj_errno_clear_handlers |
( |
void |
| ) |
|
◆ pj_perror_1()
void pj_perror_1 |
( |
const char * |
sender, |
|
|
pj_status_t |
status, |
|
|
const char * |
title_fmt, |
|
|
|
... |
|
) |
| |
◆ pj_perror_2()
void pj_perror_2 |
( |
const char * |
sender, |
|
|
pj_status_t |
status, |
|
|
const char * |
title_fmt, |
|
|
|
... |
|
) |
| |
◆ pj_perror_3()
void pj_perror_3 |
( |
const char * |
sender, |
|
|
pj_status_t |
status, |
|
|
const char * |
title_fmt, |
|
|
|
... |
|
) |
| |
◆ pj_perror_4()
void pj_perror_4 |
( |
const char * |
sender, |
|
|
pj_status_t |
status, |
|
|
const char * |
title_fmt, |
|
|
|
... |
|
) |
| |
PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.
|