Changeset 1417 for pjproject/trunk/pjsip/include/pjsip-simple/errno.h
- Timestamp:
- Aug 16, 2007 10:11:44 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip-simple/errno.h
r974 r1417 20 20 #define __PJSIP_SIMPLE_ERRNO_H__ 21 21 22 #include <pjsip/sip_errno.h> 22 23 23 #include <pjsip/sip_errno.h> 24 PJ_BEGIN_DECL 24 25 25 26 /** … … 88 89 #define PJSIP_SIMPLE_EBADISCOMPOSE (PJSIP_SIMPLE_ERRNO_START+40) /*270040*/ 89 90 91 /** 92 * Get error message for the specified error code. Note that this 93 * function is only able to decode PJSIP-SIMPLE specific error code. 94 * Application should use pj_strerror(), which should be able to 95 * decode all error codes belonging to all subsystems (e.g. pjlib, 96 * pjmedia, pjsip, etc). 97 * 98 * @param status The error code. 99 * @param buffer The buffer where to put the error message. 100 * @param bufsize Size of the buffer. 101 * 102 * @return The error message as NULL terminated string, 103 * wrapped with pj_str_t. 104 */ 105 PJ_DECL(pj_str_t) pjsipsimple_strerror(pj_status_t status, 106 char *buffer, pj_size_t bufsize); 107 108 109 PJ_END_DECL 90 110 91 111 #endif /* __PJSIP_SIMPLE_ERRNO_H__ */
Note: See TracChangeset
for help on using the changeset viewer.