add response test

This commit is contained in:
2024-11-14 22:42:29 +01:00
parent e5e40c795c
commit 718dbd50c0
14 changed files with 109 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
#ifndef __SERVER_H__
#define __SERVER_H__
#ifndef CWS_SERVER_H
#define CWS_SERVER_H
#include <arpa/inet.h>
#include <errno.h>
@@ -94,4 +94,6 @@ int handle_new_client(int sockfd, struct sockaddr_storage *their_sa, socklen_t *
*/
void close_fds(bucket_t *bucket);
void send_html_test(int sockfd);
#endif