From 4dc90c0851bdeeb0f10205e4105658d75ff3df6a Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Sun, 18 Oct 2009 21:31:37 +0300 Subject: s4/drs(tort): Unit test for prefixMap implementation. Currenly those tests cover only the main part of the interface, i.e. dsdb_schema_pfm_new(), dsdb_schema_pfm_make_attid() and dsdb_schema_pfm_oid_from_attid() --- source4/dsdb/schema/prefixmap.h | 6 ++---- source4/dsdb/schema/schema.h | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/dsdb/schema') diff --git a/source4/dsdb/schema/prefixmap.h b/source4/dsdb/schema/prefixmap.h index 7b28c88749..816ddcfbb3 100644 --- a/source4/dsdb/schema/prefixmap.h +++ b/source4/dsdb/schema/prefixmap.h @@ -26,8 +26,8 @@ * oid-prefix in prefixmap */ struct dsdb_schema_prefixmap_oid { - uint32_t id; - DATA_BLOB *bin_oid; /* partial binary-oid prefix */ + uint32_t id; + DATA_BLOB bin_oid; /* partial binary-oid prefix */ }; /** @@ -39,7 +39,5 @@ struct dsdb_schema_prefixmap { }; -#include "dsdb/schema/proto.h" - #endif /* _DSDB_PREFIXMAP_H */ diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h index ddd9b375f6..175e999347 100644 --- a/source4/dsdb/schema/schema.h +++ b/source4/dsdb/schema/schema.h @@ -22,6 +22,8 @@ #ifndef _DSDB_SCHEMA_H #define _DSDB_SCHEMA_H +#include "prefixmap.h" + struct dsdb_attribute; struct dsdb_class; struct dsdb_schema; -- cgit