Merge branch 'dl/cocci-everywhere'
[git/git.git] / serve.h
CommitLineData
ed10cb95
BW
1#ifndef SERVE_H
2#define SERVE_H
3
4struct argv_array;
55454427 5int has_capability(const struct argv_array *keys, const char *capability,
ad6dad09 6 const char **value);
ed10cb95
BW
7
8struct serve_options {
9 unsigned advertise_capabilities;
10 unsigned stateless_rpc;
11};
12#define SERVE_OPTIONS_INIT { 0 }
55454427 13void serve(struct serve_options *options);
ed10cb95
BW
14
15#endif /* SERVE_H */