Changeset 7697
- Timestamp:
- 10/12/12 12:19:27 (11 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/icc_async.c
r7687 r7697 39 39 #include "ifd_azbox.h" 40 40 #include "ifd_pcsc.h" 41 42 #define OK 0 43 #define ERROR 1 41 44 42 45 // Default T0/T14 settings -
trunk/csctapi/icc_async.h
r7684 r7697 32 32 */ 33 33 34 /* Return codes */35 #if defined(__CYGWIN__)36 #undef Ok37 #undef ERROR38 #endif39 40 #ifndef OK41 #define OK 042 #endif43 44 #ifndef ERROR45 #define ERROR 146 #endif47 48 34 #define ATR_TIMEOUT 1000 49 35 #define DEFAULT_BAUDRATE 9600 -
trunk/csctapi/ifd_azbox.c
r7687 r7697 5 5 #include "icc_async.h" 6 6 #include "ifd_azbox.h" 7 8 #define OK 0 9 #define ERROR 1 7 10 8 11 static int32_t sc_mode; -
trunk/csctapi/ifd_cool.c
r7687 r7697 11 11 #include "icc_async.h" 12 12 #include "ifd_cool.h" 13 14 #define OK 0 15 #define ERROR 1 13 16 14 17 extern int32_t cool_kal_opened; -
trunk/csctapi/ifd_mp35.c
r7687 r7697 4 4 #include "icc_async.h" 5 5 #include "io_serial.h" 6 7 #define OK 0 8 #define ERROR 1 6 9 7 10 #define ACK 0x06 -
trunk/csctapi/ifd_pcsc.c
r7684 r7697 5 5 #include "../oscam-string.h" 6 6 #include "ifd_pcsc.h" 7 8 #define OK 0 9 #define ERROR 1 7 10 8 11 int32_t pcsc_reader_init(struct s_reader *pcsc_reader, char *device) -
trunk/csctapi/ifd_pcsc.h
r7568 r7697 23 23 #endif 24 24 25 #ifndef OK26 #define OK 027 #endif28 29 25 int32_t pcsc_reader_init(struct s_reader *pcsc_reader, char *device); 30 26 int32_t pcsc_reader_do_api(struct s_reader *pcsc_reader, const uchar *buf, uchar *cta_res, uint16_t *cta_lr,int32_t l); -
trunk/csctapi/ifd_phoenix.c
r7687 r7697 10 10 #include "ifd_phoenix.h" 11 11 #include "io_serial.h" 12 13 #define OK 0 14 #define ERROR 1 12 15 13 16 #define MAX_TRANSMIT 255 -
trunk/csctapi/ifd_sc8in1.c
r7687 r7697 25 25 #include "io_serial.h" 26 26 27 #ifndef OK 28 #define OK 0 29 #endif 30 31 #ifndef ERROR 32 #define ERROR 1 33 #endif 27 #define OK 0 28 #define ERROR 1 34 29 35 30 #ifdef WITH_DEBUG -
trunk/csctapi/io_serial.c
r7687 r7697 45 45 #include "io_serial.h" 46 46 #include "mc_global.h" 47 48 #define OK 0 49 #define ERROR 1 47 50 48 51 #define IO_SERIAL_FILENAME_LENGTH 32 -
trunk/csctapi/protocol_t0.c
r7687 r7697 32 32 * Not exported constants definition 33 33 */ 34 35 #define OK 0 36 #define ERROR 1 34 37 35 38 #define PROTOCOL_T0_MAX_NULLS 200 -
trunk/csctapi/protocol_t1.c
r7687 r7697 26 26 #ifdef WITH_CARDREADER 27 27 #include "icc_async.h" 28 29 #define OK 0 30 #define ERROR 1 28 31 29 32 /* Buffer sizes */ -
trunk/globals.h
r7682 r7697 145 145 #if __GNUC__ >= 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) 146 146 # define MUST_CHECK_RESULT __attribute__((warn_unused_result)) 147 #endif 148 149 #ifdef OK 150 #undef OK 151 #endif 152 153 #ifdef ERROR 154 #undef ERROR 147 155 #endif 148 156
Note:
See TracChangeset
for help on using the changeset viewer.