aboutsummaryrefslogtreecommitdiff
path: root/xs_fcgi.h
diff options
context:
space:
mode:
Diffstat (limited to 'xs_fcgi.h')
-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 @@
#define _XS_FCGI_H
xs_dict *xs_fcgi_request(FILE *f, xs_str **payload, int *p_size, int *id);
- void xs_fcgi_response(FILE *f, int status, xs_dict *headers, xs_str *body, int b_size, int id);
+ void xs_fcgi_response(FILE *f, int status, const xs_dict *headers, const xs_str *body, int b_size, int id);
#ifdef XS_IMPLEMENTATION
@@ -290,7 +290,7 @@ end:
}
-void xs_fcgi_response(FILE *f, int status, xs_dict *headers, xs_str *body, int b_size, int fcgi_id)
+void xs_fcgi_response(FILE *f, int status, const xs_dict *headers, const xs_str *body, int b_size, int fcgi_id)
/* writes an FCGI response */
{
struct fcgi_record_header hdr = {0};