.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "NE_ADD_REQUEST_HEA" 3 "20 January 2006" "neon 0.25.5" "neon API reference"
.SH NAME
ne_add_request_header, ne_print_request_header \- add headers to a request
.SH "SYNOPSIS"
.ad l
.hy 0

#include <ne_request\&.h>
.sp
.HP 28
void\ \fBne_add_request_header\fR\ (ne_request\ *\fIrequest\fR, const\ char\ *\fIname\fR, const\ char\ *\fIvalue\fR);
.HP 30
void\ \fBne_print_request_header\fR\ (ne_request\ *\fIrequest\fR, const\ char\ *\fIname\fR, const\ char\ *\fIformat\fR, \&.\&.\&.);
.ad
.hy

.SH "DESCRIPTION"

.PP
The functions \fBne_add_request_header\fR and \fBne_print_request_header\fR can be used to add headers to a request, before it is sent\&.

.PP
\fBne_add_request_header\fR simply adds a header of given \fIname\fR, with given \fIvalue\fR\&.

.PP
\fBne_print_request_header\fR adds a header of given \fIname\fR, taking the value from the \fBprintf\fR\-like \fIformat\fR string parameter and subsequent variable\-length argument list\&.

.SH "SEE ALSO"

.PP
\fBne_request_create\fR(3)

.SH AUTHOR
Joe Orton <neon@webdav\&.org>.
