From d09c8a896ef9a38371896d5a3513ab33ec957a11 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 11 Aug 2005 10:33:42 +0000 Subject: [PATCH] Add some missing LDAP definitions. --- include/winldap.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/winldap.h b/include/winldap.h index 4e7e2c8089b..2b981175014 100644 --- a/include/winldap.h +++ b/include/winldap.h @@ -16,6 +16,9 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifndef __WINE_WINLDAP_H +#define __WINE_WINLDAP_H + typedef enum { LDAP_SUCCESS = 0x00, LDAP_OPERATIONS_ERROR = 0x01, @@ -106,6 +109,8 @@ typedef struct berelement #define LDAP_OPT_THREAD_FN_PTRS 0x05 #define LDAP_OPT_REBIND_FN 0x06 #define LDAP_OPT_REBIND_ARG 0x07 +#define LDAP_OPT_REFERRALS 0x08 +#define LDAP_OPT_RESTART 0x09 #define LDAP_OPT_SSL 0x0a #define LDAP_OPT_IO_FN_PTRS 0x0b #define LDAP_OPT_CACHE_FN_PTRS 0x0d @@ -146,6 +151,9 @@ typedef struct berelement #define LDAP_OPT_SECURITY_CONTEXT 0x99 #define LDAP_OPT_ROOTDSE_CACHE 0x9a +#define LDAP_OPT_ON ((void *)1) +#define LDAP_OPT_OFF ((void *)0) + #define LDAP_VERSION1 1 #define LDAP_VERSION2 2 #define LDAP_VERSION3 3 @@ -615,3 +623,5 @@ ULONG LdapGetLastError(void); ULONG LdapMapErrorToWin32(ULONG); int LdapUnicodeToUTF8(LPCWSTR,int,LPSTR,int); int LdapUTF8ToUnicode(LPCSTR,int,LPWSTR,int); + +#endif /* __WINE_WINLDAP_H */