Ignore:
Timestamp:
Feb 21, 2006 11:47:00 PM (18 years ago)
Author:
bennylp
Message:

Implemented major feature: call hold and transfer

File:
1 edited

Legend:

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

    r197 r212  
    2424 
    2525/** 
     26 * Start of error code relative to PJ_ERRNO_START_USER. 
     27 */ 
     28#define PJSIP_SIMPLE_ERRNO_START  (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*2) 
     29 
     30 
     31/** 
    2632 * @hideinitializer 
    2733 * No event package with the specified name. 
    2834 */ 
    29 #define PJSIP_SIMPLE_ENOPKG         -1 
     35#define PJSIP_SIMPLE_ENOPKG         (PJSIP_SIMPLE_ERRNO_START+1)    /*270001*/ 
    3036/** 
    3137 * @hideinitializer 
    3238 * Event package already exists. 
    3339 */ 
    34 #define PJSIP_SIMPLE_EPKGEXISTS     -1 
     40#define PJSIP_SIMPLE_EPKGEXISTS     (PJSIP_SIMPLE_ERRNO_START+2)    /*270002*/ 
    3541 
    3642 
     
    3945 * Expecting SUBSCRIBE request 
    4046 */ 
    41 #define PJSIP_SIMPLE_ENOTSUBSCRIBE  -1 
     47#define PJSIP_SIMPLE_ENOTSUBSCRIBE  (PJSIP_SIMPLE_ERRNO_START+20)   /*270020*/ 
    4248/** 
    4349 * @hideinitializer 
    4450 * No presence associated with subscription 
    4551 */ 
    46 #define PJSIP_SIMPLE_ENOPRESENCE    -1 
     52#define PJSIP_SIMPLE_ENOPRESENCE    (PJSIP_SIMPLE_ERRNO_START+21)   /*270021*/ 
    4753/** 
    4854 * @hideinitializer 
    4955 * No presence info in server subscription 
    5056 */ 
    51 #define PJSIP_SIMPLE_ENOPRESENCEINFO -1 
     57#define PJSIP_SIMPLE_ENOPRESENCEINFO (PJSIP_SIMPLE_ERRNO_START+22)  /*270022*/ 
    5258/** 
    5359 * @hideinitializer 
    5460 * Bad Content-Type 
    5561 */ 
    56 #define PJSIP_SIMPLE_EBADCONTENT    -1 
     62#define PJSIP_SIMPLE_EBADCONTENT    (PJSIP_SIMPLE_ERRNO_START+23)   /*270023*/ 
    5763/** 
    5864 * @hideinitializer 
    5965 * Bad PIDF Message 
    6066 */ 
    61 #define PJSIP_SIMPLE_EBADPIDF       -1 
     67#define PJSIP_SIMPLE_EBADPIDF       (PJSIP_SIMPLE_ERRNO_START+24)   /*270024*/ 
    6268/** 
    6369 * @hideinitializer 
    6470 * Bad XPIDF Message 
    6571 */ 
    66 #define PJSIP_SIMPLE_EBADXPIDF      -1 
     72#define PJSIP_SIMPLE_EBADXPIDF      (PJSIP_SIMPLE_ERRNO_START+25)   /*270025*/ 
    6773 
    6874 
Note: See TracChangeset for help on using the changeset viewer.