]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapcommon.h
ITS#6403
[openldap] / servers / slapd / slapcommon.h
index 3b6821739b0accb4f31f03ea0ea13a065e72cc72..56b21cd6481030b839d7891958d990ddf1e3a84f 100644 (file)
@@ -26,6 +26,7 @@ enum slaptool {
        SLAPDN,         /* DN check w/ syntax tool */
        SLAPINDEX,      /* database index tool */
        SLAPPASSWD,     /* password generation tool */
+       SLAPSCHEMA,     /* schema checking tool */
        SLAPTEST,       /* slapd.conf test tool */
        SLAPAUTH,       /* test authz-regexp and authc/authz stuff */
        SLAPACL,        /* test acl */
@@ -34,6 +35,7 @@ enum slaptool {
 
 typedef struct tool_vars {
        Backend *tv_be;
+       int tv_dbnum;
        int tv_verbose;
        int tv_quiet;
        int tv_update_ctxcsn;
@@ -66,6 +68,7 @@ typedef struct tool_vars {
 extern tool_vars tool_globals;
 
 #define        be tool_globals.tv_be
+#define        dbnum tool_globals.tv_dbnum
 #define verbose tool_globals.tv_verbose
 #define quiet tool_globals.tv_quiet
 #define jumpline tool_globals.tv_jumpline