Staging
v0.5.1
Revision 76b54ee9b9944ee70422ac24884f78769cf264f1 authored by Jonathan Nieder on 19 April 2020, 23:26:41 UTC, committed by Jonathan Nieder on 19 April 2020, 23:26:41 UTC
This merges up the security fix from v2.17.5.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2 parent s a5979d7 + ba6f090
Raw File
serve.h
#ifndef SERVE_H
#define SERVE_H

struct argv_array;
extern int has_capability(const struct argv_array *keys, const char *capability,
			  const char **value);

struct serve_options {
	unsigned advertise_capabilities;
	unsigned stateless_rpc;
};
#define SERVE_OPTIONS_INIT { 0 }
extern void serve(struct serve_options *options);

#endif /* SERVE_H */
back to top