diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-05-24 12:29:05 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-05-24 12:29:05 -0400 |
commit | 159cef004f86d134a551a3abfba2dee9020b16d0 (patch) | |
tree | b80cf8f9cf6cbafad20cab82e54a32590d3d8eea /tools/lz/proto.h | |
parent | c1c671d84b8b36e421f73483977ee75f7b1f46ff (diff) |
Update lzcomp
Diffstat (limited to 'tools/lz/proto.h')
-rw-r--r-- | tools/lz/proto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lz/proto.h b/tools/lz/proto.h index 3ca987156..845774221 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 |