]> git.sur5r.net Git - openldap/blob - servers/slapd/slapi/slapi_common.h
SLAPI - Netscape plugin API for slapd - based on patch contributed by Steve Omrani...
[openldap] / servers / slapd / slapi / slapi_common.h
1 /*
2  * Copyright 1998-2002 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 #ifndef TRUE
17 #define TRUE 1
18 #endif
19
20 #ifndef FALSE
21 #define FALSE 0
22 #endif
23
24 #define dn_normalize_case       dn_normalize
25 #define SLAPD_NO_MEMORY         7
26 #define ANYBODY_STRING          "CN=ANYBODY"
27
28 extern int slap_debug;
29
30 int
31 dn_check(char *, int  *);
32
33
34 typedef struct strlist {
35         char *string;
36         struct strlist *next;
37 } StrList;
38
39 #endif /* SLAPI_COMMON_H */
40