Mercurial > hg > xemacs-beta
comparison src/eldap.h @ 440:8de8e3f6228a r21-2-28
Import from CVS: tag r21-2-28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:33:38 +0200 |
parents | 3ecd8885ac67 |
children | abe6d1db359e |
comparison
equal
deleted
inserted
replaced
439:357dd071b03c | 440:8de8e3f6228a |
---|---|
16 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License |
17 along with XEmacs; see the file COPYING. If not, write to | 17 along with XEmacs; see the file COPYING. If not, write to |
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
19 Boston, MA 02111-1307, USA. */ | 19 Boston, MA 02111-1307, USA. */ |
20 | 20 |
21 #ifndef _XEMACS_ELDAP_H_ | 21 #ifndef INCLUDED_eldap_h_ |
22 #define _XEMACS_ELDAP_H_ | 22 #define INCLUDED_eldap_h_ |
23 | 23 |
24 #include <lber.h> | 24 #include <lber.h> |
25 #include <ldap.h> | 25 #include <ldap.h> |
26 | 26 |
27 /* | 27 /* |
36 /* The LDAP connection handle used by the LDAP API */ | 36 /* The LDAP connection handle used by the LDAP API */ |
37 LDAP *ld; | 37 LDAP *ld; |
38 /* Name of the host we connected to */ | 38 /* Name of the host we connected to */ |
39 Lisp_Object host; | 39 Lisp_Object host; |
40 }; | 40 }; |
41 typedef struct Lisp_LDAP Lisp_LDAP; | |
41 | 42 |
42 | 43 |
43 DECLARE_LRECORD (ldap, struct Lisp_LDAP); | 44 DECLARE_LRECORD (ldap, Lisp_LDAP); |
44 #define XLDAP(x) XRECORD (x, ldap, struct Lisp_LDAP) | 45 #define XLDAP(x) XRECORD (x, ldap, Lisp_LDAP) |
45 #define XSETLDAP(x, p) XSETRECORD (x, p, ldap) | 46 #define XSETLDAP(x, p) XSETRECORD (x, p, ldap) |
46 #define LDAPP(x) RECORDP (x, ldap) | 47 #define LDAPP(x) RECORDP (x, ldap) |
47 #define CHECK_LDAP(x) CHECK_RECORD (x, ldap) | 48 #define CHECK_LDAP(x) CHECK_RECORD (x, ldap) |
48 #define CONCHECK_LDAP(x) CONCHECK_RECORD (x, ldap) | 49 #define CONCHECK_LDAP(x) CONCHECK_RECORD (x, ldap) |
49 | 50 |
67 Lisp_Object scope, | 68 Lisp_Object scope, |
68 Lisp_Object attrs, | 69 Lisp_Object attrs, |
69 Lisp_Object attrsonly, | 70 Lisp_Object attrsonly, |
70 Lisp_Object withdn); | 71 Lisp_Object withdn); |
71 | 72 |
72 #endif /* _XEMACS_ELDAP_H_ */ | 73 #endif /* INCLUDED_eldap_h_ */ |