comparison modules/ldap/eldap.h @ 5118:e0db3c197671 ben-lisp-object

merge up to latest default branch, doesn't compile yet
author Ben Wing <ben@xemacs.org>
date Sat, 26 Dec 2009 21:18:49 -0600
parents c56a675b3b05
children d1247f3cc363
comparison
equal deleted inserted replaced
5117:3742ea8250b5 5118:e0db3c197671
20 20
21 #ifndef INCLUDED_eldap_h_ 21 #ifndef INCLUDED_eldap_h_
22 #define INCLUDED_eldap_h_ 22 #define INCLUDED_eldap_h_
23 23
24 #include <lber.h> 24 #include <lber.h>
25 /* #### NEEDS REWRITE!
26 Thanks to Mats Lidell <matsl@xemacs.org> for the report & patch:
27 <871wgnqunm.fsf@spencer.lidell.homelinux.net>
28 "See http://www.openldap.org/faq/data/cache/1278.html.
29 Temporary workaround would be use the deprecated interface. Long term
30 solution is a rewrite." */
31 #define LDAP_DEPRECATED 1
25 #include <ldap.h> 32 #include <ldap.h>
26 33
27 /* 34 /*
28 * The following structure records pertinent information about a 35 * The following structure records pertinent information about a
29 * LDAP connection. 36 * LDAP connection.
38 Lisp_Object host; 45 Lisp_Object host;
39 }; 46 };
40 typedef struct Lisp_LDAP Lisp_LDAP; 47 typedef struct Lisp_LDAP Lisp_LDAP;
41 48
42 49
43 DECLARE_LRECORD (ldap, Lisp_LDAP); 50 DECLARE_LISP_OBJECT (ldap, Lisp_LDAP);
44 #define XLDAP(x) XRECORD (x, ldap, Lisp_LDAP) 51 #define XLDAP(x) XRECORD (x, ldap, Lisp_LDAP)
45 #define wrap_ldap(p) wrap_record (p, ldap) 52 #define wrap_ldap(p) wrap_record (p, ldap)
46 #define LDAPP(x) RECORDP (x, ldap) 53 #define LDAPP(x) RECORDP (x, ldap)
47 #define CHECK_LDAP(x) CHECK_RECORD (x, ldap) 54 #define CHECK_LDAP(x) CHECK_RECORD (x, ldap)
48 #define CONCHECK_LDAP(x) CONCHECK_RECORD (x, ldap) 55 #define CONCHECK_LDAP(x) CONCHECK_RECORD (x, ldap)