http: refactor finish_http_pack_request()
[git.git] / serve.h
blob42ddca7f8b4fdd6bb78ab6da710a086645dd44f2
1 #ifndef SERVE_H
2 #define SERVE_H
4 struct argv_array;
5 int has_capability(const struct argv_array *keys, const char *capability,
6 const char **value);
8 struct serve_options {
9 unsigned advertise_capabilities;
10 unsigned stateless_rpc;
12 #define SERVE_OPTIONS_INIT { 0 }
13 void serve(struct serve_options *options);
15 #endif /* SERVE_H */