~pedro/fido2-webauthn-client

fido2-webauthn-client/json.h -rw-r--r-- 524 bytes
084309c4pedro martelletto plug a mem leak in cbor_pack_item() 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (c) 2020 Pedro Martelletto. All rights reserved.
 * Use of this source code is governed by a BSD-style
 * license that can be found in the LICENSE file.
 */

#ifndef _JSON_H_
#define _JSON_H_

json_t *	json_parse_obj(const json_t *, const char *);
char *		json_parse_str(const json_t *, const char *);
int		json_check_str(const json_t *, const char *, const char *);
int		json_parse_blob(const json_t *, const char *, void **, size_t *);
int		json_parse_allowcred(const json_t *, void **, size_t *);

#endif