Mercurial
comparison seobeo/seobeo_internal.h @ 175:71ad34a8bc9a hg-web
[HgWeb] Can stream hg response now. Added react page for hg web since we use json anyway.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Tue, 20 Jan 2026 06:06:47 -0800 |
| parents | 7a63e41a21fb |
| children | 8cf4ec5e2191 |
comparison
equal
deleted
inserted
replaced
| 174:1ba8c1df082c | 175:71ad34a8bc9a |
|---|---|
| 77 // Forward declaration | 77 // Forward declaration |
| 78 typedef struct Seobeo_Route_Struct Seobeo_Route; | 78 typedef struct Seobeo_Route_Struct Seobeo_Route; |
| 79 | 79 |
| 80 // Route handler function type | 80 // Route handler function type |
| 81 typedef Seobeo_Request_Entry* (*Seobeo_Route_Handler)( | 81 typedef Seobeo_Request_Entry* (*Seobeo_Route_Handler)( |
| 82 Seobeo_Request_Entry *p_request_map, | |
| 83 Dowa_Arena *p_arena | |
| 84 ); | |
| 85 | |
| 86 // Streaming handler - gets direct access to client handle for streaming responses | |
| 87 typedef void (*Seobeo_Stream_Handler)( | |
| 88 Seobeo_Handle *p_client_handle, | |
| 82 Seobeo_Request_Entry *p_request_map, | 89 Seobeo_Request_Entry *p_request_map, |
| 83 Dowa_Arena *p_arena | 90 Dowa_Arena *p_arena |
| 84 ); | 91 ); |
| 85 | 92 |
| 86 // --- Parse Header into Dowa Map ---// | 93 // --- Parse Header into Dowa Map ---// |