add Q931MegGetIE function to simplify the Pmes functions.

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@147 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris committed 2007-05-24 20:16:45 +00:00
1 parent 2995ab7be1
commit 4aa98bc03b
2 files changed
+161

No files matched your search

+8
View File
@@ -1413,6 +1413,10 @@ typedef struct
ie HLComp; /* High Layer Compatibility */
ie UserUser; /* User-user */
ie Escape; /* Escape for extension */
ie Switchhook;
ie FeatAct;
ie FeatInd;
L3UCHAR buf[1]; /* Buffer for IE's */
}Q931mes_Generic;
@@ -1593,6 +1597,8 @@ extern L3INT (*Q931Pmes [Q931MAXDLCT][Q931MAXMES]) (Q931_TrunkInfo_t *pTrunk,
extern L3INT (*Q931Uie [Q931MAXDLCT][Q931MAXIE] ) (Q931_TrunkInfo_t *pTrunk,ie *pIE,L3UCHAR * IBuf, L3UCHAR * OBuf, L3INT *IOff, L3INT *OOff);
extern L3INT (*Q931Pie [Q931MAXDLCT][Q931MAXIE] ) (Q931_TrunkInfo_t *pTrunk,L3UCHAR *IBuf, L3UCHAR *OBuf, L3INT *Octet);
extern L3UINT Q931MsgieOffset[Q931MAXIE];
/*****************************************************************************
Macro: GetIETotoSize
@@ -1924,6 +1930,8 @@ void Q931SetGetTimeCB(L3ULONG (*callback)());
void Q931AddStateEntry(L3UCHAR iD, L3INT iState, L3INT iMes, L3UCHAR cDir);
L3BOOL Q931IsEventLegal(L3UCHAR iD, L3INT iState, L3INT iMes, L3UCHAR cDir);
ie *Q931MegGetIE(Q931mes_Generic *msg, L3UINT ie_type);
/*****************************************************************************
Q.931 Low Level API Function Prototyping. Implemented in Q931API.c