• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* ------------------------------------------------------------------
2  * Copyright (C) 1998-2009 PacketVideo
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13  * express or implied.
14  * See the License for the specific language governing permissions
15  * and limitations under the License.
16  * -------------------------------------------------------------------
17  */
18 #ifndef CONTROL_MSG_HDR_H
19 #define CONTROL_MSG_HDR_H
20 
21 #include "oscl_base.h"
22 
23 /************************************************************************/
24 /*  Interface Information Structure Type Definitions                    */
25 /************************************************************************/
26 typedef struct _control_msg_header
27 {
28     enum TDirection
29     {
30         INCOMING = 1,
31         OUTGOING = 2
32     };
33 
34     uint32    InfType ;               /* Information Type */
35     uint32    InfId ;                 /* Information Id */
36     /* User Operation Id */
37     /* Primitive Id */
38     /* Internal Error Occurence Routine */
39     /* Timeout Id */
40     uint32    InfSupplement1 ;        /* Information Supplement 1 */
41     uint32    InfSupplement2 ;        /* Information Supplement 2 */
42     uint8*    pParameter ;            /* Primitive Information Pointer ( cf.infptv.h ) */
43     uint32    Size ;                  /* Information Parameter Size */
44     TDirection Dir;                 /* Incoming/Outgoing SE */
45 
46     uint8*    EncodedMsg;           /* Per encoded version of this message */
47     uint32    EncodedMsgSize;
48 
49 } S_ControlMsgHeader ;
50 typedef S_ControlMsgHeader *PS_ControlMsgHeader ;
51 
52 
53 #endif
54