summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-25 13:36:46 +0200
committerVolker Lendecke <vl@samba.org>2008-05-25 13:53:43 +0200
commit5b237b8d30a09dd59c619accba65c118698c9120 (patch)
tree999b10751cb2bd4ea47181aeb3ba52cf3ed7e7c6
parent50ab871813d8281760e0c70d454cba996e0b67d8 (diff)
downloadsamba-5b237b8d30a09dd59c619accba65c118698c9120.tar.gz
samba-5b237b8d30a09dd59c619accba65c118698c9120.tar.bz2
samba-5b237b8d30a09dd59c619accba65c118698c9120.zip
Move ber_[read|write]_OID_String protypes to proto.h
(This used to be commit 2dbbd81677af9c470ee9370ca5414876d21c6b9b)
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/librpc/ndr/ndr_drsuapi.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index afce9ae63b..3d72022b9a 100644
--- a/source3/include/proto.h
+++ b/source3/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/source3/librpc/ndr/ndr_drsuapi.c b/source3/librpc/ndr/ndr_drsuapi.c
index 3c15e013ee..f12ac0ba61 100644
--- a/source3/librpc/ndr/ndr_drsuapi.c
+++ b/source3/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)
{