Ignore:
Timestamp:
Aug 16, 2007 10:11:44 AM (17 years ago)
Author:
bennylp
Message:

Ticket #354: continuing work to port the Symbian libraries to .DSO format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip-simple/errno.h

    r974 r1417  
    2020#define __PJSIP_SIMPLE_ERRNO_H__ 
    2121 
     22#include <pjsip/sip_errno.h> 
    2223 
    23 #include <pjsip/sip_errno.h> 
     24PJ_BEGIN_DECL 
    2425 
    2526/** 
     
    8889#define PJSIP_SIMPLE_EBADISCOMPOSE  (PJSIP_SIMPLE_ERRNO_START+40)   /*270040*/ 
    8990 
     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 */ 
     105PJ_DECL(pj_str_t) pjsipsimple_strerror(pj_status_t status,  
     106                                       char *buffer, pj_size_t bufsize); 
     107 
     108 
     109PJ_END_DECL 
    90110 
    91111#endif  /* __PJSIP_SIMPLE_ERRNO_H__ */ 
Note: See TracChangeset for help on using the changeset viewer.