summaryrefslogtreecommitdiff
path: root/lib/util/asn1.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-09-17 11:11:23 -0700
committerJeremy Allison <jra@samba.org>2009-09-17 11:11:23 -0700
commit389e2fb812097073d710cd7bf19396112936b404 (patch)
treec0813de9672cdbbceeb1bec790f81e8f8c429c10 /lib/util/asn1.h
parent95311a220e7107ec8b3012d67d5efef57313a274 (diff)
parentf8dae40fc8e40f747a4571a2500bba9f1a790fa5 (diff)
downloadsamba-389e2fb812097073d710cd7bf19396112936b404.tar.gz
samba-389e2fb812097073d710cd7bf19396112936b404.tar.bz2
samba-389e2fb812097073d710cd7bf19396112936b404.zip
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Diffstat (limited to 'lib/util/asn1.h')
-rw-r--r--lib/util/asn1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/asn1.h b/lib/util/asn1.h
index 4c6624056e..9abae50d64 100644
--- a/lib/util/asn1.h
+++ b/lib/util/asn1.h
@@ -60,6 +60,7 @@ bool asn1_push_tag(struct asn1_data *data, uint8_t tag);
bool asn1_pop_tag(struct asn1_data *data);
bool asn1_write_implicit_Integer(struct asn1_data *data, int i);
bool asn1_write_Integer(struct asn1_data *data, int i);
+bool asn1_write_BitString(struct asn1_data *data, const void *p, size_t length, uint8_t padding);
bool ber_write_OID_String(DATA_BLOB *blob, const char *OID);
bool asn1_write_OID(struct asn1_data *data, const char *OID);
bool asn1_write_OctetString(struct asn1_data *data, const void *p, size_t length);
@@ -90,6 +91,7 @@ bool asn1_read_OctetString(struct asn1_data *data, TALLOC_CTX *mem_ctx, DATA_BLO
bool asn1_read_ContextSimple(struct asn1_data *data, uint8_t num, DATA_BLOB *blob);
bool asn1_read_implicit_Integer(struct asn1_data *data, int *i);
bool asn1_read_Integer(struct asn1_data *data, int *i);
+bool asn1_read_BitString(struct asn1_data *data, TALLOC_CTX *mem_ctx, DATA_BLOB *blob, uint8_t *padding);
bool asn1_read_enumerated(struct asn1_data *data, int *v);
bool asn1_check_enumerated(struct asn1_data *data, int v);
bool asn1_write_enumerated(struct asn1_data *data, uint8_t v);