]> git.sur5r.net Git - openldap/blob - servers/slapd/slapi/slapi_common.h
Ensure that global plugins are called after backend-specific plugins
[openldap] / servers / slapd / slapi / slapi_common.h
1 /*
2  * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
3  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4  */
5 /*
6  * (C) Copyright IBM Corp. 1997,2002
7  * Redistribution and use in source and binary forms are permitted
8  * provided that this notice is preserved and that due credit is 
9  * given to IBM Corporation. This software is provided ``as is'' 
10  * without express or implied warranty.
11  */
12
13 #ifndef SLAPI_COMMON_H
14 #define SLAPI_COMMON_H
15
16 LDAP_BEGIN_DECL
17
18
19 #ifndef TRUE
20 #define TRUE 1
21 #endif
22
23 #ifndef FALSE
24 #define FALSE 0
25 #endif
26
27 #define dn_normalize_case       dn_normalize
28 #define SLAPD_NO_MEMORY         7
29 #define ANYBODY_STRING          "CN=ANYBODY"
30
31 extern int slap_debug;
32
33 int
34 dn_check(char *, int *);
35
36 typedef struct strlist {
37         char *string;
38         struct strlist *next;
39 } StrList;
40
41 LDAP_END_DECL
42
43 #endif /* SLAPI_COMMON_H */
44