summaryrefslogtreecommitdiff
path: root/upload-pack.h
diff options
context:
space:
mode:
Diffstat (limited to 'upload-pack.h')
-rw-r--r--upload-pack.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/upload-pack.h b/upload-pack.h
index 4bafe16..d6ee25e 100644
--- a/upload-pack.h
+++ b/upload-pack.h
@@ -1,20 +1,12 @@
#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);
+void upload_pack(const int advertise_refs, const int stateless_rpc,
+ const int timeout);
struct repository;
-struct argv_array;
struct packet_reader;
-int upload_pack_v2(struct repository *r, struct argv_array *keys,
- struct packet_reader *request);
+int upload_pack_v2(struct repository *r, struct packet_reader *request);
struct strbuf;
int upload_pack_advertise(struct repository *r,