DSMCC  15.3.1
source/dscore/src/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  ObjectKey_t
struct  ObjectLocation_t
struct  DeliveryParaTap_t
struct  ObjectTap_t
struct  _clDsmInstanceHandle_struct
struct  _clDsmTimerManagement_struct

Defines

#define DSM_CONTEXT_DEFN   pclDsmInstData_t idp
#define DSM_CONTEXT   idp
#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
#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_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 ZLIB_HEAP_NUM_BYTES   (((U32BIT)1 << 15 /*MAX_WBITS*/ ) + (1024*32/*16*/))
#define ZLIB_HEAP_NUM_WORDS   ((ZLIB_HEAP_NUM_BYTES + 3) >> 2)
#define OBJECT_CAROUSEL_LIST   0
#define NUM_LISTS_OBJECT_CAROUSEL   1
#define OC_DATA_CAROUSEL_LIST   0
#define OC_DII_ACQUIRE_LIST   1
#define OC_LITE_OBJECT_LOAD_LIST   0
#define NUM_LITE_OBJECT_LOAD_LIST   1
#define NUM_LISTS_DATA_CAROUSEL   2
#define DC_MODULE_LIST   0
#define OC_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 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 U8BIT ModuleVersion_t
typedef struct ObjectKey_tpObjectKey_t
typedef struct ObjectLocation_tpObjectLocation_t
typedef struct DeliveryParaTap_tpDeliveryParaTap_t
typedef struct ObjectTap_tpObjectTap_t
typedef struct s_LLControlP_LLControl
typedef struct s_se_infops_se_info
typedef struct s_ObjectCarouselpObjectCarousel_t
typedef struct s_ModulepModule_t
typedef struct
_clDsmInstanceHandle_struct 
clDsmInstData_t
typedef struct
_clDsmInstanceHandle_struct
pclDsmInstData_t
typedef struct
_clDsmTimerManagement_struct 
clDsmTimerManagement_t
typedef struct
_clDsmTimerManagement_struct
pclDsmTimerManagement_t

Functions

clDsmErr_t clDsmUnloadAllObjects (clDsmInstHandle_t instance, E_DsmRstMode mode)

Detailed Description

General include file for clDsm library internal definitions.

Date:
28/9/2001
Author:
R Taylor

Define 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 ));        \
        }                                               \
    }
#define MIN_DDB_MSG_BODY_LEN
Value:
(DDB_MSG_PAYLOAD_HDR_LEN + \
                                             MIN_DDB_PAYLOAD_DATA_LEN)
#define MIN_DDB_MSG_LEN
Value:
(DSMCC_DOWNLOAD_HDR_LEN  + \
                                             MIN_DDB_MSG_BODY_LEN)
#define MIN_DII_MSG_LEN
Value:
(DSMCC_MSG_HDR_LEN + \
                                 MIN_DII_MSG_BODY_LEN)
#define MIN_DSI_MSG_BODY_LEN
Value:
(DSI_HDR_LEN + \
                                 MIN_SRG_INFO_LEN)
#define MIN_DSI_MSG_LEN
Value:
(DSMCC_MSG_HDR_LEN + \
                                 MIN_DSI_MSG_BODY_LEN)
#define MIN_PROFILE_TAG_BIOP_DATA_LEN
Value:
(MIN_OBJ_LOCATION_LEN + \
                                         MIN_CONN_BINDER_LEN)
#define MIN_SRG_INFO_LEN
Value:
(IOR_HDR_LEN + \
                                 PROFILE_TAG_BIOP_HDR_LEN + \
                                 MIN_PROFILE_TAG_BIOP_DATA_LEN)
#define SECTION_FILTER_HEAP_SIZE
Value:
(NUM_SECTION_FILTERS_MAX_DEFAULT + \
                                     SECTION_FILTER_HEAP_SLACK)
 All Data Structures Files Functions Typedefs