summaryrefslogtreecommitdiff
path: root/src/iso7816.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2020-04-17 20:57:34 +0100
committerColin Watson <cjwatson@debian.org>2020-04-18 09:48:21 +0100
commitdf7226c4b684fd229dc046388225c69ded877721 (patch)
treee69014e1ee868c4ec178b8a36baae7de31786beb /src/iso7816.h
parentf794345c2d734f593da8ed7754e5dbb5809c688d (diff)
parent75073d0a8478441cc97a6efa10b566c5fb1dac81 (diff)
Update upstream source from tag 'upstream/1.4.0'
Update to upstream version '1.4.0' with Debian dir 64889867df57bd13ea0cb964223697d378d391ce
Diffstat (limited to 'src/iso7816.h')
-rw-r--r--src/iso7816.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/iso7816.h b/src/iso7816.h
index 426cd97..563243f 100644
--- a/src/iso7816.h
+++ b/src/iso7816.h
@@ -7,8 +7,15 @@
7#ifndef _ISO7816_H 7#ifndef _ISO7816_H
8#define _ISO7816_H 8#define _ISO7816_H
9 9
10#include <stdint.h>
11#include <stdlib.h>
12
10#include "packed.h" 13#include "packed.h"
11 14
15#ifdef __cplusplus
16extern "C" {
17#endif /* __cplusplus */
18
12PACKED_TYPE(iso7816_header_t, 19PACKED_TYPE(iso7816_header_t,
13struct iso7816_header { 20struct iso7816_header {
14 uint8_t cla; 21 uint8_t cla;
@@ -35,4 +42,8 @@ iso7816_apdu_t *iso7816_new(uint8_t, uint8_t, uint16_t);
35size_t iso7816_len(const iso7816_apdu_t *); 42size_t iso7816_len(const iso7816_apdu_t *);
36void iso7816_free(iso7816_apdu_t **); 43void iso7816_free(iso7816_apdu_t **);
37 44
45#ifdef __cplusplus
46} /* extern "C" */
47#endif /* __cplusplus */
48
38#endif /* !_ISO7816_H */ 49#endif /* !_ISO7816_H */