]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/external.h
Add SLAP_MR_ORDERED_INDEX - support for inequality indexing. Currently
[openldap] / servers / slapd / back-shell / external.h
index a148d0368e9bc84d71cc2955fc02ca3bb1624ffa..6de49c680ebc574ad61412c321491032fe3f5f81 100644 (file)
@@ -1,66 +1,63 @@
 /* $OpenLDAP$ */
-/*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2004 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
  */
+/* Portions Copyright (c) 1995 Regents of the University of Michigan.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that this notice is preserved and that due credit is given
+ * to the University of Michigan at Ann Arbor. The name of the University
+ * may not be used to endorse or promote products derived from this
+ * software without specific prior written permission. This software
+ * is provided ``as is'' without express or implied warranty.
+ */
+/* ACKNOWLEDGEMENTS:
+ * This work was originally developed by the University of Michigan
+ * (as part of U-MICH LDAP).
+ */
+
 #ifndef _SHELL_EXTERNAL_H
 #define _SHELL_EXTERNAL_H
 
 LDAP_BEGIN_DECL
 
-extern int     shell_back_initialize LDAP_P(( BackendInfo *bi ));
-extern int     shell_back_open LDAP_P(( BackendInfo *bi ));
-extern int     shell_back_close LDAP_P(( BackendInfo *bi ));
-extern int     shell_back_destroy LDAP_P(( BackendInfo *bi ));
+extern BI_init shell_back_initialize;
+extern BI_open shell_back_open;
+extern BI_close        shell_back_close;
+extern BI_destroy      shell_back_destroy;
 
-extern int     shell_back_db_init LDAP_P(( BackendDB *bd ));
-extern int     shell_back_db_destroy LDAP_P(( BackendDB *bd ));
+extern BI_db_init      shell_back_db_init;
+extern BI_db_destroy   shell_back_db_destroy;
 
-extern int     shell_back_db_config LDAP_P(( BackendDB *bd,
-       const char *fname, int lineno, int argc, char **argv ));
+extern BI_db_config    shell_back_db_config;
 
-extern int shell_back_bind LDAP_P(( BackendDB *bd,
-       Connection *conn, Operation *op,
-       const char *dn, const char *ndn, int method,
-       struct berval *cred, char** edn ));
+extern BI_op_bind      shell_back_bind;
 
-extern int     shell_back_unbind LDAP_P(( BackendDB *bd,
-       Connection *conn, Operation *op ));
+extern BI_op_unbind    shell_back_unbind;
 
-extern int     shell_back_search LDAP_P(( BackendDB *bd,
-       Connection *conn, Operation *op,
-       const char *base, const char *nbase,
-       int scope, int deref, int sizelimit, int timelimit,
-       Filter *filter, const char *filterstr,
-       char **attrs, int attrsonly ));
+extern BI_op_search    shell_back_search;
 
-extern int     shell_back_compare LDAP_P((BackendDB *bd,
-       Connection *conn, Operation *op,
-       const char *dn, const char *ndn,
-       Ava *ava ));
+extern BI_op_compare   shell_back_compare;
 
-extern int     shell_back_modify LDAP_P(( BackendDB *bd,
-       Connection *conn, Operation *op,
-       const char *dn, const char *ndn,
-       Modifications *ml ));
+extern BI_op_modify    shell_back_modify;
 
-extern int     shell_back_modrdn LDAP_P(( BackendDB *bd,
-       Connection *conn, Operation *op,
-       const char *dn, const char *ndn,
-       const char *newrdn, int deleteoldrdn,
-       const char *newSuperior ));
+extern BI_op_modrdn    shell_back_modrdn;
 
-extern int     shell_back_add LDAP_P(( BackendDB *bd,
-       Connection *conn, Operation *op, Entry *e ));
+extern BI_op_add       shell_back_add;
 
-extern int     shell_back_delete LDAP_P(( BackendDB *bd,
-       Connection *conn, Operation *op,
-       const char *dn, const char *ndn ));
-
-extern int     shell_back_abandon LDAP_P(( BackendDB *bd,
-       Connection *conn, Operation *op, int msgid ));
+extern BI_op_delete    shell_back_delete;
 
 LDAP_END_DECL
 
 #endif /* _SHELL_EXTERNAL_H */
-