Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bundle-uri.h')
-rw-r--r--bundle-uri.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/bundle-uri.h b/bundle-uri.h
index 0e56ab2ae5..bc13d4c992 100644
--- a/bundle-uri.h
+++ b/bundle-uri.h
@@ -63,6 +63,15 @@ struct FILE;
void print_bundle_list(FILE *fp, struct bundle_list *list);
/**
+ * A bundle URI may point to a bundle list where the key=value
+ * pairs are provided in config file format. This method is
+ * exposed publicly for testing purposes.
+ */
+int bundle_uri_parse_config_format(const char *uri,
+ const char *filename,
+ struct bundle_list *list);
+
+/**
* Fetch data from the given 'uri' and unbundle the bundle data found
* based on that information.
*