Changeset 1748 for pjproject/trunk/pjlib/include/pj/errno.h
- Timestamp:
- Jan 25, 2008 4:06:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/errno.h
r1601 r1748 112 112 char *buf, pj_size_t bufsize); 113 113 114 typedef pj_str_t (*pjsip_error_callback)(pj_status_t, char*, pj_size_t); 114 /** 115 * Type of callback to be specified in #pj_register_strerror() 116 * 117 * @param e The error code to lookup. 118 * @param msg Buffer to store the error message. 119 * @param max Length of the buffer. 120 * 121 * @return The error string. 122 */ 123 typedef pj_str_t (*pj_error_callback)(pj_status_t e, char *msg, pj_size_t max); 124 125 115 126 /** 116 127 * Register strerror message handler for the specified error space. … … 134 145 PJ_DECL(pj_status_t) pj_register_strerror(pj_status_t start_code, 135 146 pj_status_t err_space, 136 pj sip_error_callback f);147 pj_error_callback f); 137 148 138 149 /**
Note: See TracChangeset
for help on using the changeset viewer.