mirror of
https://github.com/opus-tango/http-server-in-c.git
synced 2026-03-20 03:55:25 +00:00
add files for building responses
This commit is contained in:
5
response_builder.c
Normal file
5
response_builder.c
Normal 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
14
response_builder.h
Normal 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
|
||||
Reference in New Issue
Block a user