(U+6C79): Add `ideographic-structure'; add `sound@ja/on'; add
[chise/xemacs-chise.git.1] / modules / ldap / eldap.c
index d902d57..4e89cb4 100644 (file)
@@ -28,18 +28,20 @@ Boston, MA 02111-1307, USA.  */
    - 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
@@ -409,7 +411,7 @@ an alist of attribute/values.
 }
 
 void
-syms_of (void)
+syms_of_ldap (void)
 {
   DEFSUBR(Fldap_search_internal);
 
@@ -440,7 +442,7 @@ syms_of (void)
 }
 
 void
-vars_of (void)
+vars_of_ldap (void)
 {
   Fprovide (intern ("ldap-internal"));