proxmark3/client/aidsearch.h

29 lines
960 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>
#include <jansson.h>
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);
2019-11-05 01:54:23 +08:00
json_t *AIDSearchGetElm(json_t *root, int elmindx);
2019-11-05 03:18:37 +08:00
bool AIDGetFromElm(json_t *data, uint8_t *aid, size_t aidmaxlen, int *aidlen);
2019-11-05 01:54:23 +08:00
int AIDSearchFree();
2019-11-08 19:01:46 +08:00
#endif