2 * Copyright (c) 2018 Yubico AB. All rights reserved.
3 * Use of this source code is governed by a BSD-style
4 * license that can be found in the LICENSE file.
17 #endif /* __cplusplus */
19 PACKED_TYPE(iso7816_header_t,
20 struct iso7816_header {
30 PACKED_TYPE(iso7816_apdu_t,
35 iso7816_header_t header;
39 const unsigned char *iso7816_ptr(const iso7816_apdu_t *);
40 int iso7816_add(iso7816_apdu_t *, const void *, size_t);
41 iso7816_apdu_t *iso7816_new(uint8_t, uint8_t, uint8_t, uint16_t);
42 size_t iso7816_len(const iso7816_apdu_t *);
43 void iso7816_free(iso7816_apdu_t **);
47 #endif /* __cplusplus */
49 #endif /* !_ISO7816_H */