DSMCC  17.9.0
 All Data Structures Files Functions Typedefs
Data Structures | Macros | Typedefs | Enumerations | Functions
clDsmSystem.h File Reference

General include file for clDsm library internal definitions. More...

#include "cldsmcc.h"
#include "clDsmMemMgrAPI.h"
#include "dsmDbg.h"

Go to the source code of this file.

Data Structures

struct  S_ObjectKey
 
struct  S_ObjectLocation
 
struct  S_DeliveryParaTap
 
struct  s_DsmCoreInstance
 

Macros

#define MEM_CONTEXT   idp->memContext
 
#define BIT0_MSK   0x01
 
#define BIT1_MSK   0x02
 
#define BIT2_MSK   0x04
 
#define BIT3_MSK   0x08
 
#define BIT4_MSK   0x10
 
#define BIT5_MSK   0x20
 
#define BIT6_MSK   0x40
 
#define BIT7_MSK   0x80
 
#define BIT8_MSK   0x0100
 
#define BIT9_MSK   0x0200
 
#define BIT10_MSK   0x0400
 
#define BIT11_MSK   0x0800
 
#define BIT12_MSK   0x1000
 
#define BIT13_MSK   0x2000
 
#define BIT14_MSK   0x4000
 
#define BIT15_MSK   0x8000
 
#define LSB1_MSK   0x01
 
#define LSB2_MSK   0x03
 
#define LSB3_MSK   0x07
 
#define LSB4_MSK   0x0F
 
#define LSB5_MSK   0x1F
 
#define LSB6_MSK   0x3F
 
#define LSB7_MSK   0x7F
 
#define LSB8_MSK   0xFF
 
#define LSB9_MSK   0x01FF
 
#define LSB10_MSK   0x03FF
 
#define LSB11_MSK   0x07FF
 
#define LSB12_MSK   0x0FFF
 
#define LSB13_MSK   0x1FFF
 
#define LSB14_MSK   0x3FFF
 
#define LSB15_MSK   0x7FFF
 
#define LSB16_MSK   0xFFFF
 
#define MOD2_MSK   LSB1_MSK
 
#define MOD4_MSK   LSB2_MSK
 
#define MOD8_MSK   LSB3_MSK
 
#define MOD16_MSK   LSB4_MSK
 
#define MOD32_MSK   LSB5_MSK
 
#define MOD64_MSK   LSB6_MSK
 
#define MOD128_MSK   LSB7_MSK
 
#define DSIDII_ID   0x3B
 
#define DDB_ID   0x3C
 
#define STREAM_DESCR_ID   0x3D
 
#define SECTION_HDR_LEN   8
 
#define MIN_SECTION_LEN   9
 
#define MAX_SECTION_LEN   4093
 
#define MAX_DDB_BLOCKSIZE   4066
 
#define DSMCC_MSG_HDR_LEN   12
 
#define DSI_HDR_LEN   24
 
#define MIN_SRG_INFO_LEN
 
#define MIN_DSI_MSG_BODY_LEN
 
#define MIN_DSI_MSG_LEN   (DSMCC_MSG_HDR_LEN + DSI_HDR_LEN)
 
#define MIN_DII_MSG_BODY_LEN   20
 
#define MIN_DII_MSG_LEN
 
#define DSMCC_DOWNLOAD_HDR_LEN   12
 
#define DDB_MSG_PAYLOAD_HDR_LEN   6
 
#define MIN_DDB_PAYLOAD_DATA_LEN   0
 
#define MIN_DDB_MSG_BODY_LEN
 
#define MIN_DDB_MSG_LEN
 
#define MAX_DDB_BLOCKSIZE   4066
 
#define TRANSACTION_ID_UPDATED_MASK   0x00000001
 
#define TRANSACTION_ID_IDENT_MASK   0x0000fffe
 
#define TRANSACTION_ID_VERSION_MASK   0x3fff0000
 
#define TRANSACTION_ID_ORIG_MASK   0xc0000000
 
