]>
Commit | Line | Data |
---|---|---|
3c5fce2b OM |
1 | /* |
2 | * libopenemv - a library to work with EMV family of smart cards | |
3 | * Copyright (C) 2015 Dmitry Eremin-Solenikov | |
4 | * | |
5 | * This library is free software; you can redistribute it and/or | |
6 | * modify it under the terms of the GNU Lesser General Public | |
7 | * License as published by the Free Software Foundation; either | |
8 | * version 2.1 of the License, or (at your option) any later version. | |
9 | * | |
10 | * This library is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | * Lesser General Public License for more details. | |
14 | */ | |
15 | ||
16 | #ifndef DOL_H | |
17 | #define DOL_H | |
18 | ||
19 | #include "emv/tlv.h" | |
20 | #include <stddef.h> | |
21 | ||
22 | struct tlv *dol_process(const struct tlv *tlv, const struct tlvdb *tlvdb, tlv_tag_t tag); | |
23 | struct tlvdb *dol_parse(const struct tlv *tlv, const unsigned char *buf, size_t len); | |
24 | ||
25 | #endif |