summaryrefslogtreecommitdiffstats
path: root/base85.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-22 22:17:13 +0200
committerJunio C Hamano <gitster@pobox.com>2023-04-24 21:47:32 +0200
commit9b5041f647fa5d9921b9b4f8be6b36cb39591166 (patch)
tree1155c7d5e2e45383044d914af051b06c00d1539e /base85.h
parentcopy.h: move declarations for copy.c functions from cache.h (diff)
downloadgit-9b5041f647fa5d9921b9b4f8be6b36cb39591166.tar.xz
git-9b5041f647fa5d9921b9b4f8be6b36cb39591166.zip
base85.h: move declarations for base85.c functions from cache.h
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'base85.h')
-rw-r--r--base85.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/base85.h b/base85.h
new file mode 100644
index 0000000000..c835086e09
--- /dev/null
+++ b/base85.h
@@ -0,0 +1,7 @@
+#ifndef BASE85_H
+#define BASE85_H
+
+int decode_85(char *dst, const char *line, int linelen);
+void encode_85(char *buf, const unsigned char *data, int bytes);
+
+#endif /* BASE85_H */