upload-pack.hon commit Git 2.20.1 (0d0ac38)
   1#ifndef UPLOAD_PACK_H
   2#define UPLOAD_PACK_H
   3
   4struct upload_pack_options {
   5        int stateless_rpc;
   6        int advertise_refs;
   7        unsigned int timeout;
   8        int daemon_mode;
   9};
  10
  11void upload_pack(struct upload_pack_options *options);
  12
  13struct repository;
  14struct argv_array;
  15struct packet_reader;
  16extern int upload_pack_v2(struct repository *r, struct argv_array *keys,
  17                          struct packet_reader *request);
  18
  19struct strbuf;
  20extern int upload_pack_advertise(struct repository *r,
  21                                 struct strbuf *value);
  22
  23#endif /* UPLOAD_PACK_H */