2002-12-08 01:19:29 +08:00
|
|
|
/*
|
2003-01-04 04:20:47 +08:00
|
|
|
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
2002-12-08 01:19:29 +08:00
|
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* (C) Copyright IBM Corp. 1997,2002
|
|
|
|
* Redistribution and use in source and binary forms are permitted
|
|
|
|
* provided that this notice is preserved and that due credit is
|
|
|
|
* given to IBM Corporation. This software is provided ``as is''
|
|
|
|
* without express or implied warranty.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SLAPI_COMMON_H
|
|
|
|
#define SLAPI_COMMON_H
|
|
|
|
|
2003-01-21 04:16:42 +08:00
|
|
|
LDAP_BEGIN_DECL
|
|
|
|
|
|
|
|
|
2002-12-08 01:19:29 +08:00
|
|
|
#ifndef TRUE
|
|
|
|
#define TRUE 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FALSE
|
|
|
|
#define FALSE 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define dn_normalize_case dn_normalize
|
|
|
|
#define SLAPD_NO_MEMORY 7
|
|
|
|
#define ANYBODY_STRING "CN=ANYBODY"
|
|
|
|
|
|
|
|
extern int slap_debug;
|
|
|
|
|
|
|
|
int
|
2002-12-27 19:48:41 +08:00
|
|
|
dn_check(char *, int *);
|
2002-12-08 01:19:29 +08:00
|
|
|
|
|
|
|
typedef struct strlist {
|
|
|
|
char *string;
|
|
|
|
struct strlist *next;
|
|
|
|
} StrList;
|
|
|
|
|
2003-01-21 04:16:42 +08:00
|
|
|
LDAP_END_DECL
|
|
|
|
|
2002-12-08 01:19:29 +08:00
|
|
|
#endif /* SLAPI_COMMON_H */
|
|
|
|
|