aboutsummaryrefslogtreecommitdiff
path: root/bundle-uri.h
diff options
context:
space:
mode:
Diffstat (limited to 'bundle-uri.h')
-rw-r--r--bundle-uri.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/bundle-uri.h b/bundle-uri.h
index ff7e3fd3fb..9058346192 100644
--- a/bundle-uri.h
+++ b/bundle-uri.h
@@ -67,4 +67,16 @@ int for_all_bundles_in_list(struct bundle_list *list,
*/
int fetch_bundle_uri(struct repository *r, const char *uri);
+/**
+ * General API for {transport,connect}.c etc.
+ */
+
+/**
+ * Parse a "key=value" packet line from the bundle-uri verb.
+ *
+ * Returns 0 on success and non-zero on error.
+ */
+int bundle_uri_parse_line(struct bundle_list *list,
+ const char *line);
+
#endif