| Revision 656,
975 bytes
checked in by aj, 7 years ago
(diff) |
|
Lindent for consistent style
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * Build Extended CTBCS APDUs for those readers that |
|---|
| 3 | * support them (such as Kobil Kaan). |
|---|
| 4 | * |
|---|
| 5 | * Copyright (C) 2003, Olaf Kirch <okir@suse.de> |
|---|
| 6 | */ |
|---|
| 7 | |
|---|
| 8 | #ifndef IFD_CTBCS_H |
|---|
| 9 | #define IFD_CTBCS_H |
|---|
| 10 | |
|---|
| 11 | extern int ctbcs_build_output(unsigned char *cmd, size_t size, |
|---|
| 12 | const char *message); |
|---|
| 13 | extern int ctbcs_build_perform_verify_apdu(unsigned char *cmd, size_t size, |
|---|
| 14 | unsigned int slot, |
|---|
| 15 | const char *prompt, |
|---|
| 16 | unsigned int timeout, |
|---|
| 17 | const unsigned char *data, |
|---|
| 18 | size_t data_len); |
|---|
| 19 | extern int ctbcs_build_modify_verify_apdu(unsigned char *cmd, size_t size, |
|---|
| 20 | unsigned int dest, const char *prompt, |
|---|
| 21 | unsigned int timeout, |
|---|
| 22 | const unsigned char *data, |
|---|
| 23 | size_t data_len); |
|---|
| 24 | |
|---|
| 25 | extern void ctbcs_begin(ct_buf_t *, unsigned int, unsigned int, unsigned int); |
|---|
| 26 | extern int ctbcs_finish(ct_buf_t *); |
|---|
| 27 | extern int ctbcs_add_message(ct_buf_t *, const char *); |
|---|
| 28 | extern int ctbcs_add_timeout(ct_buf_t *, unsigned int); |
|---|
| 29 | |
|---|
| 30 | #endif /* IFD_CTBCS_H */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.