]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/shell.h
uniformly exploit rootdn bind; add support for rootdn bind to backends that didn...
[openldap] / servers / slapd / back-shell / shell.h
index 6cdb4a3a482a01a903e6f83b3ee65c641a06aeb5..ee4871b06bd0cb78f25b085548681431e1cb901e 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2003 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -31,7 +31,7 @@
 #ifndef SLAPD_SHELL_H
 #define SLAPD_SHELL_H
 
-#include "external.h"
+#include "proto-shell.h"
 
 LDAP_BEGIN_DECL
 
@@ -46,10 +46,6 @@ struct shellinfo {
        char    **si_delete;    /* cmd + args to exec for delete  */
 };
 
-struct slap_backend_db;
-struct slap_conn;
-struct slap_op;
-
 extern pid_t forkandexec LDAP_P((
        char **args,
        FILE **rfp,
@@ -57,11 +53,11 @@ extern pid_t forkandexec LDAP_P((
 
 extern void print_suffixes LDAP_P((
        FILE *fp,
-       struct slap_backend_db *bd));
+       BackendDB *bd));
 
 extern int read_and_send_results LDAP_P((
-       struct slap_op *op,
-       struct slap_rep *rs,
+       Operation *op,
+       SlapReply *rs,
        FILE *fp));
 
 LDAP_END_DECL