Staging
v0.5.1
Revision bf949ade81106fbda068c1fdb2c6fd1cb1babe7e authored by Junio C Hamano on 16 May 2021, 12:04:46 UTC, committed by Junio C Hamano on 16 May 2021, 12:05:24 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent e004fd6
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