Staging
v0.5.1
Revision d98273ba77e1ab9ec755576bc86c716a97bf59d7 authored by Junio C Hamano on 05 October 2020, 21:00:04 UTC, committed by Junio C Hamano on 05 October 2020, 21:01:56 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 542b3c2
Raw File
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