aboutsummaryrefslogtreecommitdiff
path: root/include/slweb/handler.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename project from slweb to libwebv0.1.0-rc3Xavier Del Campo Romero2023-10-111-24/+0
| | | | | | | | | | | | 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.
* handler: Define port as unsigned shortXavier Del Campo Romero2023-09-071-1/+1
| | | | | Port numbers are unsigned by definition. Fortunately, this was a minor issues since server_init was doing an implicit cast to unsigned short.
* Move header files to subdirectoryXavier Del Campo Romero2023-07-211-0/+24
Since slweb is meant as a library, it is advisable to keep public header files under their own directory in order to avoid name clashing i.e., #include "something.h" Now becomes: #include "slweb/something.h"