add files for building responses

This commit is contained in:
Nayan
2025-05-08 00:10:28 -04:00
parent df3efbaf9a
commit 8e2871d809
2 changed files with 19 additions and 0 deletions

5
response_builder.c Normal file
View File

@@ -0,0 +1,5 @@
#include "response_builder.h"
char* response_to_string(http_response* res) { return NULL; }
void serve_static_file(http_request* req, http_response* res) {}

14
response_builder.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef RESPONSE_BUILDER_H
#define RESPONSE_BUILDER_H
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include "http_stuff.h"
char* response_to_string(http_response* res);
void serve_static_file(http_request* req, http_response* res);
#endif