| 1 |
/*=========================================================================== |
| 2 |
FILE: |
| 3 |
GobiCMCallback.h |
| 4 |
|
| 5 |
DESCRIPTION: |
| 6 |
Contains the declaration of each Gobi CM callback function, |
| 7 |
structures needed for these callbacks and message IDs for |
| 8 |
each callback |
| 9 |
|
| 10 |
Copyright (c) 2012, Code Aurora Forum. All rights reserved. |
| 11 |
|
| 12 |
Redistribution and use in source and binary forms, with or without |
| 13 |
modification, are permitted provided that the following conditions are met: |
| 14 |
* Redistributions of source code must retain the above copyright |
| 15 |
notice, this list of conditions and the following disclaimer. |
| 16 |
* Redistributions in binary form must reproduce the above copyright |
| 17 |
notice, this list of conditions and the following disclaimer in the |
| 18 |
documentation and/or other materials provided with the distribution. |
| 19 |
* Neither the name of Code Aurora Forum nor |
| 20 |
the names of its contributors may be used to endorse or promote |
| 21 |
products derived from this software without specific prior written |
| 22 |
permission. |
| 23 |
|
| 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 |
//--------------------------------------------------------------------------- |
| 39 |
// Pragmas |
| 40 |
//--------------------------------------------------------------------------- |
| 41 |
#pragma once |
| 42 |
|
| 43 |
//--------------------------------------------------------------------------- |
| 44 |
// Include Files |
| 45 |
//--------------------------------------------------------------------------- |
| 46 |
#include "GobiCMDLL.h" |
| 47 |
|
| 48 |
//--------------------------------------------------------------------------- |
| 49 |
// Definitions |
| 50 |
//--------------------------------------------------------------------------- |
| 51 |
|
| 52 |
// WDS event report callback |
| 53 |
void WDSEventReportCallback( |
| 54 |
ULONG svcID, |
| 55 |
ULONG msgID, |
| 56 |
GOBIHANDLE handle, |
| 57 |
ULONG outLen, |
| 58 |
const BYTE * pOut ); |
| 59 |
|
| 60 |
// WDS packet service status callback |
| 61 |
void WDSSessionStateCallback( |
| 62 |
ULONG svcID, |
| 63 |
ULONG msgID, |
| 64 |
GOBIHANDLE handle, |
| 65 |
ULONG outLen, |
| 66 |
const BYTE * pOut ); |
| 67 |
|
| 68 |
// NAS event report callback |
| 69 |
void NASEventReportCallback( |
| 70 |
ULONG svcID, |
| 71 |
ULONG msgID, |
| 72 |
GOBIHANDLE handle, |
| 73 |
ULONG outLen, |
| 74 |
const BYTE * pOut ); |
| 75 |
|
| 76 |
// NAS serving system callback |
| 77 |
void NASServingSystemCallback( |
| 78 |
ULONG svcID, |
| 79 |
ULONG msgID, |
| 80 |
GOBIHANDLE handle, |
| 81 |
ULONG outLen, |
| 82 |
const BYTE * pOut ); |
| 83 |
|