Linux Audio

Check our new training course

Loading...
v4.10.11
 
 1/* ASN.1 decoder
 2 *
 3 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
 4 * Written by David Howells (dhowells@redhat.com)
 5 *
 6 * This program is free software; you can redistribute it and/or
 7 * modify it under the terms of the GNU General Public Licence
 8 * as published by the Free Software Foundation; either version
 9 * 2 of the Licence, or (at your option) any later version.
10 */
11
12#ifndef _LINUX_ASN1_DECODER_H
13#define _LINUX_ASN1_DECODER_H
14
15#include <linux/asn1.h>
16
17struct asn1_decoder;
18
19extern int asn1_ber_decoder(const struct asn1_decoder *decoder,
20			    void *context,
21			    const unsigned char *data,
22			    size_t datalen);
23
24#endif /* _LINUX_ASN1_DECODER_H */
v5.9
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/* ASN.1 decoder
 3 *
 4 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
 5 * Written by David Howells (dhowells@redhat.com)
 
 
 
 
 
 6 */
 7
 8#ifndef _LINUX_ASN1_DECODER_H
 9#define _LINUX_ASN1_DECODER_H
10
11#include <linux/asn1.h>
12
13struct asn1_decoder;
14
15extern int asn1_ber_decoder(const struct asn1_decoder *decoder,
16			    void *context,
17			    const unsigned char *data,
18			    size_t datalen);
19
20#endif /* _LINUX_ASN1_DECODER_H */