Closed ZeroIntensity closed 5 months ago
The C API is a few files, followed by a huge app.c. To make things easier on new contributors, this file should be split up into many different children. app.c should hold the core ViewApp class, but things like body parsing should go elsewhere.
app.c
ViewApp
The new structure will look like this:
- routing.c - app.c - query.c - body.c - inputs.c - typecodes.c - errors.c - backport.c - parts.c - results.c // Existing files - map.c - context.c - ws.c - awaitable.c
Some other notes:
tcpublic.c
typecodes.c
backport.c
backport.h
Description:
The C API is a few files, followed by a huge
app.c
. To make things easier on new contributors, this file should be split up into many different children.app.c
should hold the coreViewApp
class, but things like body parsing should go elsewhere.The new structure will look like this:
Some other notes:
tcpublic.c
will be merged withtypecodes.c
.backport.c
will hold backported functions, instead ofbackport.h
holding them.