X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/95b697f017a4e9af954fdc766e614f67b8e290d1..50764caadcf78a3657ca014d4710fd2521dbd534:/client/emv/emvjson.h

diff --git a/client/emv/emvjson.h b/client/emv/emvjson.h
index a518d7b9..996b611d 100644
--- a/client/emv/emvjson.h
+++ b/client/emv/emvjson.h
@@ -20,7 +20,10 @@ typedef struct {
 
 extern char* GetApplicationDataName(tlv_tag_t tag);
 
+extern int JsonSaveJsonObject(json_t *root, char *path, json_t *value);
 extern int JsonSaveStr(json_t *root, char *path, char *value);
+extern int JsonSaveInt(json_t *root, char *path, int value);
+extern int JsonSaveBufAsHexCompact(json_t *elm, char *path, uint8_t *data, size_t datalen);
 extern int JsonSaveBufAsHex(json_t *elm, char *path, uint8_t *data, size_t datalen);
 extern int JsonSaveHex(json_t *elm, char *path, uint64_t data, int datalen);
 
@@ -30,6 +33,9 @@ extern int JsonSaveTLVTreeElm(json_t *elm, char *path, struct tlvdb *tlvdbelm, b
 
 extern int JsonSaveTLVTree(json_t *root, json_t *elm, char *path, struct tlvdb *tlvdbelm);
 
+extern int JsonLoadStr(json_t *root, char *path, char *value);
+extern int JsonLoadBufAsHex(json_t *elm, char *path, uint8_t *data, size_t maxbufferlen, size_t *datalen);
+
 extern bool ParamLoadFromJson(struct tlvdb *tlv);
 
 #endif
\ No newline at end of file