Mercurial > hg > xemacs-beta
view modules/ldap/eldap.h @ 2955:4d269e525e21
[xemacs-hg @ 2005-09-26 22:18:59 by adrian]
xemacs-21.5-clean: Getting texinfmt.el to compile core .texi again
-------------------- ChangeLog entries follow: --------------------
man/ChangeLog addition:
2005-09-27 Adrian Aichner <adrian@xemacs.org>
* lispref/packaging.texi: Get file to compile with teinfmt.el.
* lispref/packaging.texi (Packaging): Ditto.
* lispref/packaging.texi (Package Overview): Ditto.
* lispref/packaging.texi (The User View): Ditto.
* lispref/packaging.texi (The Library Maintainer View): Ditto.
* lispref/packaging.texi (Infrastructure): Ditto.
* lispref/packaging.texi (Obtaining): Ditto.
* lispref/packaging.texi (Local.rules File): Ditto.
* lispref/packaging.texi (package-info.in): Ditto.
* lispref/packaging.texi (Makefile): Ditto.
* lispref/packaging.texi (Documenting Packages): Ditto.
2005-09-27 Adrian Aichner <adrian@xemacs.org>
* internals/internals.texi (A Summary of the Various XEmacs
Modules): Get file to compile with texinfmt.el.
* internals/internals.texi (Windows Build Flags): Ditto.
author | adrian |
---|---|
date | Mon, 26 Sep 2005 22:19:05 +0000 |
parents | 6fa9919a9a0b |
children | b7f26b2f78bd |
line wrap: on
line source
/* Definitions for the LDAP client interface for XEmacs. Copyright (C) 1998 Free Software Foundation, Inc. This file is part of XEmacs. XEmacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. XEmacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with XEmacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef INCLUDED_eldap_h_ #define INCLUDED_eldap_h_ #include <lber.h> #include <ldap.h> /* * The following structure records pertinent information about a * LDAP connection. */ struct Lisp_LDAP { #ifdef MC_ALLOC /* lrecord header */ struct lrecord_header header; #else /* not MC_ALLOC */ /* lcrecord header */ struct lcrecord_header header; #endif /* not MC_ALLOC */ /* The LDAP connection handle used by the LDAP API */ LDAP *ld; /* Name of the host we connected to */ Lisp_Object host; }; typedef struct Lisp_LDAP Lisp_LDAP; DECLARE_LRECORD (ldap, Lisp_LDAP); #define XLDAP(x) XRECORD (x, ldap, Lisp_LDAP) #define wrap_ldap(p) wrap_record (p, ldap) #define LDAPP(x) RECORDP (x, ldap) #define CHECK_LDAP(x) CHECK_RECORD (x, ldap) #define CONCHECK_LDAP(x) CONCHECK_RECORD (x, ldap) #define CHECK_LIVE_LDAP(ldap) do { \ CHECK_LDAP (ldap); \ if (!XLDAP (ldap)->ld) \ invalid_operation ("Attempting to access closed LDAP connection", \ ldap); \ } while (0) Lisp_Object Fldapp (Lisp_Object object); Lisp_Object Fldap_host (Lisp_Object ldap); Lisp_Object Fldap_live_p (Lisp_Object ldap); Lisp_Object Fldap_open (Lisp_Object host, Lisp_Object ldap_plist); Lisp_Object Fldap_close (Lisp_Object ldap); Lisp_Object Fldap_search_basic (Lisp_Object ldap, Lisp_Object filter, Lisp_Object base, Lisp_Object scope, Lisp_Object attrs, Lisp_Object attrsonly, Lisp_Object withdn, Lisp_Object verbose); Lisp_Object Fldap_add (Lisp_Object ldap, Lisp_Object dn, Lisp_Object entry); Lisp_Object Fldap_modify (Lisp_Object ldap, Lisp_Object dn, Lisp_Object entry); Lisp_Object Fldap_delete (Lisp_Object ldap, Lisp_Object dn); #endif /* INCLUDED_eldap_h_ */