Brandon Williams | a3d6b53 | 2018-03-14 11:31:41 -0700 | [diff] [blame] | 1 | #ifndef UPLOAD_PACK_H |
| 2 | #define UPLOAD_PACK_H |
| 3 | |
Ævar Arnfjörð Bjarmason | f234da8 | 2021-08-05 03:25:42 +0200 | [diff] [blame] | 4 | void upload_pack(const int advertise_refs, const int stateless_rpc, |
| 5 | const int timeout); |
Brandon Williams | a3d6b53 | 2018-03-14 11:31:41 -0700 | [diff] [blame] | 6 | |
Brandon Williams | 3145ea9 | 2018-03-15 10:31:27 -0700 | [diff] [blame] | 7 | struct repository; |
Brandon Williams | 3145ea9 | 2018-03-15 10:31:27 -0700 | [diff] [blame] | 8 | struct packet_reader; |
Ævar Arnfjörð Bjarmason | 28a592e | 2021-08-05 03:25:38 +0200 | [diff] [blame] | 9 | int upload_pack_v2(struct repository *r, struct packet_reader *request); |
Brandon Williams | 3145ea9 | 2018-03-15 10:31:27 -0700 | [diff] [blame] | 10 | |
Brandon Williams | 685fbd3 | 2018-03-15 10:31:28 -0700 | [diff] [blame] | 11 | struct strbuf; |
Denton Liu | 5545442 | 2019-04-29 04:28:14 -0400 | [diff] [blame] | 12 | int upload_pack_advertise(struct repository *r, |
Denton Liu | ad6dad0 | 2019-04-29 04:28:23 -0400 | [diff] [blame] | 13 | struct strbuf *value); |
Brandon Williams | 685fbd3 | 2018-03-15 10:31:28 -0700 | [diff] [blame] | 14 | |
Brandon Williams | a3d6b53 | 2018-03-14 11:31:41 -0700 | [diff] [blame] | 15 | #endif /* UPLOAD_PACK_H */ |