q931err.h
资源名称:h323.zip [点击查看]
上传用户:hnnddl
上传日期:2007-01-06
资源大小:3580k
文件大小:2k
源码类别:
IP电话/视频会议
开发平台:
WINDOWS
- /*
- * $Revision: 1.2 $
- * $Date: 1997/08/20 20:18:48 $
- */
- ////////////////////////////////////////////////////////////////
- // Copyright (c) 1996,97 Lucent Technologies //
- // All Rights Reserved //
- // //
- // THIS IS UNPUBLISHED //
- // PROPRIETARY SOURCE //
- // CODE OF Lucent Technologies //
- // AND elemedia //
- // //
- // The copyright notice above does not evidence any //
- // actual or intended publication of such source code//
- ////////////////////////////////////////////////////////////////
- #if !defined(__Q931ERRCODES_H__)
- #include "api/apierr.h"
- #define Q931_SUCCESS 0
- // Aliases for general error codes
- #define Q931_UNKNOWN_ERROR PROT_CODE_UNKNOWN_ERROR
- #define Q931_MEM_ALLOC_FAILED PROT_CODE_MEM_ALLOC_FAILED
- #define Q931_INVALID_PARAM PROT_CODE_INVALID_PARAM
- #define Q931_PENDING PROT_CODE_PENDING
- #define Q931_NOT_IMPLEMENTED PROT_CODE_NOT_IMPLEMENTED
- #define Q931_BUFFER_TOO_SMALL PROT_CODE_BUFFER_TOO_SMALL
- #define Q931_ITEM_NOT_PRESENT PROT_CODE_ITEM_NOT_PRESENT
- // Q931 specific error codes
- // PASS1: Removed unused error codes.
- #define Q931_ENGINE_LISTENING (PROT_CODE_MAX + 1)
- #define Q931_INVALID_MESSAGE (PROT_CODE_MAX + 2)
- #define Q931_INVALID_IE (PROT_CODE_MAX + 3)
- #define Q931_GOT_RELEASE_COMPLETE (PROT_CODE_MAX + 4)
- #define Q931_REMOTE_END_TIMEDOUT (PROT_CODE_MAX + 5)
- #define Q931_FACILITY_SUB_CODE_GENERIC 0
- #define Q931_ERROR(CODE)
- (ProtReturnCode)PROT_ERR(PROT_FACILITY_CODE_Q931,
- Q931_FACILITY_SUB_CODE_GENERIC,(CODE))
- #endif //__Q931ERRCODES_H__