Fix ZIP container sources.

This commit is contained in:
Michael R Sweet 2018-07-02 18:47:32 -04:00
parent 4a593cc075
commit 0b896710b8
No known key found for this signature in database
GPG Key ID: 999559A027815955
3 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
.TH mxml 3 "Mini-XML API" "10/28/17" "Mini-XML API"
.TH mxml 3 "Mini-XML API" "07/02/18" "Mini-XML API"
.SH NAME
mxml \- Mini-XML API
.SH INCLUDE FILE

View File

@ -3,10 +3,10 @@
<head>
<title>Mini-XML API Reference</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="creator" content="Mini-XML v2.11">
<meta name="creator" content="Mini-XML v2.12">
<meta name="author" content="Michael R Sweet">
<meta name="copyright" content="Copyright 2003-2017, All Rights Reserved.">
<meta name="version" content="2.11">
<meta name="copyright" content="Copyright 2003-2018, All Rights Reserved.">
<meta name="version" content="2.12">
<style type="text/css"><!--
body, p, h1, h2, h3, h4 {
font-family: sans-serif;

6
zipc.c
View File

@ -7,7 +7,7 @@
* ZIPC_ONLY_WRITE to compile with just the ZIP writing code. Otherwise both
* ZIP reader and writer code is built.
*
* Copyright 2017 by Michael R Sweet.
* Copyright 2017-2018 by Michael R Sweet.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@ -124,17 +124,17 @@ static int zipc_read_char(zipc_file_t *zf);
static ssize_t zipc_read_file(zipc_file_t *zf, void *buffer, size_t bytes);
static unsigned zipc_read_u16(zipc_t *zc);
static unsigned zipc_read_u32(zipc_t *zc);
static int zipc_write(zipc_t *zc, const void *buffer, size_t bytes);
static void zipc_xml_unescape(char *buffer);
#endif /* !ZIPC_ONLY_WRITE */
#ifndef ZIPC_ONLY_READ
static zipc_file_t *zipc_add_file(zipc_t *zc, const char *filename, int compression);
static int zipc_write(zipc_t *zc, const void *buffer, size_t bytes);
static int zipc_write_dir_header(zipc_t *zc, zipc_file_t *zf);
static int zipc_write_local_header(zipc_t *zc, zipc_file_t *zf);
static int zipc_write_local_trailer(zipc_t *zc, zipc_file_t *zf);
static int zipc_write_u16(zipc_t *zc, unsigned value);
static int zipc_write_u32(zipc_t *zc, unsigned value);
#endif /* !ZIPC_ONLY_READ */
static void zipc_xml_unescape(char *buffer);
static const char *zipc_zlib_status(int zstatus);