#define OBJECT_NUMBYTES_TO_MESSAGE_START   12
 
#define BIOP_MAGIC   0x42494F50
 
#define TAG_LITE_OPTIONS   0x49534f05
 
#define TAG_BIOP   0x49534f06
 
#define TAG_CONN_BINDER   0x49534f40
 
#define TAG_SERVICE_LOCATION   0x49534f46
 
#define TAG_OBJECT_LOCATION   0x49534f50
 
#define IOR_HDR_LEN   12
 
#define PROFILE_TAG_BIOP_HDR_LEN   10
 
#define MIN_PROFILE_TAG_BIOP_DATA_LEN
 
#define MIN_OBJ_LOCATION_LEN   15
 
#define MIN_OBJLOC_COMPONENT_DATA_LEN   (MIN_OBJ_LOCATION_LEN - 5)
 
#define MIN_CONN_BINDER_LEN   23
 
#define MIN_CONBIND_COMPONENT_DATA_LEN   (MIN_CONN_BINDER_LEN - 5)
 
#define UNKNOWN_USE   ((U16BIT) 0)
 
#define MPEG_TS_UP_USE   ((U16BIT) 1) /* MPEG transport upstream from Client */
 
#define MPEG_TS_DOWN_USE   ((U16BIT) 2) /* MPEG transport downstream to Client */
 
#define MPEG_ES_UP_USE   ((U16BIT) 3) /* MPEG elementary upstream from Client */
 
#define MPEG_ES_DOWN_USE   ((U16BIT) 4) /* MPEG elementary downstream to Client */
 
#define DOWNLOAD_CTRL_USE   ((U16BIT) 5) /* control request/response */
 
#define DOWNLOAD_CTRL_UP_USE   ((U16BIT) 6) /* control request from Client */
 
#define DOWNLOAD_CTRL_DOWN_USE   ((U16BIT) 7) /* control response to Client */
 
#define DOWNLOAD_DATA_USE   ((U16BIT) 8) /* data request/response */
 
#define DOWNLOAD_DATA_UP_USE   ((U16BIT) 9) /* data response upstream from Client */
 
#define DOWNLOAD_DATA_DOWN_USE   ((U16BIT) 10) /* data block downstream to Client */
 
#define STR_NPT_USE   ((U16BIT) 11) /* NPT Descriptors */
 
#define STR_STATUS_AND_EVENT_USE   ((U16BIT) 12) /* Stream Mode and Event Descriptors */
 
#define STR_EVENT_USE   ((U16BIT) 13) /* Stream Event Descriptor */
 
#define STR_STATUS_USE   ((U16BIT) 14) /* Stream Mode Descriptor */
 
#define RPC_USE   ((U16BIT) 15) /* RPC bi-directional */
 
#define IP_USE   ((U16BIT) 16) /* IP bi-directional */
 
#define SDB_CTRL_USE   ((U16BIT) 17) /* control channel for Switched Digital Broadcast */
 
#define T120_TAP1   ((U16BIT) 18) /* reserved for use and definition by T.120 */
 
#define T120_TAP2   ((U16BIT) 19) /* reserved for use and definition by T.120 */
 
#define T120_TAP3   ((U16BIT) 20) /* reserved for use and definition by T.120 */
 
#define T120_TAP4   ((U16BIT) 21) /* reserved for use and definition by T.120 */
 
#define BIOP_DELIVERY_PARA_USE   ((U16BIT) 22) /* Module delivery parameters */
 
#define BIOP_OBJECT_USE   ((U16BIT) 23) /* BIOP objects in Modules */
 
#define BIOP_ES_USE   ((U16BIT) 24) /* Elementary Stream */
 
#define BIOP_PROGRAM_USE   ((U16BIT) 25) /* Program */
 
#define BIOP_DNL_CTRL_USE   ((U16BIT) 26) /* Download control messages */
 
#define SRG_STR   0x73726700 /* = "srg\0" */
 
#define DIR_STR   0x64697200 /* = "dir\0" */
 
