Browse Source

neon's own .gitignore ignores the files from the neon package

(cherry picked from commit 8d65ef726669588fbb9d4bdabe113ff912b25456)

Source commit: 58e76c6e16f3089d818780924d649805c526e7a2
Martin Prikryl 4 years ago
parent
commit
615c1cad8d

+ 0 - 39
libs/neon/.gitignore

@@ -1,39 +0,0 @@
-/config.h.in
-/config.h
-/configure
-/config.status
-/config.log
-/conftest.c
-/Makefile
-/aclocal.m4
-/*.cache
-/libtool
-/neon-config
-/reconf*
-/confdefs.h
-/ltmain.sh
-/ltconfig
-/config.sub
-/config.guess
-/*.out
-/*.log
-/.version
-/config.hw
-/neon.pc
-/clog
-/ChangeLog
-/install-sh
-/po/*.gmo
-/doc/*.?
-/doc/*.html
-/doc/*.pdf
-/doc/*.ps
-/doc/*.tex
-/doc/*.sgml
-/doc/*.junk
-/doc/html
-/doc/man
-/doc/man3
-/doc/man1
-/doc/version.xml
-/doc/date.xml

File diff suppressed because it is too large
+ 0 - 0
libs/neon/doc/html/refhash.html


+ 19 - 0
libs/neon/doc/html/refparam.html

@@ -0,0 +1,19 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_strparam</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="refhash.html" title="ne_strhash"><link rel="next" href="referr.html" title="ne_get_error"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_strparam</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="refhash.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="referr.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refparam"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_strparam — HTTP extended parameter value encoding</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;ne_string.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">char *<b class="fsfunc">ne_strparam</b>(</code></td><td>const char *<var class="pdparam">charset</var>, </td></tr><tr><td> </td><td>const char *<var class="pdparam">lang</var>, </td></tr><tr><td> </td><td>const char *<var class="pdparam">value</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm46097882158848"></a><h2>Description</h2><p>The <code class="function">ne_strparam</code> function can be
+	used to encode an extended parameter value for an HTTP header,
+	as defined in RFC 5987.  The function takes as arguments the
+	<code class="parameter">value</code> to encode, using a given MIME
+	<code class="parameter">charset</code> character set, and
+	<code class="parameter">lang</code> language tag.  The extended
+	parameter encoding is used in HTTP protocol specifications to
+	allow easily embedding special characters (such as quote
+	marks, separators or non-ASCII) in header values.</p><p>In accordance with RFC 5987, the
+        <code class="parameter">charset</code> argument must be either
+        <code class="constant">"UTF-8"</code> or
+        <code class="constant">"IS0-8859-1"</code>, but the
+        <code class="parameter">lang</code> argument may be <code class="literal">NULL</code>.</p></div><div class="refsect1"><a name="idm46097882152016"></a><h2>Return value</h2><p>The return value is either:
+
+	</p><div class="variablelist"><table border="0" class="variablelist"><colgroup><col align="left" valign="top"><col></colgroup><tbody><tr><td><p><span class="term"><code class="literal">NULL</code></span></p></td><td>if the value parameter is a "regular
+            parameter" and does not need extended
+            encoding</td></tr><tr><td><p><span class="term">non-<code class="literal">NULL</code></span></p></td><td>the encoding of the input value as an
+            extended parameter as a NUL-terminated, malloc-allocated
+            string</td></tr></tbody></table></div></div><div class="refsect1"><a name="idm46097882146912"></a><h2>See also</h2><p><a class="ulink" href="https://tools.ietf.org/html/rfc5987" target="_top">https://tools.ietf.org/html/rfc5987</a></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="refhash.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="referr.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ne_strhash </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ne_get_error</td></tr></table></div></body></html>

+ 106 - 0
libs/neon/doc/man/ne_strhash.3

@@ -0,0 +1,106 @@
+'\" t
+.\"     Title: ne_strhash
+.\"    Author: 
+.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
+.\"      Date: 20 September 2021
+.\"    Manual: neon API reference
+.\"    Source: neon 0.32.1
+.\"  Language: English
+.\"
+.TH "NE_STRHASH" "3" "20 September 2021" "neon 0.32.1" "neon API reference"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+ne_strhash, ne_vstrhash \- string hash interface
+.SH "SYNOPSIS"
+.sp
+.ft B
+.nf
+#include <ne_string\&.h>
+.fi
+.ft
+.HP \w'char\ *ne_strhash('u
+.BI "char *ne_strhash(unsigned\ int\ " "flags" ", " "\&.\&.\&." ");"
+.HP \w'char\ *ne_vstrhash('u
+.BI "char *ne_vstrhash(unsigned\ int\ " "flags" ", va_list\ " "ap" ");"
+.SH "DESCRIPTION"
+.PP
+The
+\fBne_strhash\fR
+and
+\fBne_vstrhash\fR
+functions can be used to create hashes\&. The varargs argument list must be
+\fBconst char *\fR
+strings followed by a
+NULL
+terminator\&. The
+\fIflags\fR
+argument must select exactly one hash algorithm from the list below, which can be optionally bitwise\-ORed with one of the formatting option\&. The hash is calculated for the concatenation of the argument list, without separators\&.
+.SS "Hash algorithms"
+.PP
+The following hash algorithms are available:
+.PP
+\fBNE_HASH_MD5\fR
+.RS 4
+MD5
+.RE
+.PP
+\fBNE_HASH_SHA256\fR
+.RS 4
+SHA\-256 (SHA\-2)
+.RE
+.PP
+\fBNE_HASH_SHA512\fR
+.RS 4
+SHA\-512 (SHA\-2)
+.RE
+.PP
+\fBNE_HASH_SHA256_256\fR
+.RS 4
+SHA\-512/256 (SHA\-2)
+.RE
+.SS "Formatting options"
+.PP
+By default, the hash is returned as a hexadecimal lower\-case character string\&. The following formatting options are available:
+.PP
+\fBNE_HASH_COLON\fR
+.RS 4
+colon\-separated hex pairs, e\&.g\&.
+"aa:11:22\&.\&.\&."
+.RE
+.PP
+\fBNE_HASH_SPACE\fR
+.RS 4
+space\-separated hex pairs, e\&.g\&.
+"aa 11 22\&.\&.\&."
+.RE
+.SH "RETURN VALUE"
+.PP
+The return value is the ASCII hexadecimal representation of the hash as a malloc\-allocated, NUL\-terminated string, or
+NULL
+if the hash cannot be created\&. The string length is determined by the hash algorithm (and formatting options used)\&. Support for hash algorithms is specific to the SSL toolkit with which neon is compiled\&. Some systems will further restrict hash availability at runtime, e\&.g\&. due to FIPS mode\&.
+.SH "AUTHOR"
+.PP
+\fBJoe Orton\fR <\&[email protected]\&>
+.RS 4
+Author.
+.RE
+.SH "COPYRIGHT"
+.br

+ 85 - 0
libs/neon/doc/man/ne_strparam.3

@@ -0,0 +1,85 @@
+'\" t
+.\"     Title: ne_strparam
+.\"    Author: 
+.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
+.\"      Date: 20 September 2021
+.\"    Manual: neon API reference
+.\"    Source: neon 0.32.1
+.\"  Language: English
+.\"
+.TH "NE_STRPARAM" "3" "20 September 2021" "neon 0.32.1" "neon API reference"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+ne_strparam \- HTTP extended parameter value encoding
+.SH "SYNOPSIS"
+.sp
+.ft B
+.nf
+#include <ne_string\&.h>
+.fi
+.ft
+.HP \w'char\ *ne_strparam('u
+.BI "char *ne_strparam(const\ char\ *" "charset" ", const\ char\ *" "lang" ", const\ char\ *" "value" ");"
+.SH "DESCRIPTION"
+.PP
+The
+\fBne_strparam\fR
+function can be used to encode an extended parameter value for an HTTP header, as defined in RFC 5987\&. The function takes as arguments the
+\fIvalue\fR
+to encode, using a given MIME
+\fIcharset\fR
+character set, and
+\fIlang\fR
+language tag\&. The extended parameter encoding is used in HTTP protocol specifications to allow easily embedding special characters (such as quote marks, separators or non\-ASCII) in header values\&.
+.PP
+In accordance with RFC 5987, the
+\fIcharset\fR
+argument must be either
+\fB"UTF\-8"\fR
+or
+\fB"IS0\-8859\-1"\fR, but the
+\fIlang\fR
+argument may be
+NULL\&.
+.SH "RETURN VALUE"
+.PP
+The return value is either:
+.PP
+NULL
+.RS 4
+if the value parameter is a "regular parameter" and does not need extended encoding
+.RE
+.PP
+non\-NULL
+.RS 4
+the encoding of the input value as an extended parameter as a NUL\-terminated, malloc\-allocated string
+.RE
+.SH "SEE ALSO"
+.PP
+\m[blue]\fB\%https://tools.ietf.org/html/rfc5987\fR\m[]
+.SH "AUTHOR"
+.PP
+\fBJoe Orton\fR <\&[email protected]\&>
+.RS 4
+Author.
+.RE
+.SH "COPYRIGHT"
+.br

+ 1 - 0
libs/neon/doc/man/ne_vstrhash.3

@@ -0,0 +1 @@
+.so man3/ne_strhash.3

Some files were not shown because too many files changed in this diff