summaryrefslogtreecommitdiff
path: root/xs_fcgi.h
diff options
context:
space:
mode:
authorGravatar grunfink2025-07-08 17:30:45 +0200
committerGravatar grunfink2025-07-08 17:30:45 +0200
commit08f03cde6b469428494d3870ac54f740fd4641c4 (patch)
treeb537c9c4b26e60eff3f563efb1f950edcf791ce9 /xs_fcgi.h
parentMinor webfinger tweak. (diff)
downloadsnac2-08f03cde6b469428494d3870ac54f740fd4641c4.tar.gz
snac2-08f03cde6b469428494d3870ac54f740fd4641c4.tar.xz
snac2-08f03cde6b469428494d3870ac54f740fd4641c4.zip
Added some const here and there.
Diffstat (limited to '')
-rw-r--r--xs_fcgi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs_fcgi.h b/xs_fcgi.h
index 0b53dac..b3cb892 100644
--- a/xs_fcgi.h
+++ b/xs_fcgi.h
@@ -13,7 +13,7 @@
13#define _XS_FCGI_H 13#define _XS_FCGI_H
14 14
15 xs_dict *xs_fcgi_request(FILE *f, xs_str **payload, int *p_size, int *id); 15 xs_dict *xs_fcgi_request(FILE *f, xs_str **payload, int *p_size, int *id);
16 void xs_fcgi_response(FILE *f, int status, xs_dict *headers, xs_str *body, int b_size, int id); 16 void xs_fcgi_response(FILE *f, int status, const xs_dict *headers, const xs_str *body, int b_size, int id);
17 17
18 18
19#ifdef XS_IMPLEMENTATION 19#ifdef XS_IMPLEMENTATION
@@ -290,7 +290,7 @@ end:
290} 290}
291 291
292 292
293void xs_fcgi_response(FILE *f, int status, xs_dict *headers, xs_str *body, int b_size, int fcgi_id) 293void xs_fcgi_response(FILE *f, int status, const xs_dict *headers, const xs_str *body, int b_size, int fcgi_id)
294/* writes an FCGI response */ 294/* writes an FCGI response */
295{ 295{
296 struct fcgi_record_header hdr = {0}; 296 struct fcgi_record_header hdr = {0};