source: vendor/current/source4/dsdb/schema/prefixmap.h

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 1.5 KB
Line 
1/*
2 Unix SMB/CIFS implementation.
3
4 DRS::prefixMap data structures
5
6 Copyright (C) Kamen Mazdrashki <kamen.mazdrashki@postpath.com> 2009
7
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.
12
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.
17
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/>.
20*/
21
22#ifndef _DSDB_PREFIXMAP_H
23#define _DSDB_PREFIXMAP_H
24
25/**
26 * ATTRTYP ranges
27 * Ref: MS-ADTS, 3.1.1.2.6 ATTRTYP
28 */
29enum dsdb_attid_type {
30 DSDB_ATTID_TYPE_PFM = 1, /* attid in [0x00000000..0x7FFFFFFF] */
31 DSDB_ATTID_TYPE_INTID = 2, /* attid in [0x80000000..0xBFFFFFFF] */
32 DSDB_ATTID_TYPE_RESERVED = 3, /* attid in [0xC0000000..0xFFFEFFFF] */
33 DSDB_ATTID_TYPE_INTERNAL = 4, /* attid in [0xFFFF0000..0xFFFFFFFF] */
34};
35
36/**
37 * oid-prefix in prefixmap
38 */
39struct dsdb_schema_prefixmap_oid {
40 uint32_t id;
41 DATA_BLOB bin_oid; /* partial binary-oid prefix */
42};
43
44/**
45 * DSDB prefixMap internal presentation
46 */
47struct dsdb_schema_prefixmap {
48 uint32_t length;
49 struct dsdb_schema_prefixmap_oid *prefixes;
50};
51
52
53
54#endif /* _DSDB_PREFIXMAP_H */
Note: See TracBrowser for help on using the repository browser.