#define FIL_STR   0x66696c00 /* = "fil\0" */
 
#define STR_STR   0x73747200 /* = "str\0" */
 
#define STE_STR   0x73746500 /* = "ste\0" */
 
#define DESCRIPTOR_TYPE_TAG   ((U8BIT) 1)
 
#define DESCRIPTOR_NAME_TAG   ((U8BIT) 2)
 
#define DESCRIPTOR_INFO_TAG   ((U8BIT) 3)
 
#define DESCRIPTOR_MODULE_LINK_TAG   ((U8BIT) 4) /* DII only */
 
#define DESCRIPTOR_CRC32_TAG   ((U8BIT) 5) /* DII only */
 
#define DESCRIPTOR_LOCATION_TAG   ((U8BIT) 6)
 
#define DESCRIPTOR_EST_DOWNLOAD_TIME_TAG   ((U8BIT) 7)
 
#define DESCRIPTOR_GROUP_LINK_TAG   ((U8BIT) 8) /* DSI only */
 
#define DESCRIPTOR_COMP_MODULE_TAG   ((U8BIT) 9) /* DII only */
 
#define DESCRIPTOR_SSU_MODULE_TYPE_TAG   ((U8BIT) 0x0A) /* DII only */
 
#define DESCRIPTOR_SSU_SUBGROUP_ASS_TAG   ((U8BIT) 0x0B) /* DSI only */
 
#define DESCRIPTOR_MHP_LABEL   ((U8BIT) 0x70) /* DII only */
 
#define DESCRIPTOR_MHP_CACHING_PRIORITY   ((U8BIT) 0x71) /* DII only */
 
#define MAX_PATH_NAME_SIZE   255 /* -- Including null terminator */
 
#define MAX_DIRECTORY_DEPTH   (((MAX_PATH_NAME_SIZE - 1) + 1) / 2)
 
#define PATH_SEPERATOR_CHAR   '/'
 
#define MIN_MEM_BLK_SIZE   256
 
#define MAX_BLOCKS_IN_MODULE   1600
 
#define NUM_INTERNAL_MEM_SEQ_MAX   128
 
#define MAX_MODULE_DECOMPRESS_FAILURES   3
 
#define SECTION_FILTER_HEAP_SLACK   16
 
#define SECTION_FILTER_HEAP_SIZE
 
#define ROOT_CAROUSEL_LIST   0
 
#define NUM_LISTS_ROOT_CAROUSEL   1
 
#define OC_DATA_CAROUSEL_LIST   0
 
#define OC_DII_ACQUIRE_LIST   1
 
#define NUM_LISTS_DATA_CAROUSEL   2
 
#define OC_LITE_OBJECT_LOAD_LIST   0
 
#define NUM_LITE_OBJECT_LOAD_LIST   1
 
#define DC_MODULE_LIST   0
 
#define MODULE_ACQUIRE_LIST   1
 
#define MODULE_PRIORITY_LIST   2
 
#define MODULE_LOADED_LIST   2
 
#define MODULE_DELETE_LIST   2
 
#define NUM_LISTS_MODULE   3
 
#define CURR_OBJECT_LIST   0
 
#define MODULE_OBJECT_LIST   1 /* -- Currently not used */
 
#define NUM_LISTS_OBJECT   2
 
#define CURR_LOAD_REQUEST_LIST   0
 
#define MODULE_LOAD_REQUEST_LIST   1
 
#define NUM_LISTS_LOAD_REQUEST   2
 
#define CURR_SI_QUERY_LIST   0
 
#define DUPLICATE_SI_QUERY_LIST   1
 
#define NUM_LISTS_SI_QUERY   2
 
#define DEBUG_CHK(condn, dbgActn)   if (!(condn)) { dbgActn; }
 
#define API_PARAM_CHK(condn, dbgErrActn, relErrActn)   if (!(condn)) { dbgErrActn; relErrActn; } \
 
#define DSM_DATA_CHECK_LEVEL   1
 
