Staging
v0.5.1
Revision ebf3c04b262aa27fbb97f8a0156c2347fecafafb authored by Junio C Hamano on 06 June 2021, 06:40:01 UTC, committed by Junio C Hamano on 06 June 2021, 06:40:01 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 15664a5
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