aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_str.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_str.h')
-rw-r--r--src/microhttpd/mhd_str.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_str.h b/src/microhttpd/mhd_str.h
index 3d56ba35..64d15937 100644
--- a/src/microhttpd/mhd_str.h
+++ b/src/microhttpd/mhd_str.h
@@ -73,6 +73,15 @@ struct _MHD_str_w_len
73}; 73};
74 74
75/** 75/**
76 * Modifiable string with length
77 */
78struct _MHD_mstr_w_len
79{
80 char *str;
81 size_t len;
82};
83
84/**
76 * Static string initialiser for struct _MHD_str_w_len 85 * Static string initialiser for struct _MHD_str_w_len
77 */ 86 */
78#define _MHD_S_STR_W_LEN(str) { str, MHD_STATICSTR_LEN_(str) } 87#define _MHD_S_STR_W_LEN(str) { str, MHD_STATICSTR_LEN_(str) }