#define L0_DATA_CHK(condn, dbgErrActn, relErrActn)   if (!(condn)) { dbgErrActn; relErrActn; } \
 
#define L1_DATA_CHK(condn, dbgErrActn, relErrActn)   if (!(condn)) { dbgErrActn; relErrActn; } \
 
#define L2_DATA_CHK(condn, dbgErrActn, relErrActn)   if (!(condn)) { dbgErrActn; } \
 
#define CHECK_MEM_ERR(func)
 

Typedefs

typedef struct S_ObjectKeyP_ObjectKey
 
typedef struct S_ObjectLocationP_ObjectLocation
 
typedef struct S_DeliveryParaTapP_DeliveryParaTap
 
typedef struct s_LLControlP_LLControl
 
typedef struct s_se_info * ps_se_info
 
typedef struct s_ObjectCarouselP_ObjectCarousel
 
typedef struct s_RootCarouselP_RootCarousel
 
typedef struct s_DataCarouselP_DataCarousel
 
typedef struct s_ModuleP_Module
 
typedef struct s_dsmevent * P_Event
 
typedef struct s_SiQueryP_SiQuery
 
typedef struct s_RootLoadRqstP_RootLoadRqst
 
typedef struct s_ModuleData * P_ModuleData
 
typedef struct s_ZlibHeap * P_ZlibHeap
 
typedef struct s_DsmCoreInstance S_DsmCoreInst
 
typedef struct s_DsmCoreInstanceP_DsmCoreInst
 

Enumerations

enum  E_PostionType { PTYP_INIT = 0x00, PTYP_FIRST = 0x01, PTYP_INTER = 0x02, PTYP_LAST = 0x03 }
 

Functions

E_DscError CDSM_UnloadAllObjects (P_DsmCoreInst instance, E_DsmRstMode mode)
 

Detailed Description

General include file for clDsm library internal definitions.

Date
28/9/2001
Author
R Taylor

Definition in file clDsmSystem.h.

Macro Definition Documentation

#define CHECK_MEM_ERR (   func)
Value:
{ \
E_DsmMemErr memErr; \
\
memErr = func; \
if (memErr != MEM_NO_ERR) { \
dsmDP1(("Memory error : %i \n", memErr)); \
dsmAssert((memErr == MEM_NO_ERR)); \
} \
}

Definition at line 457 of file clDsmSystem.h.

#define MIN_DDB_MSG_BODY_LEN
Value:
(DDB_MSG_PAYLOAD_HDR_LEN + \
MIN_DDB_PAYLOAD_DATA_LEN)

Definition at line 139 of file clDsmSystem.h.

#define MIN_DDB_MSG_LEN
Value:
(DSMCC_DOWNLOAD_HDR_LEN + \
MIN_DDB_MSG_BODY_LEN)

Definition at line 141 of file clDsmSystem.h.

#define MIN_DII_MSG_LEN
Value:
(DSMCC_MSG_HDR_LEN + \
MIN_DII_MSG_BODY_LEN)

Definition at line 132 of file clDsmSystem.h.

#define MIN_DSI_MSG_BODY_LEN
Value:
(DSI_HDR_LEN + \
MIN_SRG_INFO_LEN)

Definition at line 125 of file clDsmSystem.h.

#define MIN_PROFILE_TAG_BIOP_DATA_LEN
Value:
(MIN_OBJ_LOCATION_LEN + \
MIN_CONN_BINDER_LEN)

Definition at line 167 of file clDsmSystem.h.

#define MIN_SRG_INFO_LEN
Value:
(IOR_HDR_LEN + \
PROFILE_TAG_BIOP_HDR_LEN + \
MIN_PROFILE_TAG_BIOP_DATA_LEN)

Definition at line 122 of file clDsmSystem.h.

#define SECTION_FILTER_HEAP_SIZE
Value:
(NUM_SECTION_FILTERS_MAX_DEFAULT + \
SECTION_FILTER_HEAP_SLACK)

Definition at line 271 of file clDsmSystem.h.