Merge pull request #969 from pwpiwi/gcc10_fixes
[legacy-proxmark3.git] / client / emv / dol.h
blob9b1b516565d877806a99ca67a108987b5decc348
1 /*
2 * libopenemv - a library to work with EMV family of smart cards
3 * Copyright (C) 2015 Dmitry Eremin-Solenikov
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.
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.
16 #ifndef DOL_H
17 #define DOL_H
19 #include "emv/tlv.h"
20 #include <stddef.h>
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);
25 #endif