]>
Commit | Line | Data |
---|---|---|
ed10cb95 BW |
1 | #ifndef SERVE_H |
2 | #define SERVE_H | |
3 | ||
873cd28a JK |
4 | struct strvec; |
5 | int has_capability(const struct strvec *keys, const char *capability, | |
ad6dad09 | 6 | const char **value); |
ed10cb95 BW |
7 | |
8 | struct serve_options { | |
9 | unsigned advertise_capabilities; | |
10 | unsigned stateless_rpc; | |
11 | }; | |
12 | #define SERVE_OPTIONS_INIT { 0 } | |
55454427 | 13 | void serve(struct serve_options *options); |
ed10cb95 BW |
14 | |
15 | #endif /* SERVE_H */ |