X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fslapcommon.h;h=3b6821739b0accb4f31f03ea0ea13a065e72cc72;hb=fcf97e84486e1159c0f57114e3b130cf49d7f89d;hp=8f74a029e9df5f8b680f866dc206c705d2287112;hpb=3c5068bc1fa84fc5daf1e50d4f1a929cec91b7e9;p=openldap diff --git a/servers/slapd/slapcommon.h b/servers/slapd/slapcommon.h index 8f74a029e9..3b6821739b 100644 --- a/servers/slapd/slapcommon.h +++ b/servers/slapd/slapcommon.h @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2007 The OpenLDAP Foundation. + * Copyright 1998-2009 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -35,6 +35,7 @@ enum slaptool { typedef struct tool_vars { Backend *tv_be; int tv_verbose; + int tv_quiet; int tv_update_ctxcsn; int tv_continuemode; int tv_nosubordinates; @@ -59,12 +60,14 @@ typedef struct tool_vars { slap_ssf_t tv_tls_ssf; slap_ssf_t tv_sasl_ssf; unsigned tv_dn_mode; + unsigned int tv_csnsid; } tool_vars; extern tool_vars tool_globals; #define be tool_globals.tv_be #define verbose tool_globals.tv_verbose +#define quiet tool_globals.tv_quiet #define jumpline tool_globals.tv_jumpline #define update_ctxcsn tool_globals.tv_update_ctxcsn #define continuemode tool_globals.tv_continuemode @@ -89,6 +92,7 @@ extern tool_vars tool_globals; #define tls_ssf tool_globals.tv_tls_ssf #define sasl_ssf tool_globals.tv_sasl_ssf #define dn_mode tool_globals.tv_dn_mode +#define csnsid tool_globals.tv_csnsid #define SLAP_TOOL_LDAPDN_PRETTY SLAP_LDAPDN_PRETTY #define SLAP_TOOL_LDAPDN_NORMAL (SLAP_LDAPDN_PRETTY << 1) @@ -97,6 +101,6 @@ void slap_tool_init LDAP_P(( int tool, int argc, char **argv )); -void slap_tool_destroy LDAP_P((void)); +int slap_tool_destroy LDAP_P((void)); #endif /* SLAPCOMMON_H_ */