Revision cb95038137e9e66fc6a6b4a0e8db62bcc521b709 authored by Johannes Schindelin on 17 March 2022, 09:15:15 UTC, committed by Johannes Schindelin on 23 March 2022, 23:22:17 UTC
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent fdcad5a
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