summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2009-10-18 21:31:37 +0300
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2009-10-21 11:49:50 +0300
commit4dc90c0851bdeeb0f10205e4105658d75ff3df6a (patch)
tree177024047f008e7ffb999ea618eb1905284ce2e9 /source4/dsdb/schema
parent31168f1fac4c50c078f106a59c6d1da0134212b2 (diff)
downloadsamba-4dc90c0851bdeeb0f10205e4105658d75ff3df6a.tar.gz
samba-4dc90c0851bdeeb0f10205e4105658d75ff3df6a.tar.bz2
samba-4dc90c0851bdeeb0f10205e4105658d75ff3df6a.zip
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()
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r--source4/dsdb/schema/prefixmap.h6
-rw-r--r--source4/dsdb/schema/schema.h2
2 files changed, 4 insertions, 4 deletions
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;