serve.h 328 B

12345678910111213141516
  1. #ifndef SERVE_H
  2. #define SERVE_H
  3. struct strvec;
  4. int has_capability(const struct strvec *keys, const char *capability,
  5. const char **value);
  6. struct serve_options {
  7. unsigned advertise_capabilities;
  8. unsigned stateless_rpc;
  9. };
  10. #define SERVE_OPTIONS_INIT { 0 }
  11. void serve(struct serve_options *options);
  12. #endif /* SERVE_H */