Staging
v0.8.1
https://github.com/git/git
Raw File
Tip revision: 13d7ab6b5d7929825b626f050b62a11241ea4945 authored by Junio C Hamano on 09 March 2021, 00:09:43 UTC
Git 2.31-rc2
Tip revision: 13d7ab6
serve.h
#ifndef SERVE_H
#define SERVE_H

struct strvec;
int has_capability(const struct strvec *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