Changeset 4747 for trunk/module-cccam.h
- Timestamp:
- 02/24/11 22:19:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-cccam.h
r4744 r4747 27 27 #define MINIMIZE_TRANSPARENT 3 28 28 29 #define CCCAM_MODE_NORMAL 0 29 #define CCCAM_MODE_NOTINIT 0 30 #define CCCAM_MODE_NORMAL 1 30 31 #define CCCAM_MODE_SHUTDOWN 0xFF 32 33 #define QUITERROR 1 31 34 32 35 typedef enum { … … 71 74 }; 72 75 76 typedef enum { 77 CT_LOCALCARD, 78 CT_CARD_BY_SERVICE, 79 CT_CARD_BY_CAID, 80 CT_REMOTECARD 81 } cc_card_type; 82 73 83 struct cc_card { 74 84 uint32 internal_id; 75 uint32 id; // cccam card (share) id 85 uint32 id; // cccam card (share) id - reader 76 86 uint32 remote_id; 77 87 uint16 caid; … … 86 96 struct s_reader *origin_reader; 87 97 uint32 origin_id; 98 cc_card_type card_type; 88 99 }; 89 100 … … 157 168 158 169 LLIST *cards; // cards list 159 int cards_modified;160 170 161 171 int max_ecms; 162 172 int ecm_counter; 163 uint32 report_carddata_id; //Server only164 173 LLIST *reported_carddatas; //struct cc_reported_carddata //struct cc_reported_carddata 165 174 int card_added_count; … … 209 218 int cc_UA_valid(uint8 *ua); 210 219 void cc_UA_cccam2oscam(uint8 *in, uint8 *out, uint16 caid); 220 int cc_cmd_send(struct s_client *cl, uint8 *buf, int len, cc_msg_type_t cmd); 221 int sid_eq(struct cc_srvid *srvid1, struct cc_srvid *srvid2); 222 int same_card(struct cc_card *card1, struct cc_card *card2); 223 void cc_UA_oscam2cccam(uint8 *in, uint8 *out, uint16 caid); 224 void cc_SA_oscam2cccam(uint8 *in, uint8 *out); 225 void cc_free_cardlist(LLIST *card_list, int destroy_list); 211 226 212 227 #endif /* MODULECCCAM_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.