regen --HG-- branch : HEAD
diff --git a/man/zip_get_archive_comment.man b/man/zip_get_archive_comment.man index 4e9d5fb..38b9302 100644 --- a/man/zip_get_archive_comment.man +++ b/man/zip_get_archive_comment.man
@@ -1,6 +1,6 @@ .\" Converted with mdoc2man 0.2 -.\" from NiH: zip_get_archive_comment.mdoc,v 1.1 2006/04/09 19:05:48 wiz Exp -.\" $NiH: zip_get_archive_comment.mdoc,v 1.1 2006/04/09 19:05:48 wiz Exp $ +.\" from NiH: zip_get_archive_comment.mdoc,v 1.2 2006/04/23 13:06:29 wiz Exp +.\" $NiH: zip_get_archive_comment.mdoc,v 1.2 2006/04/23 13:06:29 wiz Exp $ .\" .\" zip_get_archive_comment.mdoc \-- get zip archive comment .\" Copyright (C) 2006 Dieter Baron and Thomas Klausner @@ -33,7 +33,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.TH ZIP_GET_ARCHIVE_COMMENT 3 "April 9, 2006" NiH +.TH ZIP_GET_ARCHIVE_COMMENT 3 "April 23, 2006" NiH .SH "NAME" zip_get_archive_comment \- get zip archive comment .SH "LIBRARY" @@ -41,7 +41,7 @@ .SH "SYNOPSIS" .In zip.h .Ft const char * -.Fn zip_get_archive_comment "struct zip *archive" "int *lenp" +.Fn zip_get_archive_comment "struct zip *archive" "int *lenp" "int flags" .SH "DESCRIPTION" The .Fn zip_get_archive_comment @@ -55,6 +55,11 @@ \fBNULL,\fR the integer to which it points will be set to the length of the comment. +If +\fBflags\fR +is set to +\fBZIP_FL_UNCHANGED,\fR +the original unchanged comment is returned. .SH "RETURN VALUES" Upon successful completion, a pointer to the comment is returned, or
diff --git a/man/zip_get_file_comment.man b/man/zip_get_file_comment.man index 2035fdc..5266343 100644 --- a/man/zip_get_file_comment.man +++ b/man/zip_get_file_comment.man
@@ -1,6 +1,6 @@ .\" Converted with mdoc2man 0.2 -.\" from NiH: zip_get_file_comment.mdoc,v 1.3 2006/04/23 12:45:31 wiz Exp -.\" $NiH: zip_get_file_comment.mdoc,v 1.3 2006/04/23 12:45:31 wiz Exp $ +.\" from NiH: zip_get_file_comment.mdoc,v 1.4 2006/04/23 13:06:29 wiz Exp +.\" $NiH: zip_get_file_comment.mdoc,v 1.4 2006/04/23 13:06:29 wiz Exp $ .\" .\" zip_get_file_comment.mdoc \-- get comment for file in zip .\" Copyright (C) 2006 Dieter Baron and Thomas Klausner @@ -41,7 +41,7 @@ .SH "SYNOPSIS" .In zip.h .Ft const char * -.Fn zip_get_file_comment "struct zip *archive" "int index" "int *lenp" +.Fn zip_get_file_comment "struct zip *archive" "int index" "int *lenp" "int flags" .SH "DESCRIPTION" The .Fn zip_get_file_comment @@ -57,6 +57,11 @@ \fBNULL,\fR the integer to which it points will be set to the length of the comment. +If +\fBflags\fR +is set to +\fBZIP_FL_UNCHANGED,\fR +the original unchanged comment is returned. .SH "RETURN VALUES" Upon successful completion, a pointer to the comment is returned, or
diff --git a/man/zip_unchange.man b/man/zip_unchange.man index a8e1a27..514062d 100644 --- a/man/zip_unchange.man +++ b/man/zip_unchange.man
@@ -1,9 +1,9 @@ .\" Converted with mdoc2man 0.2 -.\" from NiH: zip_unchange.mdoc,v 1.11 2005/06/09 21:14:54 wiz Exp -.\" $NiH: zip_unchange.mdoc,v 1.11 2005/06/09 21:14:54 wiz Exp $ +.\" from NiH: zip_unchange.mdoc,v 1.12 2006/04/23 13:14:46 wiz Exp +.\" $NiH: zip_unchange.mdoc,v 1.12 2006/04/23 13:14:46 wiz Exp $ .\" .\" zip_unchange.mdoc \-- undo changes to file in zip archive -.\" Copyright (C) 2003, 2005 Dieter Baron and Thomas Klausner +.\" Copyright (C) 2003, 2005, 2006 Dieter Baron and Thomas Klausner .\" .\" This file is part of libzip, a library to manipulate ZIP archives. .\" The authors can be contacted at <nih@giga.or.at> @@ -33,7 +33,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.TH ZIP_UNCHANGE 3 "November 30, 2004" NiH +.TH ZIP_UNCHANGE 3 "April 23, 2006" NiH .SH "NAME" zip_unchange \- undo changes to file in zip archive .SH "LIBRARY" @@ -66,7 +66,8 @@ .RE .SH "SEE ALSO" libzip(3), -zip_unchange_all(3) +zip_unchange_all(3), +zip_unchange_archive(3) .SH "AUTHORS" Dieter Baron <dillo@giga.or.at>
diff --git a/man/zip_unchange_all.man b/man/zip_unchange_all.man index 95f2a74..df6e298 100644 --- a/man/zip_unchange_all.man +++ b/man/zip_unchange_all.man
@@ -1,9 +1,9 @@ .\" Converted with mdoc2man 0.2 -.\" from NiH: zip_unchange_all.mdoc,v 1.10 2005/06/09 21:14:54 wiz Exp -.\" $NiH: zip_unchange_all.mdoc,v 1.10 2005/06/09 21:14:54 wiz Exp $ +.\" from NiH: zip_unchange_all.mdoc,v 1.11 2006/04/23 13:14:46 wiz Exp +.\" $NiH: zip_unchange_all.mdoc,v 1.11 2006/04/23 13:14:46 wiz Exp $ .\" .\" zip_unchange_all.mdoc \-- undo changes to all files in zip archive -.\" Copyright (C) 2003, 2005 Dieter Baron and Thomas Klausner +.\" Copyright (C) 2003, 2005, 2006 Dieter Baron and Thomas Klausner .\" .\" This file is part of libzip, a library to manipulate ZIP archives. .\" The authors can be contacted at <nih@giga.or.at> @@ -33,9 +33,9 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.TH ZIP_UNCHANGE_ALL 3 "October 3, 2003" NiH +.TH ZIP_UNCHANGE_ALL 3 "April 23, 2006" NiH .SH "NAME" -zip_unchange_all \- undo changes to all files in zip archive +zip_unchange_all \- undo all changes in a zip archive .SH "LIBRARY" libzip (-lzip) .SH "SYNOPSIS" @@ -43,7 +43,7 @@ .Ft int .Fn zip_unchange_all "struct zip *archive" .SH "DESCRIPTION" -Changes to all files in +All changes to files and global information in \fBarchive\fR are reverted. .SH "RETURN VALUES" @@ -53,7 +53,8 @@ is set to indicate the error. .SH "SEE ALSO" libzip(3), -zip_unchange(3) +zip_unchange(3), +zip_unchange_archive(3) .SH "AUTHORS" Dieter Baron <dillo@giga.or.at>