serve.hon commit t/lib-diff-alternative: abstract away SHA-1-specific constants (d29d500)
   1#ifndef SERVE_H
   2#define SERVE_H
   3
   4struct argv_array;
   5extern int has_capability(const struct argv_array *keys, const char *capability,
   6                          const char **value);
   7
   8struct serve_options {
   9        unsigned advertise_capabilities;
  10        unsigned stateless_rpc;
  11};
  12#define SERVE_OPTIONS_INIT { 0 }
  13extern void serve(struct serve_options *options);
  14
  15#endif /* SERVE_H */