mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
asn1: Make 'struct asn1_data' private
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
44c56fc667
commit
d865ed2006
@ -26,6 +26,15 @@ struct nesting {
|
||||
struct nesting *next;
|
||||
};
|
||||
|
||||
|
||||
struct asn1_data {
|
||||
uint8_t *data;
|
||||
size_t length;
|
||||
off_t ofs;
|
||||
struct nesting *nesting;
|
||||
bool has_error;
|
||||
};
|
||||
|
||||
/* allocate an asn1 structure */
|
||||
struct asn1_data *asn1_init(TALLOC_CTX *mem_ctx)
|
||||
{
|
||||
|
@ -21,15 +21,7 @@
|
||||
#define _ASN_1_H
|
||||
|
||||
struct nesting;
|
||||
|
||||
struct asn1_data {
|
||||
uint8_t *data;
|
||||
size_t length;
|
||||
off_t ofs;
|
||||
struct nesting *nesting;
|
||||
bool has_error;
|
||||
};
|
||||
|
||||
struct asn1_data;
|
||||
typedef struct asn1_data ASN1_DATA;
|
||||
|
||||
#define ASN1_APPLICATION(x) ((x)+0x60)
|
||||
|
Loading…
Reference in New Issue
Block a user