summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/http_compat.h.3
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:15 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:15 -0400
commit253e67c8b3a72b3a4757fdbc5845297628db0a4a (patch)
treeadf53b66087aa30dfbf8bf391a1dadb044c3bf4d /static/netbsd/man3/http_compat.h.3
parenta9157ce950dfe2fc30795d43b9d79b9d1bffc48b (diff)
docs: Added All NetBSD Manuals
Diffstat (limited to 'static/netbsd/man3/http_compat.h.3')
-rw-r--r--static/netbsd/man3/http_compat.h.394
1 files changed, 94 insertions, 0 deletions
diff --git a/static/netbsd/man3/http_compat.h.3 b/static/netbsd/man3/http_compat.h.3
new file mode 100644
index 00000000..e5defa51
--- /dev/null
+++ b/static/netbsd/man3/http_compat.h.3
@@ -0,0 +1,94 @@
+.TH "event2/http_compat.h" 3 "Tue Jan 31 2017" "libevent" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+event2/http_compat.h \- Potentially non-threadsafe versions of the functions in \fBhttp\&.h\fP: provided only for backwards compatibility\&.
+
+.SH SYNOPSIS
+.br
+.PP
+\fC#include <event2/event\-config\&.h>\fP
+.br
+\fC#include <event2/util\&.h>\fP
+.br
+
+.SS "Macros"
+
+.in +1c
+.ti -1c
+.RI "#define \fBevhttp_request_uri\fP \fBevhttp_request_get_uri\fP"
+.br
+.RI "\fIReturns the request URI\&. \fP"
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "struct evhttp_connection * \fBevhttp_connection_new\fP (const char *address, ev_uint16_t port)"
+.br
+.RI "\fIA connection object that can be used to for making HTTP requests\&. \fP"
+.ti -1c
+.RI "void \fBevhttp_connection_set_base\fP (struct evhttp_connection *evcon, struct \fBevent_base\fP *base)"
+.br
+.RI "\fIAssociates an event base with the connection - can only be called on a freshly created connection object that has not been used yet\&. \fP"
+.ti -1c
+.RI "struct evhttp * \fBevhttp_start\fP (const char *address, ev_uint16_t port)"
+.br
+.RI "\fIStart an HTTP server on the specified address and port\&. \fP"
+.in -1c
+.SH "Detailed Description"
+.PP
+Potentially non-threadsafe versions of the functions in \fBhttp\&.h\fP: provided only for backwards compatibility\&.
+
+
+.SH "Function Documentation"
+.PP
+.SS "struct evhttp_connection* evhttp_connection_new (const char * address, ev_uint16_t port)"
+
+.PP
+A connection object that can be used to for making HTTP requests\&. The connection object tries to establish the connection when it is given an http request object\&.
+.PP
+\fBDeprecated\fP
+.RS 4
+It does not allow an event base to be specified
+.RE
+.PP
+
+.SS "void evhttp_connection_set_base (struct evhttp_connection * evcon, struct \fBevent_base\fP * base)"
+
+.PP
+Associates an event base with the connection - can only be called on a freshly created connection object that has not been used yet\&.
+.PP
+\fBDeprecated\fP
+.RS 4
+XXXX Why?
+.RE
+.PP
+
+.SS "struct evhttp* evhttp_start (const char * address, ev_uint16_t port)"
+
+.PP
+Start an HTTP server on the specified address and port\&.
+.PP
+\fBDeprecated\fP
+.RS 4
+It does not allow an event base to be specified
+.RE
+.PP
+.PP
+\fBParameters:\fP
+.RS 4
+\fIaddress\fP the address to which the HTTP server should be bound
+.br
+\fIport\fP the port number on which the HTTP server should listen
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+an struct evhttp object
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for libevent from the source code\&.