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:
parent
0e2b9dae2b
commit
48e3092317
9 changed files with 533 additions and 70 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue