?? cmparam.h
字號(hào):
/***********************************************************************
Copyright (c) 2002 RADVISION Ltd.
************************************************************************
NOTICE:
This document contains information that is confidential and proprietary
to RADVISION Ltd.. No part of this document may be reproduced in any
form whatsoever without written prior approval by RADVISION Ltd..
RADVISION Ltd. reserve the right to revise this publication and make
changes without obligation to notify any person of such revisions or
changes.
***********************************************************************/
#ifndef _CM_PARAM_H
#define _CM_PARAM_H
#include "cm.h"
#include "cmintr.h"
#ifdef __cplusplus
extern "C" {
#endif
/************************************************************************
* initParamSyntax
* purpose: Initialize any information related to PST that is needed to
* hold parameters without a properties database.
* input : app - Stack instance handle
* output : none
* return : non-negative value on success
* negative value on failure
************************************************************************/
int initParamSyntax(IN cmElem* app);
/************************************************************************
* endParamSyntax
* purpose: Deinitialize any information related to PST that is needed to
* hold parameters without a properties database.
* input : app - Stack instance handle
* output : none
* return : non-negative value on success
* negative value on failure
************************************************************************/
int endParamSyntax(IN cmElem* app);
/************************************************************************
* callInitParameters
* purpose: Initialize the property database for the call according to the
* mode used in the configuration.
* input : hsCall - Stack handle for the call
* return : Non-negative value on success
* Negative value on failure
************************************************************************/
int callInitParameters(IN HCALL hsCall);
/************************************************************************
* callEndParameters
* purpose: Destroy the property database for the call, with all of its
* PVT roots in different modes
* input : hsCall - Stack handle for the call
* return : Non-negative value on success
* Negative value on failure
************************************************************************/
int callEndParameters(IN HCALL hsCall);
/************************************************************************
* callGetMessage
* purpose: Get a Q931 message for the given call. This function will
* create the necessary message or just take it from the property
* database of the call - all according to the current property
* mode used for the stack.
* input : hsCall - Stack's call handle
* messageType - Type of message to get
* output : none
* return : Non-negative value on success
* Negative value on failure
************************************************************************/
int callGetMessage(IN HCALL hsCall, IN cmCallQ931MsgType messageType);
/************************************************************************
* callReleaseMessage
* purpose: This function is called by the stack when it doesn't need a
* message for a given call anymore. If the property mode used
* allows it, the message will be deleted.
* input : hsCall - Stack's call handle
* messageType - Type of message to get
* output : none
* return : Non-negative value on success
* Negative value on failure
************************************************************************/
int callReleaseMessage(IN HCALL hsCall, IN cmCallQ931MsgType messageType);
/************************************************************************
* callSetMessage
* purpose: Move a message into the call's database if necessary
* input : hsCall - Stack handle for the Q931 call
* messageType - Type of message we're dealing with
* message - Node Id of the massage to handle
* This function doesn't delete the message's node Id,
* but modifies its value
* output : none
* return : Updated message nodeId to use when handling this message on success
* Negative value on failure
************************************************************************/
int callSetMessage(IN HCALL hsCall, IN cmCallQ931MsgType messageType, IN int message);
int getCallProperty(IN HCALL hsCall);
#ifdef __cplusplus
}
#endif
#endif /* _CM_PARAM_H */
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -