aboutsummaryrefslogtreecommitdiffstats
path: root/src/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/version.h')
-rw-r--r--src/version.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/version.h b/src/version.h
index e59dcb9..b2f871b 100644
--- a/src/version.h
+++ b/src/version.h
@@ -88,7 +88,7 @@ unsigned l2_version_load_remote(void);
unsigned l2_version_load_local(const char *name, json_t **ojs);
-int l2_version_check_integrity(FILE *fp, l2_sha1_digest_t *digest, size_t sz);
+int l2_version_check_integrity(FILE *fp, const l2_sha1_digest_t *digest, size_t sz);
enum l2_version_check_result {
RULE_CHECK_ERROR = -1,
@@ -101,4 +101,6 @@ unsigned l2_version_collect_libraries(json_t *version, struct l2_version_library
unsigned l2_version_download_libraries(struct l2_version_library *libs);
void l2_version_free_libraries(struct l2_version_library *libs);
+unsigned l2_version_download_jar(json_t *version, const char *specifier, char **path);
+
#endif /* include guard */