blob: d6ee25ea98e1b350377a3b9fb6e3750e516517f8 [file] [log] [blame]
Brandon Williamsa3d6b532018-03-14 11:31:41 -07001#ifndef UPLOAD_PACK_H
2#define UPLOAD_PACK_H
3
Ævar Arnfjörð Bjarmasonf234da82021-08-05 03:25:42 +02004void upload_pack(const int advertise_refs, const int stateless_rpc,
5 const int timeout);
Brandon Williamsa3d6b532018-03-14 11:31:41 -07006
Brandon Williams3145ea92018-03-15 10:31:27 -07007struct repository;
Brandon Williams3145ea92018-03-15 10:31:27 -07008struct packet_reader;
Ævar Arnfjörð Bjarmason28a592e2021-08-05 03:25:38 +02009int upload_pack_v2(struct repository *r, struct packet_reader *request);
Brandon Williams3145ea92018-03-15 10:31:27 -070010
Brandon Williams685fbd32018-03-15 10:31:28 -070011struct strbuf;
Denton Liu55454422019-04-29 04:28:14 -040012int upload_pack_advertise(struct repository *r,
Denton Liuad6dad02019-04-29 04:28:23 -040013 struct strbuf *value);
Brandon Williams685fbd32018-03-15 10:31:28 -070014
Brandon Williamsa3d6b532018-03-14 11:31:41 -070015#endif /* UPLOAD_PACK_H */