Last change
on this file since 5375 was 5245, checked in by schlocke, 13 years ago |
modularization: CCCAM (MODULE_CCCAM) and LOADBALANCER (WITH_LB) could be
removed with config.sh
|
File size:
1.1 KB
|
Line | |
---|
1 | #include "globals.h"
|
---|
2 | #ifdef MODULE_CCCAM
|
---|
3 | /*
|
---|
4 | * module-cccshare.h
|
---|
5 | *
|
---|
6 | * Created on: 26.02.2011
|
---|
7 | * Author: schlocke
|
---|
8 | */
|
---|
9 | #ifndef MODULECCCSHARE_H_
|
---|
10 | #define MODULECCCSHARE_H_
|
---|
11 |
|
---|
12 | #include <string.h>
|
---|
13 | #include <stdlib.h>
|
---|
14 | #include "module-cccam.h"
|
---|
15 | #include <time.h>
|
---|
16 | #include "reader-common.h"
|
---|
17 | #include <poll.h>
|
---|
18 |
|
---|
19 |
|
---|
20 | void init_share();
|
---|
21 | void done_share();
|
---|
22 | void add_share(struct cc_card *card);
|
---|
23 | void remove_share(struct cc_card *card);
|
---|
24 |
|
---|
25 | LLIST *get_and_lock_sharelist();
|
---|
26 | void unlock_sharelist();
|
---|
27 | void refresh_shares();
|
---|
28 |
|
---|
29 | int32_t chk_ident(FTAB *ftab, struct cc_card *card);
|
---|
30 | int32_t card_valid_for_client(struct s_client *cl, struct cc_card *card);
|
---|
31 |
|
---|
32 | int32_t cc_clear_reported_carddata(LLIST *reported_carddatas, LLIST *except,
|
---|
33 | int32_t send_removed);
|
---|
34 | int32_t cc_free_reported_carddata(LLIST *reported_carddatas, LLIST *except,
|
---|
35 | int32_t send_removed);
|
---|
36 |
|
---|
37 | int32_t send_card_to_clients(struct cc_card *card, struct s_client *one_client);
|
---|
38 | void send_remove_card_to_clients(struct cc_card *card);
|
---|
39 |
|
---|
40 | int32_t cc_srv_report_cards(struct s_client *cl);
|
---|
41 |
|
---|
42 | void sort_cards_by_hop(LLIST *cards, int32_t reverse);
|
---|
43 | #endif /* MODULECCCSHARE_H_ */
|
---|
44 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.