proxmark3/client/src/aidsearch.h

28 lines
974 B
C
Raw Normal View History

2019-11-05 01:54:23 +08:00
//-----------------------------------------------------------------------------
// Copyright (C) 2019 merlokk
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//-----------------------------------------------------------------------------
// Proxmark3 RDV40 AID list library
//-----------------------------------------------------------------------------
#ifndef AIDSEARCH_H__
#define AIDSEARCH_H__
#include "common.h"
#include <stdint.h>
#include <stdbool.h>
2020-06-09 22:24:12 +08:00
#include "jansson.h"
2019-11-05 01:54:23 +08:00
2019-12-31 04:42:27 +08:00
int PrintAIDDescription(json_t *xroot, char *aid, bool verbose);
int PrintAIDDescriptionBuf(json_t *root, uint8_t *aid, size_t aidlen, bool verbose);
json_t *AIDSearchInit(bool verbose);
2021-04-17 21:17:39 +08:00
json_t *AIDSearchGetElm(json_t *root, size_t elmindx);
2019-11-05 03:18:37 +08:00
bool AIDGetFromElm(json_t *data, uint8_t *aid, size_t aidmaxlen, int *aidlen);
2020-05-03 07:13:28 +08:00
int AIDSearchFree(json_t *root);
2019-11-05 01:54:23 +08:00
2019-11-08 19:01:46 +08:00
#endif