summaryrefslogtreecommitdiffstats
path: root/src/compression.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-03-23 16:36:51 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-03-23 16:36:51 (EDT)
commit18946b0027be597fb9fa4d4d5e5814a5b6b98b6d (patch)
treedc8a905ea92ba60793321f31fe7bdb96e44c3bf7 /src/compression.h
parente96957a78147c73e97a611e1c199fee02941b64f (diff)
downloaddodge-balls-18946b0027be597fb9fa4d4d5e5814a5b6b98b6d.zip
dodge-balls-18946b0027be597fb9fa4d4d5e5814a5b6b98b6d.tar.gz
dodge-balls-18946b0027be597fb9fa4d4d5e5814a5b6b98b6d.tar.bz2
db_decompress(): New function, from boukengine
Diffstat (limited to 'src/compression.h')
-rw-r--r--src/compression.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/compression.h b/src/compression.h
new file mode 100644
index 0000000..894a3fd
--- /dev/null
+++ b/src/compression.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2013 P. J. McDermott
+ *
+ * This file is part of Dodge Balls
+ *
+ * Dodge Balls is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dodge Balls is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dodge Balls. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef DB_COMPRESSION_H_
+#define DB_COMPRESSION_H_
+
+#include <stddef.h>
+
+void db_decompress(char *src, size_t src_len, char *dest, size_t dest_len);
+
+#endif /* DB_COMPRESSION_H_ */