Last change
on this file since 9568 was 7630, checked in by gf, 11 years ago |
cccam: Start to cleanup cccam header files.
This patch does three things:
- Moves cccam structures and defines in module-cccam-data.h
- Moves all functions used outside of cccam in module-cccam.h
- Moves all functions shared between module-cccam and module-cccshare.c in module-cccshare.h
|
-
Property svn:eol-style
set to
LF
|
File size:
958 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * module-cccshare.h
|
---|
3 | *
|
---|
4 | * Created on: 26.02.2011
|
---|
5 | * Author: schlocke
|
---|
6 | */
|
---|
7 | #ifndef MODULE_CCCSHARE_H_
|
---|
8 | #define MODULE_CCCSHARE_H_
|
---|
9 |
|
---|
10 | // In this file put functions that are shared between module-cccam.c and module-cccshare.c
|
---|
11 |
|
---|
12 | int32_t chk_ident(FTAB *ftab, struct cc_card *card);
|
---|
13 | int32_t cc_srv_report_cards(struct s_client *cl);
|
---|
14 | LLIST *get_cardlist(uint16_t caid, LLIST **list);
|
---|
15 |
|
---|
16 | void cc_free_card(struct cc_card *card);
|
---|
17 | void cc_free_cardlist(LLIST *card_list, int32_t destroy_list);
|
---|
18 | int32_t cc_cmd_send(struct s_client *cl, uint8_t *buf, int32_t len, cc_msg_type_t cmd);
|
---|
19 | int32_t sid_eq(struct cc_srvid *srvid1, struct cc_srvid *srvid2);
|
---|
20 | int32_t same_card(struct cc_card *card1, struct cc_card *card2);
|
---|
21 | int32_t same_card2(struct cc_card *card1, struct cc_card *card2, int8_t compare_grp);
|
---|
22 | void cc_UA_oscam2cccam(uint8_t *in, uint8_t *out, uint16_t caid);
|
---|
23 | void cc_SA_oscam2cccam(uint8_t *in, uint8_t *out);
|
---|
24 | void set_card_timeout(struct cc_card *card);
|
---|
25 |
|
---|
26 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.