- UMich LDAP 3.3 (http://www.umich.edu/~dirsvcs/ldap/)
- Netscape's LDAP SDK 1.0 (http://developer.netscape.com) */
-
-
-#include <config.h>
+#include <emodules.h>
#if defined (HAVE_LDAP)
-
/* The entire file is within this conditional */
-#include "lisp.h"
-
#include "eldap.h"
#include <lber.h>
+/* #### NEEDS REWRITE!
+ Thanks to Mats Lidell <matsl@xemacs.org> for the report & patch:
+ <871wgnqunm.fsf@spencer.lidell.homelinux.net>
+ "See http://www.openldap.org/faq/data/cache/1278.html.
+ Temporary workaround would be use the deprecated interface. Long term
+ solution is a rewrite." */
+#define LDAP_DEPRECATED 1
#include <ldap.h>
#ifdef HAVE_NS_LDAP
}
void
-syms_of (void)
+syms_of_ldap (void)
{
DEFSUBR(Fldap_search_internal);
}
void
-vars_of (void)
+vars_of_ldap (void)
{
Fprovide (intern ("ldap-internal"));