https://github.com/git/git
Raw File
Tip revision: 268fbcd172cdb306e8a3e7143cc16677c963d6cd authored by Junio C Hamano on 27 September 2018, 18:48:19 UTC
Git 2.18.1
Tip revision: 268fbcd
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