r15036: Add out of tree build support and see how buildfarm will respond to make...
[ira/wip.git] / source4 / ldap_server / ldap_parse.h
1 /* 
2    Unix SMB/CIFS implementation.
3    LDAP server
4    Copyright (C) Simo Sorce 2004
5    
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 2 of the License, or
9    (at your option) any later version.
10    
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15    
16    You should have received a copy of the GNU General Public License
17    along with this program; if not, write to the Free Software
18    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 */
20
21 struct dn_attribute {
22         char *attribute;
23         char *name;
24         char *value;
25 };
26
27 struct dn_component {
28         char *component;
29         int attr_num;
30         struct dn_attribute **attributes;
31 };
32
33 struct ldap_dn {
34         char *dn;
35         int comp_num;
36         struct dn_component **components;
37 };
38
39 struct ldap_schema {
40         int dummy;
41 };