Objective Systems, Inc.  

ooh323.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 _OOH323HDR_H_
00022 #define _OOH323HDR_H_
00023 
00024 #include "ooasn1.h"
00025 #include "ootypes.h"
00026 #include "ootrace.h"
00027 #include "ooq931.h"
00028 #include "MULTIMEDIA-SYSTEM-CONTROL.h"
00029 
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif
00033 
00034 #ifndef EXTERN
00035 #ifdef MAKE_DLL
00036 #define EXTERN __declspec(dllexport)
00037 #else
00038 #define EXTERN
00039 #endif /* MAKE_DLL */
00040 #endif /* EXTERN */
00041 
00042 struct OOH323CallData;
00043 
00055 EXTERN int ooOnReceivedSetup
00056 (struct OOH323CallData *call, Q931Message *q931Msg);
00057 
00067 EXTERN int ooOnReceivedSignalConnect
00068 (struct OOH323CallData* call, Q931Message *q931Msg);
00069 
00078 EXTERN int ooHandleH2250Message
00079 (struct OOH323CallData *call, Q931Message *q931Msg);
00080 
00088 EXTERN int ooOnReceivedFacility
00089 (struct OOH323CallData *call, Q931Message * pQ931Msg);
00090 
00098 EXTERN int ooHandleTunneledH245Messages(struct OOH323CallData *call,
00099                                         H225H323_UU_PDU * pH323UUPdu);
00100 
00106 EXTERN int ooHandleStartH245FacilityMessage(struct OOH323CallData *call,
00107                                             H225Facility_UUIE *facility);
00108 
00120 EXTERN int ooH323RetrieveAliases
00121    (struct OOH323CallData *call, H225_SeqOfH225AliasAddress *pAddresses,
00122     OOAliases **aliasList);
00123 
00133 EXTERN int ooPopulateAliasList(OOCTXT *pctxt, OOAliases *pAliases,
00134                                H225_SeqOfH225AliasAddress *pAliasList);
00135 
00145 EXTERN OOAliases* ooH323GetAliasFromList
00146                                (OOAliases *aliasList, int type, char *value);
00147 
00157 EXTERN OOAliases* ooH323AddAliasToList
00158 (OOAliases **pAliasList, OOCTXT *pctxt, H225AliasAddress *pAliasAddress);
00159 
00172 int ooH323GetIpPortFromH225TransportAddress(struct OOH323CallData *call,
00173    H225TransportAddress *h225Address, char *ip, int *port);
00177 #ifdef __cplusplus
00178 }
00179 #endif
00180 
00181 #endif
00182 

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