]> git.sur5r.net Git - openldap/blobdiff - clients/tools/common.h
Import ITS#4812 patch from HEAD, print error from ldap_result()
[openldap] / clients / tools / common.h
index e81d2c14e90de93d448bcc1179f2f161116e4877..82ab023caeb79917bc17a7140d569b0e2da5b201 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2005 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -82,6 +82,13 @@ void tool_unbind LDAP_P(( LDAP * ));
 void tool_destroy LDAP_P(( void ));
 void tool_server_controls LDAP_P(( LDAP *, LDAPControl *, int ));
 int tool_check_abandon LDAP_P(( LDAP *ld, int msgid ));
+void tool_perror LDAP_P((
+       char *func,
+       int err,
+       char *extra,
+       char *matched,
+       char *info,
+       char **refs ));
 
 LDAP_END_DECL