s4/drs(tort): Unit test for prefixMap implementation.
[Samba/fernandojvsilva.git] / source4 / dsdb / schema / prefixmap.h
blob816ddcfbb39695f0ebf25a01e5872e09f27d4543
1 /*
2 Unix SMB/CIFS implementation.
4 DRS::prefixMap data structures
6 Copyright (C) Kamen Mazdrashki <kamen.mazdrashki@postpath.com> 2009
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef _DSDB_PREFIXMAP_H
23 #define _DSDB_PREFIXMAP_H
25 /**
26 * oid-prefix in prefixmap
28 struct dsdb_schema_prefixmap_oid {
29 uint32_t id;
30 DATA_BLOB bin_oid; /* partial binary-oid prefix */
33 /**
34 * DSDB prefixMap internal presentation
36 struct dsdb_schema_prefixmap {
37 uint32_t length;
38 struct dsdb_schema_prefixmap_oid *prefixes;
43 #endif /* _DSDB_PREFIXMAP_H */