aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-runserver/httpd.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-25 20:54:39 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-25 20:54:39 +0200
commit123486ac617ac298fdecb1fbdbc504ac84118718 (patch)
tree837d72872a23607ae2f6994a6fe8a61a0dc2dbe1 /src/blogc-runserver/httpd.h
parent1a94d1f0f7e1403fd76ff09fbdb0d79c766d1a5c (diff)
downloadblogc-123486ac617ac298fdecb1fbdbc504ac84118718.tar.gz
blogc-123486ac617ac298fdecb1fbdbc504ac84118718.tar.bz2
blogc-123486ac617ac298fdecb1fbdbc504ac84118718.zip
runserver: implemented a thread pool and fixed few bugs
Diffstat (limited to 'src/blogc-runserver/httpd.h')
-rw-r--r--src/blogc-runserver/httpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blogc-runserver/httpd.h b/src/blogc-runserver/httpd.h
index a59a467..7a948ca 100644
--- a/src/blogc-runserver/httpd.h
+++ b/src/blogc-runserver/httpd.h
@@ -9,6 +9,7 @@
#ifndef _HTTPD_H
#define _HTTPD_H
-int br_httpd_run(const char *host, unsigned short port, const char *docroot);
+int br_httpd_run(const char *host, unsigned short port, const char *docroot,
+ size_t max_threads);
#endif /* _HTTPD_H */