https://github.com/git/git
Raw File
Tip revision: b7b37a33711e64bf580ef3141878b12a36e28833 authored by Junio C Hamano on 13 December 2022, 11:56:43 UTC
Git 2.30.7
Tip revision: b7b37a3
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