https://github.com/git/git
Raw File
Tip revision: f2771efd07b51edae023db95fcca39c72a0397fe authored by Jonathan Nieder on 19 April 2020, 23:30:27 UTC
Git 2.23.3
Tip revision: f2771ef
serve.h
#ifndef SERVE_H
#define SERVE_H

struct argv_array;
int has_capability(const struct argv_array *keys, const char *capability,
		   const char **value);

struct serve_options {
	unsigned advertise_capabilities;
	unsigned stateless_rpc;
};
#define SERVE_OPTIONS_INIT { 0 }
void serve(struct serve_options *options);

#endif /* SERVE_H */
back to top