1
0
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:
Volker Lendecke 2016-01-03 21:26:50 +01:00 committed by Jeremy Allison
parent 44c56fc667
commit d865ed2006
2 changed files with 10 additions and 9 deletions

View File

@ -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)
{

View File

@ -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)