aboutsummaryrefslogtreecommitdiff
path: root/doc/man3/http_alloc.3
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-10 23:21:35 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-11 00:07:13 +0200
commit0222b75e8554796548e079aa3393c512ae30ac24 (patch)
tree5a154258ae5c1434a211ee67537e46ef64058437 /doc/man3/http_alloc.3
parent832e198f8c77970b5b923eb18201ba83d9c72b80 (diff)
Rename project from slweb to libwebv0.1.0-rc3
It was found out there was another project of the same name around (https://git.sr.ht/~strahinja/slweb/), also related to website generation. In order to avoid confusion, a new name has been chosen for this project. Surprisingly, libweb was not in use by any distributions (according to https://repology.org and AUR index), and it should reflect well the intention behind this project i.e., being a library to build web-related stuff.
Diffstat (limited to 'doc/man3/http_alloc.3')
-rw-r--r--doc/man3/http_alloc.316
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/man3/http_alloc.3 b/doc/man3/http_alloc.3
index 4b9e19b..a54046c 100644
--- a/doc/man3/http_alloc.3
+++ b/doc/man3/http_alloc.3
@@ -1,4 +1,4 @@
-.TH HTTP_ALLOC 3 2023-09-06 0.1.0 "slweb Library Reference"
+.TH HTTP_ALLOC 3 2023-09-06 0.1.0 "libweb Library Reference"
.SH NAME
http_alloc \- allocate a HTTP context object
@@ -6,7 +6,7 @@ http_alloc \- allocate a HTTP context object
.SH SYNOPSIS
.LP
.nf
-#include <slweb/http.h>
+#include <libweb/http.h>
.P
struct http *http_alloc(const struct http_cfg *\fIcfg\fP);
.fi
@@ -17,17 +17,17 @@ The
function allocates a
.I "struct http_ctx"
object, containing the required data by
-.I slweb
+.I libweb
to handle a HTTP connection. This object is meant to be consumed by
other functions from
-.IR slweb .
+.IR libweb .
.I cfg
defines the configuration for the HTTP context, whose structure is defined by
-.IR slweb_http (7).
+.IR libweb_http (7).
.I "struct http_ctx"
is an opaque object internal to
-.I slweb
+.I libweb
and therefore is not accessible to callers.
.SH RETURN VALUE
@@ -46,12 +46,12 @@ for a list of possible errors.
.SH NOTES
This function is designed for internal use by
-\fIslweb\fR.
+\fIlibweb\fR.
.SH SEE ALSO
.BR http_free (3),
.BR http_update (3),
-.BR slweb_http (7).
+.BR libweb_http (7).
.SH COPYRIGHT
Copyright (C) 2023 Xavier Del Campo Romero.