]>
Commit | Line | Data |
---|---|---|
a3d6b53e BW |
1 | #ifndef UPLOAD_PACK_H |
2 | #define UPLOAD_PACK_H | |
3 | ||
4 | struct upload_pack_options { | |
5 | int stateless_rpc; | |
6 | int advertise_refs; | |
7 | unsigned int timeout; | |
8 | int daemon_mode; | |
9 | }; | |
10 | ||
11 | void upload_pack(struct upload_pack_options *options); | |
12 | ||
3145ea95 | 13 | struct repository; |
873cd28a | 14 | struct strvec; |
3145ea95 | 15 | struct packet_reader; |
873cd28a | 16 | int upload_pack_v2(struct repository *r, struct strvec *keys, |
ad6dad09 | 17 | struct packet_reader *request); |
3145ea95 | 18 | |
685fbd32 | 19 | struct strbuf; |
55454427 | 20 | int upload_pack_advertise(struct repository *r, |
ad6dad09 | 21 | struct strbuf *value); |
685fbd32 | 22 | |
a3d6b53e | 23 | #endif /* UPLOAD_PACK_H */ |