summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/asn1t.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-09-01 13:59:16 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-09-01 13:59:16 +0000
commit1ef7acfe92cabe4312d3a7db33df91d04880aa39 (patch)
treee204a945f35e45b01f960822b06fc7c9b9747914 /crypto/asn1/asn1t.h
parenta0156a926f30beb46a6ac16c4724aff9d5a0fac6 (diff)
Initial support for ASN1 print code.
WARNING WARNING WARNING, experimental code, handle with care, use at your own risk, may contain nuts.
Diffstat (limited to 'crypto/asn1/asn1t.h')
-rw-r--r--crypto/asn1/asn1t.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/asn1/asn1t.h b/crypto/asn1/asn1t.h
index cc0cd1c842..9f5d60947e 100644
--- a/crypto/asn1/asn1t.h
+++ b/crypto/asn1/asn1t.h
@@ -644,6 +644,10 @@ typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM
typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
+typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval,
+ int indent, const char *fname,
+ const ASN1_PCTX *pctx);
+
typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
@@ -661,6 +665,7 @@ typedef struct ASN1_EXTERN_FUNCS_st {
ASN1_ex_free_func *asn1_ex_clear;
ASN1_ex_d2i *asn1_ex_d2i;
ASN1_ex_i2d *asn1_ex_i2d;
+ ASN1_ex_print_func *asn1_ex_print;
} ASN1_EXTERN_FUNCS;
typedef struct ASN1_PRIMITIVE_FUNCS_st {