X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=clients%2Ftools%2Fcommon.h;h=1f60d5a42d3f09369890c6d597c73b6ce79ef247;hb=0ba4206ed93215f2c5c2d12d16342d6a846c278a;hp=4b4967bd7c7b92d80d54e542575a0156703d64b1;hpb=b7c41e655ffc263ff826d4c9b577b205480d96ab;p=openldap diff --git a/clients/tools/common.h b/clients/tools/common.h index 4b4967bd7c..1f60d5a42d 100644 --- a/clients/tools/common.h +++ b/clients/tools/common.h @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2006 The OpenLDAP Foundation. + * Copyright 1998-2011 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -36,6 +36,7 @@ typedef enum tool_type_t { TOOL_WHOAMI = TOOL_EXOP | 0x100U, TOOL_PASSWD = TOOL_EXOP | 0x200U, + TOOL_VC = TOOL_EXOP | 0x400U, TOOL_WRITE = (TOOL_ADD|TOOL_DELETE|TOOL_MODIFY|TOOL_MODRDN), TOOL_READ = (TOOL_SEARCH|TOOL_COMPARE), @@ -55,6 +56,7 @@ extern int dont; extern int referrals; extern int verbose; extern int ldif; +extern ber_len_t ldif_wrap; extern char *prog; /* connection */ @@ -93,6 +95,9 @@ extern struct berval pr_cookie; #ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR extern int chaining; #endif /* LDAP_CONTROL_X_CHAINING_BEHAVIOR */ +extern ber_int_t vlvPos; +extern ber_int_t vlvCount; +extern struct berval *vlvContext; /* options */ extern struct timeval nettimeout;