7 uint8_t system_key
[32];
21 int32_t s_yy
; /* start date : year */
22 int32_t s_mm
; /* start date : month */
23 int32_t s_dd
; /* start date : day */
25 int32_t l_yy
; /* limit date : year */
26 int32_t l_mm
; /* limit date : month */
27 int32_t l_dd
; /* limit date : day */
29 int32_t hold_time
; /* in hour unit */
31 int32_t broadcaster_group_id
;
39 B_CAS_PWR_ON_CTRL
*data
;
41 } B_CAS_PWR_ON_CTRL_INFO
;
44 uint8_t scramble_key
[16];
52 void (* release
)(void *bcas
);
54 int (* init
)(void *bcas
);
56 int (* get_init_status
)(void *bcas
, B_CAS_INIT_STATUS
*stat
);
57 int (* get_id
)(void *bcas
, B_CAS_ID
*dst
);
58 int (* get_pwr_on_ctrl
)(void *bcas
, B_CAS_PWR_ON_CTRL_INFO
*dst
);
60 int (* proc_ecm
)(void *bcas
, B_CAS_ECM_RESULT
*dst
, uint8_t *src
, int len
);
61 int (* proc_emm
)(void *bcas
, uint8_t *src
, int len
);
69 extern B_CAS_CARD
*create_b_cas_card();
75 #endif /* B_CAS_CARD_H */