diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-03-22 05:53:08 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-03-22 05:53:08 +0000 |
| commit | 9cd4e0d1902ebb196ebd53ed7ee88e6689d801b7 (patch) | |
| tree | ab44d569dce124541085629f6dbe0cc27b1da0fa /src/tipideed/tipideed-internal.h | |
| parent | 53fdbac9da06a0dfb3f2821f7c7384001eea4f68 (diff) | |
| download | tipidee-9cd4e0d1902ebb196ebd53ed7ee88e6689d801b7.tar.gz | |
Add cgi streaming
WILDLY UNTESTED, don't use this commit, probably.
Also, autochunk hasn't been implemented yet.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed/tipideed-internal.h')
| -rw-r--r-- | src/tipideed/tipideed-internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tipideed/tipideed-internal.h b/src/tipideed/tipideed-internal.h index 1087b15..eaa8341 100644 --- a/src/tipideed/tipideed-internal.h +++ b/src/tipideed/tipideed-internal.h @@ -139,6 +139,13 @@ extern void send_file_range (int, uint64_t, uint64_t, char const *) ; #define send_file(fd, n, fn) send_file_range(fd, 0, n, fn) + /* stream */ + +extern void stream_fixed (int, uint64_t, char const *) ; +extern void stream_autochunk (buffer *, char const *) ; +extern void stream_infinite (int, char const *) ; + + /* regular */ extern int respond_regular (tipidee_rql const *, char const *, char const *, struct stat const *, tipidee_resattr const *) ; |
