summaryrefslogtreecommitdiff
path: root/fetch-negotiator.h
diff options
context:
space:
mode:
Diffstat (limited to 'fetch-negotiator.h')
-rw-r--r--fetch-negotiator.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fetch-negotiator.h b/fetch-negotiator.h
index ea78868504..e348905a1f 100644
--- a/fetch-negotiator.h
+++ b/fetch-negotiator.h
@@ -53,7 +53,15 @@ struct fetch_negotiator {
void *data;
};
+/*
+ * Initialize a negotiator based on the repository settings.
+ */
void fetch_negotiator_init(struct repository *r,
struct fetch_negotiator *negotiator);
+/*
+ * Initialize a noop negotiator.
+ */
+void fetch_negotiator_init_noop(struct fetch_negotiator *negotiator);
+
#endif