From 2dbbd81677af9c470ee9370ca5414876d21c6b9b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 25 May 2008 13:36:46 +0200 Subject: [PATCH] Move ber_[read|write]_OID_String protypes to proto.h --- source/include/proto.h | 2 ++ source/librpc/ndr/ndr_drsuapi.c | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/include/proto.h b/source/include/proto.h index afce9ae63ba..3d72022b9a8 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -4202,6 +4202,8 @@ bool asn1_read_OctetString(ASN1_DATA *data, DATA_BLOB *blob); bool asn1_read_Integer(ASN1_DATA *data, int *i); bool asn1_check_enumerated(ASN1_DATA *data, int v); bool asn1_write_enumerated(ASN1_DATA *data, uint8 v); +bool ber_write_OID_String(DATA_BLOB *blob, const char *OID); +bool ber_read_OID_String(TALLOC_CTX *mem_ctx, DATA_BLOB blob, const char **OID); /* The following definitions come from libsmb/async_smb.c */ diff --git a/source/librpc/ndr/ndr_drsuapi.c b/source/librpc/ndr/ndr_drsuapi.c index 3c15e013ee4..f12ac0ba61a 100644 --- a/source/librpc/ndr/ndr_drsuapi.c +++ b/source/librpc/ndr/ndr_drsuapi.c @@ -24,9 +24,6 @@ #include "librpc/gen_ndr/ndr_drsuapi.h" #include "librpc/gen_ndr/ndr_misc.h" -bool ber_write_OID_String(DATA_BLOB *blob, const char *OID); -bool ber_read_OID_String(TALLOC_CTX *mem_ctx, DATA_BLOB blob, const char **OID); - void ndr_print_drsuapi_DsReplicaObjectListItem(struct ndr_print *ndr, const char *name, const struct drsuapi_DsReplicaObjectListItem *r) { -- 2.47.3