aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtipidee/tipidee_fcgi_header_pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtipidee/tipidee_fcgi_header_pack.c')
-rw-r--r--src/libtipidee/tipidee_fcgi_header_pack.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libtipidee/tipidee_fcgi_header_pack.c b/src/libtipidee/tipidee_fcgi_header_pack.c
deleted file mode 100644
index 2f1a550..0000000
--- a/src/libtipidee/tipidee_fcgi_header_pack.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/* ISC license. */
-
-#include <skalibs/uint16.h>
-
-#include <tipidee/fcgi.h>
-
-void tipidee_fcgi_header_pack (char *s, fcgi_header const *hdr)
-{
- *s++ = hdr->version ;
- *s++ = hdr->type ;
- uint16_pack_big(s, hdr->requestid) ; s += 2 ;
- uint16_pack_big(s, hdr->len) ; s += 2 ;
- *s++ = hdr->padlen ;
- *s++ = 0 ;
-}