diff options
author | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
---|---|---|
committer | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
commit | b2093e3016027d6b5cf06b3f91f30769bfc099e2 (patch) | |
tree | cf58939393a9032182c4fbc4441164a9456e82f8 /ldap/include/litekey.h | |
download | ds-b2093e3016027d6b5cf06b3f91f30769bfc099e2.tar.gz ds-b2093e3016027d6b5cf06b3f91f30769bfc099e2.tar.xz ds-b2093e3016027d6b5cf06b3f91f30769bfc099e2.zip |
Moving NSCP Directory Server from DirectoryBranch to TRUNK, initial drop. (foxworth)ldapserver7x
Diffstat (limited to 'ldap/include/litekey.h')
-rw-r--r-- | ldap/include/litekey.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ldap/include/litekey.h b/ldap/include/litekey.h new file mode 100644 index 00000000..43dd0f4f --- /dev/null +++ b/ldap/include/litekey.h @@ -0,0 +1,30 @@ +/** BEGIN COPYRIGHT BLOCK + * Copyright 2001 Sun Microsystems, Inc. + * Portions copyright 1999, 2001-2003 Netscape Communications Corporation. + * All rights reserved. + * END COPYRIGHT BLOCK **/ +/* + * Defines function used to determine the type of DS based on the + * key. + */ +#ifndef _LITEKEY_H +#define _LITEKEY_H + +#include <dirlite_strings.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#define DS_NORMAL_TYPE 0 +#define DS_LITE_TYPE 1 + +int is_directory_lite ( char *path); +int generate_directory_key( int type); +int is_key_validNormalKey ( int key ); + +#ifdef __cplusplus +} +#endif + +#endif /* _LITEKEY_H */ |