Objective Systems, Inc.  

oochannels.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2004-2009 by Objective Systems, Inc.
00003  *
00004  * This software is furnished under an open source license and may be
00005  * used and copied only in accordance with the terms of this license.
00006  * The text of the license may generally be found in the root
00007  * directory of this installation in the COPYING file.  It
00008  * can also be viewed online at the following URL:
00009  *
00010  *   http://www.obj-sys.com/open/license.html
00011  *
00012  * Any redistributions of this file including modified versions must
00013  * maintain this copyright notice.
00014  *
00015  *****************************************************************************/
00016 
00021 #ifndef _OOCHANNELS_H_
00022 #define _OOCHANNELS_H_
00023 
00024 #include "H323-MESSAGES.h"
00025 #include "MULTIMEDIA-SYSTEM-CONTROL.h"
00026 #include "ootypes.h"
00027 #include "ooSocket.h"
00028 #include "ooCalls.h"
00029 
00030 #define OORECEIVER 1
00031 #define OOTRANSMITTER 2
00032 #define OODUPLEX 3
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037 
00038 #ifndef EXTERN
00039 #ifdef MAKE_DLL
00040 #define EXTERN __declspec(dllexport)
00041 #else
00042 #define EXTERN
00043 #endif /* MAKE_DLL */
00044 #endif /* EXTERN */
00045 
00046 struct OOH323CallData;
00047 struct Q931Message;
00048 
00058 EXTERN int ooCreateH323Listener(void);
00059 
00066 EXTERN int ooCreateH245Listener(struct OOH323CallData *call);
00067 
00074 EXTERN int ooCloseH245Listener(struct OOH323CallData *call);
00075 
00081 EXTERN int ooAcceptH225Connection(void);
00082 
00090 EXTERN int ooAcceptH245Connection(struct OOH323CallData *call);
00091 
00098 EXTERN int ooCreateH225Connection(struct OOH323CallData *call);
00099 
00107 EXTERN int ooCreateH245Connection(struct OOH323CallData *call);
00108 
00116 EXTERN int ooCloseH225Connection(struct OOH323CallData *call);
00117 
00125 EXTERN int ooCloseH245Connection(struct OOH323CallData *call);
00126 
00132 EXTERN int ooMonitorChannels(void);
00133 
00140 EXTERN int ooStopMonitorCalls(void);
00141 
00151 EXTERN int ooH2250Receive(struct OOH323CallData *call);
00152 
00162 EXTERN int ooH245Receive(struct OOH323CallData *call);
00163 
00172 EXTERN int ooSendH225Msg(struct OOH323CallData *call, struct Q931Message *msg);
00173 
00182 EXTERN int ooSendMsg(struct OOH323CallData *call, int type);
00183 
00196 EXTERN int ooOnSendMsg
00197    (struct OOH323CallData *call, int msgType, int tunneledMsgType,
00198     int associatedChan);
00199 
00207 EXTERN OOBOOL ooChannelsIsConnectionOK(OOH323CallData *call, OOSOCKET sock);
00208 
00212 #ifdef __cplusplus
00213 }
00214 #endif
00215 #endif
00216 

This file was last modified on 28 May 2010.
Objective Open H.323 Stack, 0.9.1