123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- #ifndef __PJSIP_SIMPLE_ERRNO_H__
- #define __PJSIP_SIMPLE_ERRNO_H__
- #include <pjsip/sip_errno.h>
- PJ_BEGIN_DECL
- #define PJSIP_SIMPLE_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*2)
- #define PJSIP_SIMPLE_ENOPKG (PJSIP_SIMPLE_ERRNO_START+1)
- #define PJSIP_SIMPLE_EPKGEXISTS (PJSIP_SIMPLE_ERRNO_START+2)
- #define PJSIP_SIMPLE_ENOTSUBSCRIBE (PJSIP_SIMPLE_ERRNO_START+20)
- #define PJSIP_SIMPLE_ENOPRESENCE (PJSIP_SIMPLE_ERRNO_START+21)
- #define PJSIP_SIMPLE_ENOPRESENCEINFO (PJSIP_SIMPLE_ERRNO_START+22)
- #define PJSIP_SIMPLE_EBADCONTENT (PJSIP_SIMPLE_ERRNO_START+23)
- #define PJSIP_SIMPLE_EBADPIDF (PJSIP_SIMPLE_ERRNO_START+24)
- #define PJSIP_SIMPLE_EBADXPIDF (PJSIP_SIMPLE_ERRNO_START+25)
- #define PJSIP_SIMPLE_EBADRPID (PJSIP_SIMPLE_ERRNO_START+26)
- #define PJSIP_SIMPLE_EBADISCOMPOSE (PJSIP_SIMPLE_ERRNO_START+40)
- PJ_DECL(pj_str_t) pjsipsimple_strerror(pj_status_t status,
- char *buffer, pj_size_t bufsize);
- PJ_END_DECL
- #endif
|