root/src/isdn/Q932mes.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. Q932Umes_Facility
  2. Q932Pmes_Facility
  3. Q932Umes_Hold
  4. Q932Pmes_Hold
  5. Q932Umes_HoldAck
  6. Q932Pmes_HoldAck
  7. Q932Umes_HoldReject
  8. Q932Pmes_HoldReject
  9. Q932Umes_Register
  10. Q932Pmes_Register
  11. Q932Umes_Retrieve
  12. Q932Pmes_Retrieve
  13. Q932Umes_RetrieveAck
  14. Q932Pmes_RetrieveAck
  15. Q932Umes_RetrieveReject
  16. Q932Pmes_RetrieveReject

   1 /*****************************************************************************
   2 
   3   FileName:             Q932mes.c
   4 
   5   Contents:             Q.932 Message Encoders/Decoders
   6 
   7   License/Copyright:
   8 
   9   Copyright (c) 2007, Jan Vidar Berger, Case Labs, Ltd. All rights reserved.
  10   email:janvb@caselaboratories.com  
  11 
  12   Redistribution and use in source and binary forms, with or without 
  13   modification, are permitted provided that the following conditions are 
  14   met:
  15 
  16         * Redistributions of source code must retain the above copyright notice, 
  17           this list of conditions and the following disclaimer.
  18         * Redistributions in binary form must reproduce the above copyright notice, 
  19           this list of conditions and the following disclaimer in the documentation 
  20           and/or other materials provided with the distribution.
  21         * Neither the name of the Case Labs, Ltd nor the names of its contributors 
  22           may be used to endorse or promote products derived from this software 
  23           without specific prior written permission.
  24 
  25   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
  26   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
  27   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
  28   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
  29   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
  30   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
  31   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
  32   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
  33   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
  34   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
  35   POSSIBILITY OF SUCH DAMAGE.
  36 *****************************************************************************/
  37 
  38 #include "Q931.h"
  39 
  40 /*****************************************************************************
  41 
  42   Function:      Q932Umes_Facility
  43 
  44 *****************************************************************************/
  45 
  46 L3INT Q932Umes_Facility(Q931_TrunkInfo_t *pTrunk,L3UCHAR *IBuf, Q931mes_Generic *mes, L3INT IOff, L3INT Size)
  47 {
  48         L3INT OOff = 0;
  49 
  50         /* TODO */
  51 
  52         mes->Size = sizeof(Q931mes_Generic) - 1 + OOff;
  53         return Q931E_NO_ERROR;
  54 }
  55 
  56 /*****************************************************************************
  57 
  58   Function:      Q931Pmes_Facility
  59 
  60 *****************************************************************************/
  61 L3INT Q932Pmes_Facility(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *IBuf, L3INT ISize, L3UCHAR *OBuf, L3INT *OSize)
  62 {
  63         L3BOOL RetCode = L3FALSE;
  64 
  65         NoWarning(OBuf);
  66         NoWarning(IBuf);
  67 
  68         return RetCode;
  69 }
  70 
  71 /*****************************************************************************
  72 
  73   Function:      Q932Umes_Hold
  74 
  75 *****************************************************************************/
  76 
  77 L3INT Q932Umes_Hold(Q931_TrunkInfo_t *pTrunk,L3UCHAR *IBuf, Q931mes_Generic *mes, L3INT IOff, L3INT Size)
  78 {
  79         L3INT OOff = 0;
  80 
  81         /* TODO */
  82 
  83         mes->Size = sizeof(Q931mes_Generic) - 1 + OOff;
  84         return Q931E_NO_ERROR;
  85 }
  86 
  87 /*****************************************************************************
  88 
  89   Function:      Q931Pmes_Hold
  90 
  91 *****************************************************************************/
  92 L3INT Q932Pmes_Hold(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *IBuf, L3INT ISize, L3UCHAR *OBuf, L3INT *OSize)
  93 {
  94         L3BOOL RetCode = L3FALSE;
  95 
  96         NoWarning(OBuf);
  97         NoWarning(IBuf);
  98 
  99         return RetCode;
 100 }
 101 
 102 /*****************************************************************************
 103 
 104   Function:      Q932Umes_HoldAck
 105 
 106 *****************************************************************************/
 107 
 108 L3INT Q932Umes_HoldAck(Q931_TrunkInfo_t *pTrunk,L3UCHAR *IBuf, Q931mes_Generic *mes, L3INT IOff, L3INT Size)
 109 {
 110         L3INT OOff = 0;
 111 
 112         /* TODO */
 113 
 114         mes->Size = sizeof(Q931mes_Generic) - 1 + OOff;
 115         return Q931E_NO_ERROR;
 116 }
 117 
 118 /*****************************************************************************
 119 
 120   Function:      Q931Pmes_HoldAck
 121 
 122 *****************************************************************************/
 123 L3INT Q932Pmes_HoldAck(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *IBuf, L3INT ISize, L3UCHAR *OBuf, L3INT *OSize)
 124 {
 125         L3BOOL RetCode = L3FALSE;
 126 
 127         NoWarning(OBuf);
 128         NoWarning(IBuf);
 129 
 130         return RetCode;
 131 }
 132 
 133 /*****************************************************************************
 134 
 135   Function:      Q932Umes_HoldReject
 136 
 137 *****************************************************************************/
 138 
 139 L3INT Q932Umes_HoldReject(Q931_TrunkInfo_t *pTrunk,L3UCHAR *IBuf, Q931mes_Generic *mes, L3INT IOff, L3INT Size)
 140 {
 141         L3INT OOff = 0;
 142 
 143         /* TODO */
 144 
 145         mes->Size = sizeof(Q931mes_Generic) - 1 + OOff;
 146         return Q931E_NO_ERROR;
 147 }
 148 
 149 /*****************************************************************************
 150 
 151   Function:      Q931Pmes_HoldReject
 152 
 153 *****************************************************************************/
 154 L3INT Q932Pmes_HoldReject(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *IBuf, L3INT ISize, L3UCHAR *OBuf, L3INT *OSize)
 155 {
 156         L3BOOL RetCode = L3FALSE;
 157 
 158         NoWarning(OBuf);
 159         NoWarning(IBuf);
 160 
 161         return RetCode;
 162 }
 163 
 164 /*****************************************************************************
 165 
 166   Function:      Q932Umes_Register
 167 
 168 *****************************************************************************/
 169 
 170 L3INT Q932Umes_Register(Q931_TrunkInfo_t *pTrunk,L3UCHAR *IBuf, Q931mes_Generic *mes, L3INT IOff, L3INT Size)
 171 {
 172         L3INT OOff = 0;
 173 
 174         /* TODO */
 175 
 176         mes->Size = sizeof(Q931mes_Generic) - 1 + OOff;
 177         return Q931E_NO_ERROR;
 178 }
 179 
 180 /*****************************************************************************
 181 
 182   Function:      Q931Pmes_Register
 183 
 184 *****************************************************************************/
 185 L3INT Q932Pmes_Register(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *IBuf, L3INT ISize, L3UCHAR *OBuf, L3INT *OSize)
 186 {
 187         L3BOOL RetCode = L3FALSE;
 188 
 189         NoWarning(OBuf);
 190         NoWarning(IBuf);
 191 
 192         return RetCode;
 193 }
 194 
 195 /*****************************************************************************
 196 
 197   Function:      Q932Umes_Retrieve
 198 
 199 *****************************************************************************/
 200 
 201 L3INT Q932Umes_Retrieve(Q931_TrunkInfo_t *pTrunk,L3UCHAR *IBuf, Q931mes_Generic *mes, L3INT IOff, L3INT Size)
 202 {
 203         L3INT OOff = 0;
 204 
 205         /* TODO */
 206 
 207         mes->Size = sizeof(Q931mes_Generic) - 1 + OOff;
 208         return Q931E_NO_ERROR;
 209 }
 210 
 211 /*****************************************************************************
 212 
 213   Function:      Q931Pmes_Retrieve
 214 
 215 *****************************************************************************/
 216 L3INT Q932Pmes_Retrieve(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *IBuf, L3INT ISize, L3UCHAR *OBuf, L3INT *OSize)
 217 {
 218         L3BOOL RetCode = L3FALSE;
 219 
 220         NoWarning(OBuf);
 221         NoWarning(IBuf);
 222 
 223         return RetCode;
 224 }
 225 
 226 /*****************************************************************************
 227 
 228   Function:      Q932Umes_RetrieveAck
 229 
 230 *****************************************************************************/
 231 
 232 L3INT Q932Umes_RetrieveAck(Q931_TrunkInfo_t *pTrunk,L3UCHAR *IBuf, Q931mes_Generic *mes, L3INT IOff, L3INT Size)
 233 {
 234         L3INT OOff = 0;
 235 
 236         /* TODO */
 237 
 238         mes->Size = sizeof(Q931mes_Generic) - 1 + OOff;
 239         return Q931E_NO_ERROR;
 240 }
 241 
 242 /*****************************************************************************
 243 
 244   Function:      Q931Pmes_RetrieveAck
 245 
 246 *****************************************************************************/
 247 L3INT Q932Pmes_RetrieveAck(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *IBuf, L3INT ISize, L3UCHAR *OBuf, L3INT *OSize)
 248 {
 249         L3BOOL RetCode = L3FALSE;
 250 
 251         NoWarning(OBuf);
 252         NoWarning(IBuf);
 253 
 254         return RetCode;
 255 }
 256 
 257 /*****************************************************************************
 258 
 259   Function:      Q932Umes_RetrieveReject
 260 
 261 *****************************************************************************/
 262 
 263 L3INT Q932Umes_RetrieveReject(Q931_TrunkInfo_t *pTrunk,L3UCHAR *IBuf, Q931mes_Generic *mes, L3INT IOff, L3INT Size)
 264 {
 265         L3INT OOff = 0;
 266 
 267         /* TODO */
 268 
 269         mes->Size = sizeof(Q931mes_Generic) - 1 + OOff;
 270         return Q931E_NO_ERROR;
 271 }
 272 
 273 /*****************************************************************************
 274 
 275   Function:      Q931Pmes_RetrieveReject
 276 
 277 *****************************************************************************/
 278 L3INT Q932Pmes_RetrieveReject(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *IBuf, L3INT ISize, L3UCHAR *OBuf, L3INT *OSize)
 279 {
 280         L3BOOL RetCode = L3FALSE;
 281 
 282         NoWarning(OBuf);
 283         NoWarning(IBuf);
 284 
 285         return RetCode;
 286 }

/* [<][>][^][v][top][bottom][index][help] */