Merge tag 'v2.31.0' into debian-sid
[git/debian.git] / upload-pack.h
blob27ddcdc6cb071fd916ad48219a520d8973e961e0
1 #ifndef UPLOAD_PACK_H
2 #define UPLOAD_PACK_H
4 struct upload_pack_options {
5 int stateless_rpc;
6 int advertise_refs;
7 unsigned int timeout;
8 int daemon_mode;
9 };
11 void upload_pack(struct upload_pack_options *options);
13 struct repository;
14 struct strvec;
15 struct packet_reader;
16 int upload_pack_v2(struct repository *r, struct strvec *keys,
17 struct packet_reader *request);
19 struct strbuf;
20 int upload_pack_advertise(struct repository *r,
21 struct strbuf *value);
23 #endif /* UPLOAD_PACK_H */