document flags argument --HG-- branch : HEAD
diff --git a/man/zip_fopen.mdoc b/man/zip_fopen.mdoc index 18ea762..28eb5af 100644 --- a/man/zip_fopen.mdoc +++ b/man/zip_fopen.mdoc
@@ -1,4 +1,4 @@ -.\" $NiH: zip_fopen.mdoc,v 1.3 2003/10/03 23:36:10 wiz Exp $ +.\" $NiH: zip_fopen.mdoc,v 1.4 2003/10/03 23:39:49 wiz Exp $ .\" .\" zip_fopen.mdoc -- open file in zip archvie for reading .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner @@ -53,9 +53,11 @@ .Ar fname in .Ar archive . -If -.Ar case_sens -is zero, case is ignored during name lookup. +The +.Ar flags +argument specifies how the name lookup should be done. +Its values are described in +.Xr zip_name_locate 3 . .Pp The .Fn zip_fopen_index
diff --git a/man/zip_name_locate.mdoc b/man/zip_name_locate.mdoc index 895d176..604946f 100644 --- a/man/zip_name_locate.mdoc +++ b/man/zip_name_locate.mdoc
@@ -1,4 +1,4 @@ -.\" $NiH$ +.\" $NiH: zip_name_locate.mdoc,v 1.1 2003/10/03 23:26:01 dillo Exp $ .\" .\" zip_name_locate.mdoc -- get index by name .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner @@ -42,7 +42,7 @@ .Sh SYNOPSIS .In zip.h .Ft int -.Fn zip_name_locate "struct zip *archive" "const char *fname" "int case_sens" +.Fn zip_name_locate "struct zip *archive" "const char *fname" "int flags" .Sh DESCRIPTION The .Fn zip_name_locate @@ -51,10 +51,18 @@ in .Ar archive . If -.Ar case_sens -is zero, case is ignored. -If .Ar archive does not contain a file with that name, \-1 is returned. +The +.Fa flags +are specified by +.Em or Ns No 'ing +the following values, or 0 for none of them. +.Bl -tag -offset indent -width ZIP_NAME_NOCASE +.It Dv ZIP_NAME_NOCASE +Ignore case distinctions. +.It Dv ZIP_NAME_NODIR +Ignore directory part of file name in archive. +.El .\" .Sh RETURN VALUES .\" .Sh SEE ALSO