Revision 518e8748979dbe485f519d0f63c3642cc1643f79 authored by Junio C Hamano on 25 July 2019, 21:27:08 UTC, committed by Junio C Hamano on 25 July 2019, 21:27:08 UTC
More parameter validation.

* es/grep-require-name-when-needed:
  grep: fail if call could output and name is null
2 parent s 90891c6 + de99eb0
Raw File
serve.h
#ifndef SERVE_H
#define SERVE_H

struct argv_array;
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 }
void serve(struct serve_options *options);

#endif /* SERVE_H */
back to top