diff options
| author | 2024-01-02 23:47:50 -0600 | |
|---|---|---|
| committer | 2024-01-02 23:47:50 -0600 | |
| commit | eacff9bc34e2fea0999dd3c14b22d2e2fceeb2e8 (patch) | |
| tree | 127b43b00fedde11f9ace019941a0194ca3c456b /src/version.h | |
| parent | make library API better (diff) | |
downloads client jar
Diffstat (limited to 'src/version.h')
| -rw-r--r-- | src/version.h | 4 |
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 */ |
