From 5ec6074f0633939fd17d94111d10c6c6b062978c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 11:49:36 +0200 Subject: Adding upstream version 1:2.30.2. Signed-off-by: Daniel Baumann --- upload-pack.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 upload-pack.h (limited to 'upload-pack.h') diff --git a/upload-pack.h b/upload-pack.h new file mode 100644 index 0000000..27ddcdc --- /dev/null +++ b/upload-pack.h @@ -0,0 +1,23 @@ +#ifndef UPLOAD_PACK_H +#define UPLOAD_PACK_H + +struct upload_pack_options { + int stateless_rpc; + int advertise_refs; + unsigned int timeout; + int daemon_mode; +}; + +void upload_pack(struct upload_pack_options *options); + +struct repository; +struct strvec; +struct packet_reader; +int upload_pack_v2(struct repository *r, struct strvec *keys, + struct packet_reader *request); + +struct strbuf; +int upload_pack_advertise(struct repository *r, + struct strbuf *value); + +#endif /* UPLOAD_PACK_H */ -- cgit v1.2.3