diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-10 23:21:35 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-11 00:07:13 +0200 |
| commit | 0222b75e8554796548e079aa3393c512ae30ac24 (patch) | |
| tree | 5a154258ae5c1434a211ee67537e46ef64058437 /doc/man3/handler_add.3 | |
| parent | 832e198f8c77970b5b923eb18201ba83d9c72b80 (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/handler_add.3')
| -rw-r--r-- | doc/man3/handler_add.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man3/handler_add.3 b/doc/man3/handler_add.3 index 4c93f7a..2ee404b 100644 --- a/doc/man3/handler_add.3 +++ b/doc/man3/handler_add.3 @@ -1,4 +1,4 @@ -.TH HANDLER_ADD 3 2023-09-13 0.1.0 "slweb Library Reference" +.TH HANDLER_ADD 3 2023-09-13 0.1.0 "libweb Library Reference" .SH NAME handler_add \- add an endpoint to a web server handler object @@ -6,7 +6,7 @@ handler_add \- add an endpoint to a web server handler object .SH SYNOPSIS .LP .nf -#include <slweb/handler.h> +#include <libweb/handler.h> .P int handler_add(struct handler *\fIh\fP, const char *\fIurl\fP, enum http_op \fIop\fP, handler_fn \fIf\fP, void *\fIuser\fP); .fi @@ -40,13 +40,13 @@ for an exhaustive list of supported operations. .I f is a function pointer that shall be executed by -.I slweb +.I libweb if an incoming request matches the resource and operation defined by .I url and .IR op , respectively. See -.IR slweb_handler (7) +.IR libweb_handler (7) for the definition for .IR handler_fn . @@ -77,7 +77,7 @@ for a list of possible errors. .BR handler_alloc (3), .BR handler_free (3), .BR handler_listen (3), -.BR slweb_handler (7). +.BR libweb_handler (7). .SH COPYRIGHT Copyright (C) 2023 Xavier Del Campo Romero. |
