Objective Systems, Inc.  

ootypes.h File Reference

This file contains definitions of common constants and data structures. More...

#include "ooSocket.h"
#include "MULTIMEDIA-SYSTEM-CONTROL.h"
#include "H323-MESSAGES.h"
#include "ooasn1.h"

Go to the source code of this file.

Data Structures

struct  ooCallOptions
 This structure defines options that can be set at the level of an individual call. More...
struct  ooTimerCallback

Defines

#define OOH323C_VERSION   "v0.9.2"
#define OO_FAILED   -1
#define OO_OK   0
#define OOTERMTYPE   60
 Terminal type of the endpoint.
#define MAX_IP_LENGTH   15
 Maximum length of an IP address (xxx.xxx.xxx.xxx).
#define MAXLOGMSGLEN   2048
 Maximum length of a log file message.
#define DEFAULT_MAX_RETRIES   3
 Number of times to retry a failed operation.
#define OO_MSGTYPE_MIN   101
 Various message types for H225 and H245 messages.
#define OOQ931MSG   101
#define OOH245MSG   102
#define OOSetup   103
#define OOCallProceeding   104
#define OOAlert   105
#define OOConnect   106
#define OOReleaseComplete   107
#define OOFacility   108
#define OOInformationMessage   109
#define OOMasterSlaveDetermination   110
#define OOMasterSlaveAck   111
#define OOMasterSlaveReject   112
#define OOMasterSlaveRelease   113
#define OOTerminalCapabilitySet   114
#define OOTerminalCapabilitySetAck   115
#define OOTerminalCapabilitySetReject   116
#define OOTerminalCapabilitySetRelease   117
#define OOOpenLogicalChannel   118
#define OOOpenLogicalChannelAck   119
#define OOOpenLogicalChannelReject   120
#define OOOpenLogicalChannelRelease   121
#define OOOpenLogicalChannelConfirm   122
#define OOCloseLogicalChannel   123
#define OOCloseLogicalChannelAck   124
#define OORequestChannelClose   125
#define OORequestChannelCloseAck   126
#define OORequestChannelCloseReject   127
#define OORequestChannelCloseRelease   128
#define OOEndSessionCommand   129
#define OOUserInputIndication   130
#define OO_MSGTYPE_MAX   130
#define OO_CALLESTB_TIMER   (1<<0)
#define OO_MSD_TIMER   (1<<1)
#define OO_TCS_TIMER   (1<<2)
#define OO_OLC_TIMER   (1<<3)
#define OO_CLC_TIMER   (1<<4)
#define OO_RCC_TIMER   (1<<5)
#define OO_SESSION_TIMER   (1<<6)
#define OO_H245CONNECT_TIMER   (1<<7)
#define MAXMSGLEN   16384
 Maximum length for received messages.
#define MAXFILENAME   256
 Maximum length of a filename.
#define OO_SETFLAG(flags, mask)   (flags |= (ASN1UINT)mask)
 This macro sets a flag within a bit mask.
#define OO_CLRFLAG(flags, mask)   (flags &= ~(ASN1UINT)mask)
 This macro clears a flag within a bit mask.
#define OO_TESTFLAG(flags, mask)   (((ASN1UINT)flags & (ASN1UINT)mask) != 0)
 This macro tests a flag with a bit mask.

Enumerations

enum  OOMasterSlaveState {
  OO_MasterSlave_Idle,
  OO_MasterSlave_DetermineSent,
  OO_MasterSlave_AckReceived,
  OO_MasterSlave_Master,
  OO_MasterSlave_Slave
}
 States defined for master/slave determination procedure.
enum  OOCapExchangeState {
  OO_LocalTermCapExchange_Idle,
  OO_LocalTermCapSetSent,
  OO_LocalTermCapSetAckRecvd,
  OO_RemoteTermCapExchange_Idle,
  OO_RemoteTermCapSetRecvd,
  OO_RemoteTermCapSetAckSent
}
 States defined for the capability exchange procedure.
enum  OOCallClearReason {
  OO_REASON_UNKNOWN = 0,
  OO_REASON_INVALIDMESSAGE,
  OO_REASON_TRANSPORTFAILURE,
  OO_REASON_NOROUTE,
  OO_REASON_NOUSER,
  OO_REASON_NOBW,
  OO_REASON_GK_NOCALLEDUSER,
  OO_REASON_GK_NOCALLERUSER,
  OO_REASON_GK_NORESOURCES,
  OO_REASON_GK_UNREACHABLE,
  OO_REASON_GK_CLEARED,
  OO_REASON_NOCOMMON_CAPABILITIES,
  OO_REASON_REMOTE_FWDED,
  OO_REASON_LOCAL_FWDED,
  OO_REASON_REMOTE_CLEARED,
  OO_REASON_LOCAL_CLEARED,
  OO_REASON_REMOTE_BUSY,
  OO_REASON_LOCAL_BUSY,
  OO_REASON_REMOTE_NOANSWER,
  OO_REASON_LOCAL_NOTANSWERED,
  OO_REASON_REMOTE_REJECTED,
  OO_REASON_LOCAL_REJECTED,
  OO_REASON_REMOTE_CONGESTED,
  OO_REASON_LOCAL_CONGESTED
}
 Call clear reason codes.
enum  OOCallMode {
  OO_CALLMODE_AUDIOCALL,
  OO_CALLMODE_AUDIORX,
  OO_CALLMODE_AUDIOTX,
  OO_CALLMODE_VIDEOCALL,
  OO_CALLMODE_FAX
}
 Endpoint call modes. More...


Detailed Description

This file contains definitions of common constants and data structures.

Definition in file ootypes.h.


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