summaryrefslogtreecommitdiff
path: root/tools/lz/proto.h
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-05-28 06:44:10 -0400
committerentrpntr <entrpntr@gmail.com>2020-06-14 15:07:27 -0400
commit4ac8bcc29a4ad5bb908b692baa040e7c7eb21249 (patch)
treed4e14bd6d9c367a1d5993dc9729451a3770f9870 /tools/lz/proto.h
parent4517c08edaa6783fac0fb15dd98b476e066134f8 (diff)
Checkpoint where things mostly work.
Diffstat (limited to 'tools/lz/proto.h')
-rw-r--r--tools/lz/proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lz/proto.h b/tools/lz/proto.h
index 3ca98715..84577422 100644
--- a/tools/lz/proto.h
+++ b/tools/lz/proto.h
@@ -3,6 +3,7 @@
#include <string.h>
#include <stdarg.h>
+#define NUM_COMPRESSORS 4
#define COMPRESSION_METHODS 96 /* sum of all values for the methods field in compressors */
#define MAX_FILE_SIZE 32768
#define SHORT_COMMAND_COUNT 32
@@ -48,7 +49,8 @@ int main(int, char **);
struct command * compress(const unsigned char *, unsigned short *, unsigned);
// merging.c
-struct command * select_command_sequence(struct command **, const unsigned short *, unsigned, unsigned short *);
+struct command * select_optimal_sequence(struct command **, const unsigned short *, unsigned short *);
+struct command * select_command_sequence(struct command **, const unsigned short *, int, unsigned short *);
struct command * merge_command_sequences(const struct command *, unsigned short, const struct command *, unsigned short, unsigned short *);
// mpcomp.c