aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver/pre-receive-parser.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2020-05-30 21:08:16 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2020-05-30 21:08:16 +0200
commit9a3629921b250e7079be9abb5252381025c33354 (patch)
treeefba39ef18c690566e2bff423a1125d871d0e1f8 /src/blogc-git-receiver/pre-receive-parser.h
parent30c3bd35de3b7c0f5dc22259fdef9194f10f74a4 (diff)
downloadblogc-9a3629921b250e7079be9abb5252381025c33354.tar.gz
blogc-9a3629921b250e7079be9abb5252381025c33354.tar.bz2
blogc-9a3629921b250e7079be9abb5252381025c33354.zip
git-receiver: pre-receive parser should accept len
Diffstat (limited to 'src/blogc-git-receiver/pre-receive-parser.h')
-rw-r--r--src/blogc-git-receiver/pre-receive-parser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/blogc-git-receiver/pre-receive-parser.h b/src/blogc-git-receiver/pre-receive-parser.h
index 7a011a7..e5a392a 100644
--- a/src/blogc-git-receiver/pre-receive-parser.h
+++ b/src/blogc-git-receiver/pre-receive-parser.h
@@ -9,6 +9,8 @@
#ifndef _PRE_RECEIVE_PARSER_H
#define _PRE_RECEIVE_PARSER_H
-char* bgr_pre_receive_parse(const char *input);
+#include <stddef.h>
+
+char* bgr_pre_receive_parse(const char *input, size_t input_len);
#endif /* _PRE_RECEIVE_PARSER_H */