diff options
author | Jeff Layton <jlayton@samba.org> | 2013-10-09 08:17:49 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2013-10-10 08:26:21 -0400 |
commit | e877c21f5e2394c8325955c645f214b8868317c8 (patch) | |
tree | f6ab297539ca03f1b47ee6fdce1ff6a8c3d4d127 /asn1.h | |
parent | 930b724e784c28bd1b3024f7fc6ca24cdac82a4d (diff) | |
download | cifs-utils-e877c21f5e2394c8325955c645f214b8868317c8.tar.gz cifs-utils-e877c21f5e2394c8325955c645f214b8868317c8.tar.bz2 cifs-utils-e877c21f5e2394c8325955c645f214b8868317c8.zip |
asn1: remove some usused functions
This cuts 30k out of the cifs.upcall binary on my x86_64 box.
Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'asn1.h')
-rw-r--r-- | asn1.h | 37 |
1 files changed, 0 insertions, 37 deletions
@@ -58,44 +58,7 @@ bool asn1_write(struct asn1_data *data, const void *p, int len); bool asn1_write_uint8(struct asn1_data *data, uint8_t v); 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(TALLOC_CTX *mem_ctx, 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); -bool asn1_write_LDAPString(struct asn1_data *data, const char *s); -bool asn1_write_DATA_BLOB_LDAPString(struct asn1_data *data, const DATA_BLOB *s); -bool asn1_write_GeneralString(struct asn1_data *data, const char *s); -bool asn1_write_ContextSimple(struct asn1_data *data, uint8_t num, DATA_BLOB *blob); -bool asn1_write_BOOLEAN(struct asn1_data *data, bool v); -bool asn1_read_BOOLEAN(struct asn1_data *data, bool *v); -bool asn1_check_BOOLEAN(struct asn1_data *data, bool v); -bool asn1_write_BOOLEAN_context(struct asn1_data *data, bool v, int context); -bool asn1_read_BOOLEAN_context(struct asn1_data *data, bool *v, int context); -bool asn1_load(struct asn1_data *data, DATA_BLOB blob); -bool asn1_peek(struct asn1_data *data, void *p, int len); -bool asn1_read(struct asn1_data *data, void *p, int len); -bool asn1_read_uint8(struct asn1_data *data, uint8_t *v); -bool asn1_peek_uint8(struct asn1_data *data, uint8_t *v); -bool asn1_peek_tag(struct asn1_data *data, uint8_t tag); -bool asn1_start_tag(struct asn1_data *data, uint8_t tag); -bool asn1_end_tag(struct asn1_data *data); -int asn1_tag_remaining(struct asn1_data *data); -bool ber_read_OID_String(TALLOC_CTX *mem_ctx, DATA_BLOB blob, const char **OID); -bool asn1_read_OID(struct asn1_data *data, TALLOC_CTX *mem_ctx, const char **OID); -bool asn1_check_OID(struct asn1_data *data, const char *OID); -bool asn1_read_LDAPString(struct asn1_data *data, TALLOC_CTX *mem_ctx, char **s); -bool asn1_read_GeneralString(struct asn1_data *data, TALLOC_CTX *mem_ctx, char **s); -bool asn1_read_OctetString(struct asn1_data *data, TALLOC_CTX *mem_ctx, DATA_BLOB *blob); -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); -bool asn1_blob(const struct asn1_data *asn1, DATA_BLOB *blob); -void asn1_load_nocopy(struct asn1_data *data, uint8_t *buf, size_t len); - #endif /* _ASN_1_H */ |