q931err.h
上传用户:hnnddl
上传日期:2007-01-06
资源大小:3580k
文件大小:2k
源码类别:

IP电话/视频会议

开发平台:

WINDOWS

  1. /*
  2.  * $Revision: 1.2 $
  3.  * $Date: 1997/08/20 20:18:48 $
  4.  */
  5. ////////////////////////////////////////////////////////////////
  6. //               Copyright (c) 1996,97 Lucent Technologies    //
  7. //                       All Rights Reserved                  //
  8. //                                                            //
  9. //                       THIS IS UNPUBLISHED                  //
  10. //                       PROPRIETARY SOURCE                   //
  11. //                   CODE OF Lucent Technologies              //
  12. //      AND elemedia    //
  13. //                                                            //
  14. //           The copyright notice above does not evidence any //
  15. //          actual or intended publication of such source code//
  16. ////////////////////////////////////////////////////////////////
  17. #if !defined(__Q931ERRCODES_H__)
  18. #include "api/apierr.h"
  19. #define Q931_SUCCESS 0
  20. // Aliases for general error codes
  21. #define Q931_UNKNOWN_ERROR PROT_CODE_UNKNOWN_ERROR
  22. #define Q931_MEM_ALLOC_FAILED PROT_CODE_MEM_ALLOC_FAILED
  23. #define Q931_INVALID_PARAM PROT_CODE_INVALID_PARAM
  24. #define Q931_PENDING PROT_CODE_PENDING
  25. #define Q931_NOT_IMPLEMENTED PROT_CODE_NOT_IMPLEMENTED
  26. #define Q931_BUFFER_TOO_SMALL PROT_CODE_BUFFER_TOO_SMALL
  27. #define Q931_ITEM_NOT_PRESENT PROT_CODE_ITEM_NOT_PRESENT
  28. // Q931 specific error codes
  29. // PASS1: Removed unused error codes.
  30. #define Q931_ENGINE_LISTENING (PROT_CODE_MAX + 1)
  31. #define Q931_INVALID_MESSAGE (PROT_CODE_MAX + 2)
  32. #define Q931_INVALID_IE (PROT_CODE_MAX + 3)
  33. #define Q931_GOT_RELEASE_COMPLETE (PROT_CODE_MAX + 4)
  34. #define Q931_REMOTE_END_TIMEDOUT (PROT_CODE_MAX + 5)
  35. #define Q931_FACILITY_SUB_CODE_GENERIC 0
  36. #define Q931_ERROR(CODE)
  37. (ProtReturnCode)PROT_ERR(PROT_FACILITY_CODE_Q931,
  38. Q931_FACILITY_SUB_CODE_GENERIC,(CODE))
  39. #endif //__Q931ERRCODES_H__