Split out some stuff that is shared between request and response

I now have files with the infinitely imaginative names
requestrespons.{c,h,test.c}.
This commit is contained in:
Jonathan Hodgson 2022-01-10 09:36:18 +00:00
parent 0e2b9dae2b
commit 48e3092317
9 changed files with 533 additions and 70 deletions

View file

@ -1,4 +1,8 @@
#ifndef REQUEST_TEST
#define REQUEST_TEST
#include "munit/munit.h"
#include "../src/readline.c"
#include "../src/request.c"
typedef struct {
@ -160,3 +164,4 @@ int main (int argc, char* argv[]) {
}
#endif /* ifndef MAINTEST */
#endif /* ifndef REQUEST_TEST */