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

IP电话/视频会议

开发平台:

WINDOWS

  1. //@DELB
  2. /*
  3.  * $Revision: 1.2 $
  4.  * $Date: 1998/10/15 20:06:31 $
  5.  */
  6. ////////////////////////////////////////////////////////////////
  7. //           Copyright (c) 1996,97 Lucent Technologies        //
  8. //                   All Rights Reserved                      //
  9. //                                                            //
  10. //                   THIS IS UNPUBLISHED                      //
  11. //                   PROPRIETARY SOURCE                       //
  12. //               CODE OF Lucent Technologies                  //
  13. //                       AND elemedia                         //
  14. //                                                            //
  15. //       The copyright notice above does not evidence any     //
  16. //      actual or intended publication of such source code    //
  17. ////////////////////////////////////////////////////////////////
  18. #if !defined(__H450ERR_H__)
  19. #define __H450ERR_H__
  20. #include "api/apierr.h"
  21. #define H450_SUCCESS 0
  22. // Aliases for general error codes
  23. #define H450_UNKNOWN_ERROR PROT_CODE_UNKNOWN_ERROR
  24. #define H450_MEM_ALLOC_FAILED PROT_CODE_MEM_ALLOC_FAILED
  25. #define H450_INVALID_PARAM PROT_CODE_INVALID_PARAM
  26. #define H450_PENDING PROT_CODE_PENDING
  27. #define H450_NOT_IMPLEMENTED PROT_CODE_NOT_IMPLEMENTED
  28. #define H450_ITEM_NOT_PRESENT PROT_CODE_ITEM_NOT_PRESENT
  29. #define H450_BUFFER_TOO_SMALL PROT_CODE_BUFFER_TOO_SMALL
  30. #define H450_INCONSISTENT_TYPES (PROT_CODE_MAX + 1)
  31. #define H450_ASN1_ENCODE_FAIL (PROT_CODE_MAX + 2)
  32. #define H450_ASN1_DECODE_FAIL (PROT_CODE_MAX + 3)
  33. #define H450_INVALID_PDU (PROT_CODE_MAX + 4)
  34. #define H4501_ERROR(CODE)
  35. (ProtReturnCode)PROT_ERR(PROT_FACILITY_CODE_H450,
  36. PROT_FACILITY_SUB_CODE_H4501,(CODE))
  37. #define H4502_ERROR(CODE)
  38. (ProtReturnCode)PROT_ERR(PROT_FACILITY_CODE_H450,
  39. PROT_FACILITY_SUB_CODE_H4502,(CODE))
  40. #define H4503_ERROR(CODE)
  41. (ProtReturnCode)PROT_ERR(PROT_FACILITY_CODE_H450,
  42. PROT_FACILITY_SUB_CODE_H4503,(CODE))
  43. #define ASN1_ERROR(CODE)
  44. (ProtReturnCode)PROT_ERR(PROT_FACILITY_CODE_H450,
  45. PROT_FACILITY_SUB_CODE_ASN1,(CODE))
  46. #endif //__H450ERR_H__
  47. //@DELE