Changeset 8092
- Timestamp:
- 01/12/13 15:38:16 (11 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/ifd_pcsc.c
r7919 r8092 254 254 // we have a card 255 255 pcsc_reader->pcsc_has_card=1; 256 rdr_log(pcsc_reader, "PCSC was opened with handle: %ld", pcsc_reader->hCard);256 rdr_log(pcsc_reader, "PCSC was opened with handle: %ld", (long)pcsc_reader->hCard); 257 257 } 258 258 else { -
trunk/module-stat.c
r8068 r8092 806 806 } 807 807 808 inlineuint16_t is_betatunnel_caid(uint16_t caid){808 uint16_t is_betatunnel_caid(uint16_t caid){ 809 809 if (caid == 0x1702 || caid == 0x1722 || caid == 0x1801 || caid == 0x1833 || caid == 0x1834 || caid == 0x1835) return 1; 810 810 return 0; -
trunk/module-stat.h
r8047 r8092 21 21 void lb_mark_last_reader(ECM_REQUEST *er); 22 22 uint16_t get_betatunnel_caid_to(uint16_t caid); 23 inlineuint16_t is_betatunnel_caid(uint16_t caid);23 uint16_t is_betatunnel_caid(uint16_t caid); 24 24 void check_lb_auto_betatunnel_mode(ECM_REQUEST *er); 25 25 #else -
trunk/oscam-client.c
r8074 r8092 15 15 extern CS_MUTEX_LOCK fakeuser_lock; 16 16 extern struct s_module modules[CS_MAX_MOD]; 17 18 /* Gets the client associated to the calling thread. */19 inline struct s_client *cur_client(void) {20 return (struct s_client *)pthread_getspecific(getclient);21 }22 17 23 18 /* Gets the unique thread number from the client. Used in monitor and newcamd. */ -
trunk/oscam-client.h
r8051 r8092 2 2 #define OSCAM_CLIENT_H_ 3 3 4 inline struct s_client *cur_client(void); 4 /* Gets the client associated to the calling thread. */ 5 inline static struct s_client *cur_client(void) { 6 return (struct s_client *)pthread_getspecific(getclient); 7 } 5 8 int32_t get_threadnum(struct s_client *client); 6 9 int8_t check_client(struct s_client *client); -
trunk/oscam-llist.c
r8051 r8092 415 415 } 416 416 417 inline int32_t ll_count(const LLIST *l)418 {419 if (!l || l->flag)420 return 0;421 422 return l->count;423 }424 425 417 void *ll_has_elements(const LLIST *l) { 426 418 if (!l || !l->initial || l->flag) -
trunk/oscam-llist.h
r8051 r8092 68 68 void *ll_iter_move(LL_ITER *it, int32_t offset);// moves the iterator position 69 69 int32_t ll_iter_move_first(LL_ITER *it); // moves an entry to top 70 inline int32_t ll_count(const LLIST *l); // return number of items in list 70 inline static int32_t ll_count(const LLIST *l) // return number of items in list 71 { 72 if (!l || l->flag) 73 return 0; 74 75 return l->count; 76 } 71 77 void *ll_has_elements(const LLIST *l); // returns first obj if has one 72 78 void *ll_last_element(const LLIST *l);
Note:
See TracChangeset
for help on using the changeset viewer.