mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
/*
|
||||
* Copyright (C) 2004-2005 by Objective Systems, Inc.
|
||||
*
|
||||
* This software is furnished under an open source license and may be
|
||||
* used and copied only in accordance with the terms of this license.
|
||||
* The text of the license may generally be found in the root
|
||||
* directory of this installation in the COPYING file. It
|
||||
* This software is furnished under an open source license and may be
|
||||
* used and copied only in accordance with the terms of this license.
|
||||
* The text of the license may generally be found in the root
|
||||
* directory of this installation in the COPYING file. It
|
||||
* can also be viewed online at the following URL:
|
||||
*
|
||||
* http://www.obj-sys.com/open/license.html
|
||||
*
|
||||
* Any redistributions of this file including modified versions must
|
||||
* Any redistributions of this file including modified versions must
|
||||
* maintain this copyright notice.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
/**
|
||||
* @file oochannels.h
|
||||
* This file contains functions to create and use channels.
|
||||
* @file oochannels.h
|
||||
* This file contains functions to create and use channels.
|
||||
*/
|
||||
#ifndef _OOCHANNELS_H_
|
||||
#define _OOCHANNELS_H_
|
||||
@@ -46,7 +46,7 @@ extern "C" {
|
||||
struct OOH323CallData;
|
||||
struct Q931Message;
|
||||
|
||||
/**
|
||||
/**
|
||||
* @defgroup channels Channel Management
|
||||
* @{
|
||||
*/
|
||||
@@ -60,7 +60,7 @@ EXTERN int ooCreateH323Listener(void);
|
||||
/**
|
||||
* This function is used to create a listener for incoming H.245 connections.
|
||||
* @param call Pointer to call for which H.245 listener has to be created
|
||||
*
|
||||
*
|
||||
* @return OO_OK, on success. OO_FAILED, on failure.
|
||||
*/
|
||||
EXTERN int ooCreateH245Listener(struct OOH323CallData *call);
|
||||
@@ -75,7 +75,7 @@ EXTERN int ooCloseH245Listener(struct OOH323CallData *call);
|
||||
|
||||
/**
|
||||
* This function is used to accept incoming H.225 connections.
|
||||
*
|
||||
*
|
||||
* @return OO_OK, on success. OO_FAILED, on failure.
|
||||
*/
|
||||
EXTERN int ooAcceptH225Connection(void);
|
||||
@@ -84,16 +84,16 @@ EXTERN int ooAcceptH225Connection(void);
|
||||
* This function is used to accept an incoming H.245 connection.
|
||||
* @param call Pointer to a call for which H.245 connection request has
|
||||
* arrived.
|
||||
*
|
||||
*
|
||||
* @return OO_OK, on succes. OO_FAILED, on failure.
|
||||
*/
|
||||
EXTERN int ooAcceptH245Connection(struct OOH323CallData *call);
|
||||
|
||||
/**
|
||||
* This function is used to create an H.225 connection to the remote end point.
|
||||
* @param call Pointer to the call for which H.225 connection has to be
|
||||
* @param call Pointer to the call for which H.225 connection has to be
|
||||
* setup.
|
||||
* @return OO_OK, on succes. OO_FAILED, on failure.
|
||||
* @return OO_OK, on succes. OO_FAILED, on failure.
|
||||
*/
|
||||
EXTERN int ooCreateH225Connection(struct OOH323CallData *call);
|
||||
|
||||
@@ -108,17 +108,17 @@ EXTERN int ooCreateH245Connection(struct OOH323CallData *call);
|
||||
|
||||
/**
|
||||
* This function is used to close an H.225 connection
|
||||
* @param call Pointer to the call for which H.225 connection has to be
|
||||
* @param call Pointer to the call for which H.225 connection has to be
|
||||
* closed.
|
||||
*
|
||||
*
|
||||
* @return OO_OK, on success. OO_FAILED, on failure.
|
||||
*/
|
||||
EXTERN int ooCloseH225Connection(struct OOH323CallData *call);
|
||||
|
||||
/**
|
||||
* This function is used to close an H.245 connection for a call.
|
||||
* This function is used to close an H.245 connection for a call.
|
||||
*
|
||||
* @param call Pointer to call for which H.245 connection has
|
||||
* @param call Pointer to call for which H.245 connection has
|
||||
* to be closed.
|
||||
* @return OO_OK, on success. OO_FAILED, on failure.
|
||||
*/
|
||||
@@ -127,7 +127,7 @@ EXTERN int ooCloseH245Connection(struct OOH323CallData *call);
|
||||
/**
|
||||
* This function is used to start monitoring channels for the calls. It has
|
||||
* an infinite loop which uses select to monitor various channels.
|
||||
*
|
||||
*
|
||||
*/
|
||||
EXTERN int ooMonitorChannels(void);
|
||||
EXTERN int ooMonitorCmdChannels(void);
|
||||
@@ -144,22 +144,22 @@ EXTERN void ooStopMonitorCallChannels(OOH323CallData *);
|
||||
|
||||
/**
|
||||
* This function is used to receive an H.2250 message received on a calls
|
||||
* H.225 channel. It receives the message, decodes it and calls
|
||||
* H.225 channel. It receives the message, decodes it and calls
|
||||
* 'ooHandleH2250Message' to process the message.
|
||||
* @param call Pointer to the call for which the message has to be
|
||||
* @param call Pointer to the call for which the message has to be
|
||||
* received.
|
||||
*
|
||||
*
|
||||
* @return OO_OK, on success. OO_FAILED, on failure.
|
||||
*/
|
||||
EXTERN int ooH2250Receive(struct OOH323CallData *call);
|
||||
|
||||
/**
|
||||
* This function is used to receive an H.245 message received on a calls
|
||||
* H.245 channel. It receives the message, decodes it and calls
|
||||
* H.245 channel. It receives the message, decodes it and calls
|
||||
* 'ooHandleH245Message' to process it.
|
||||
* @param call Pointer to the call for which the message has to be
|
||||
* @param call Pointer to the call for which the message has to be
|
||||
* received.
|
||||
*
|
||||
*
|
||||
* @return OO_OK, on success. OO_FAILED, on failure.
|
||||
*/
|
||||
EXTERN int ooH245Receive(struct OOH323CallData *call);
|
||||
@@ -175,7 +175,7 @@ EXTERN int ooH245Receive(struct OOH323CallData *call);
|
||||
EXTERN int ooSendH225Msg(struct OOH323CallData *call, struct Q931Message *msg);
|
||||
|
||||
/**
|
||||
* This function is used to Send a message on the channel, when channel is
|
||||
* This function is used to Send a message on the channel, when channel is
|
||||
* available for write.
|
||||
* @param call Pointer to call for which message has to be sent.
|
||||
* @param type Type of the message.
|
||||
@@ -197,11 +197,11 @@ EXTERN int ooSendMsg(struct OOH323CallData *call, int type);
|
||||
* @return OO_OK, on success. OO_FAILED, on failure
|
||||
*/
|
||||
EXTERN int ooOnSendMsg
|
||||
(struct OOH323CallData *call, int msgType, int tunneledMsgType,
|
||||
(struct OOH323CallData *call, int msgType, int tunneledMsgType,
|
||||
int associatedChan);
|
||||
|
||||
/**
|
||||
* This function is used to check the status of tcp connection.
|
||||
* This function is used to check the status of tcp connection.
|
||||
* @param call Handle to the call to which connection belongs.
|
||||
* @param sock Connected socket.
|
||||
*
|
||||
@@ -209,11 +209,10 @@ EXTERN int ooOnSendMsg
|
||||
*/
|
||||
EXTERN OOBOOL ooChannelsIsConnectionOK(OOH323CallData *call, OOSOCKET sock);
|
||||
|
||||
/**
|
||||
* @}
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user