aboutsummaryrefslogtreecommitdiff
path: root/include/slweb/server.h
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 /include/slweb/server.h
parent832e198f8c77970b5b923eb18201ba83d9c72b80 (diff)
downloadlibweb-0222b75e8554796548e079aa3393c512ae30ac24.tar.gz
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 'include/slweb/server.h')
-rw-r--r--include/slweb/server.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/slweb/server.h b/include/slweb/server.h
deleted file mode 100644
index 74f06ae..0000000
--- a/include/slweb/server.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef SERVER_H
-#define SERVER_H
-
-#include <stdbool.h>
-#include <stddef.h>
-
-struct server *server_init(unsigned short port);
-struct server_client *server_poll(struct server *s, bool *io, bool *exit);
-int server_read(void *buf, size_t n, struct server_client *c);
-int server_write(const void *buf, size_t n, struct server_client *c);
-int server_close(struct server *s);
-int server_client_close(struct server *s, struct server_client *c);
-void server_client_write_pending(struct server_client *c, bool write);
-
-#endif /* SERVER_H */