diff options
author | Donovan Baarda <abo@minkirri.apana.org.au> | 2018-02-27 13:18:28 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-27 13:18:28 +1100 |
commit | 180f915be61226696a6a8cb9c56f82d3df3de7fe (patch) | |
tree | 89b8e4b24ca401e79c80df23928714847936ab38 | |
parent | 6fc8572d89a3ae64bba54c8bf859e3110f89ef0f (diff) | |
parent | 03e461873e2622499d3d0a3aafc788fceec14f3c (diff) | |
download | librsync-180f915be61226696a6a8cb9c56f82d3df3de7fe.tar.gz |
Merge pull request #142 from dbaarda/fix/drop-perl
Fix #75 drop perl as a build dependency.
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | CMakeLists.txt | 13 | ||||
-rwxr-xr-x | src/mkprototab.pl | 136 | ||||
-rw-r--r-- | src/prototab.c | 295 | ||||
-rw-r--r-- | src/prototab.h | 298 |
5 files changed, 594 insertions, 150 deletions
@@ -20,8 +20,6 @@ tags *.dylib cmake_install.cmake *.la -src/prototab.c -src/prototab.h doc/Doxyfile tests/isprefix.driver html diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f39fd0..57b6ce5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -171,12 +171,6 @@ if (BZIP2_FOUND) include_directories(${BZIP2_INCLUDE_DIR}) endif (BZIP2_FOUND) -# Find Perl -find_package (Perl REQUIRED) -if (PERL_FOUND) - message (STATUS "PERL_EXECUTABLE = ${PERL_EXECUTABLE}") -endif (PERL_FOUND) - # Find ZLIB find_package (ZLIB) if (ZLIB_FOUND) @@ -248,10 +242,6 @@ add_custom_target(tidyc VERBATIM ) -# Generate prototab.c/h -file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src) -execute_process(COMMAND ${PERL_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/src/mkprototab.pl" "${CMAKE_CURRENT_BINARY_DIR}/src/prototab.c" "${CMAKE_CURRENT_BINARY_DIR}/src/prototab.h") - # Testing add_executable(isprefix_test @@ -320,8 +310,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src) # (Don't list .h files) set(rsync_LIB_SRCS - # This was generated - ${CMAKE_CURRENT_BINARY_DIR}/src/prototab.c + src/prototab.c src/base64.c src/buf.c src/checksum.c diff --git a/src/mkprototab.pl b/src/mkprototab.pl deleted file mode 100755 index 60ecd8c..0000000 --- a/src/mkprototab.pl +++ /dev/null @@ -1,136 +0,0 @@ -#! /usr/bin/perl -w - -use strict; - -# librsync -- the library for network deltas -# -# Copyright (C) 2000, 2001 by Martin Pool <mbp@sourcefrog.net> -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public License -# as published by the Free Software Foundation; either version 2.1 of -# the License, or (at your option) any later version. -# -# This program 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - - # I think if you've ordered - # somebody to do something you - # should probably resist the urge - # to thank them. - # -- http://abc.net.au/thegames/ - - -$#ARGV == 1 or die "Usage: mkprototab.pl TABLE HEADER"; - -open(TABLE, ">$ARGV[0]") or die "Can't open table $ARGV[0]: $!"; -open(HEADER, ">$ARGV[1]") or die "Can't open header $ARGV[1]: $!"; - - -my $cmd_byte = 0; - - -sub emit_cmd { - my ($kind, $lit_val, $len1, $len2) = @_; - my $op; - - if ($cmd_byte) { - # not first - print TABLE ",\n"; - print HEADER ",\n"; - } - - if ($len2) { - $op = sprintf "RS_OP_%s_N%d_N%d", $kind, $len1, $len2; - } elsif ($len1) { - $op = sprintf "RS_OP_%s_N%d", $kind, $len1; - } elsif ($lit_val) { - $op = sprintf "RS_OP_%s_%d", $kind, $lit_val; - } else { - $op = sprintf "RS_OP_%s", $kind; - } - - push(@_, 0) while @_ < 4; # Avoid run-time warnings. - printf TABLE " {RS_KIND_%-10s, %3d, %d, %d } ", @_; - printf TABLE " /* %20s = %#4x */", $op, $cmd_byte; - printf HEADER " %20s = %#4x", $op, $cmd_byte; - $cmd_byte++; -} - - -print TABLE <<EOT; -/* AUTOGENERATED BY $0, DO NOT EDIT */ - -#include "config.h" - -#include <stdlib.h> -#include <stdio.h> - -#include "librsync.h" -#include "command.h" -#include "prototab.h" - -/* This file defines an array mapping command IDs to the operation kind, - * implied literal value, and length of the first and second parameters. - * The implied value is only used - * if the first parameter length is zero. */ - -const struct rs_prototab_ent rs_prototab[] = { -EOT - - -print HEADER <<EOT; -/* AUTOGENERATED BY $0, DO NOT EDIT */ - -typedef struct rs_prototab_ent { - enum rs_op_kind kind; - int immediate; - size_t len_1, len_2; -} rs_prototab_ent_t; - -extern const rs_prototab_ent_t rs_prototab[]; - -enum { -EOT - - -emit_cmd('END'); - -my @int_lens = (1, 2, 4, 8); - -my ($i, $j); - -for ($i = 1; $i <= 64; $i++) { - emit_cmd('LITERAL', $i); -} - -foreach $i (@int_lens) { - emit_cmd('LITERAL', 0, $i); -} - -foreach $i (@int_lens) { - foreach $j (@int_lens) { - emit_cmd('COPY', 0, $i, $j); - } -} - -emit_cmd('RESERVED', $cmd_byte, 0, 0) while $cmd_byte <= 255; - - -print TABLE <<EOT; -}; -/* END OF AUTOGENERATED CODE */ -EOT - -print HEADER <<EOT; -}; -/* END OF AUTOGENERATED CODE */ -EOT - diff --git a/src/prototab.c b/src/prototab.c new file mode 100644 index 0000000..68f145d --- /dev/null +++ b/src/prototab.c @@ -0,0 +1,295 @@ +/*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- + * + * librsync -- library for network deltas + * + * Copyright 2000, 2001, 2014, 2015 by Martin Pool <mbp@sourcefrog.net> + * Copyright (C) 2003 by Donovan Baarda <abo@minkirri.apana.org.au> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +/** \file prototab.c Delta file commands. + * + * This file defines an array mapping command IDs to the operation kind, + * implied literal value, and length of the first and second parameters. The + * implied value is only used if the first parameter length is zero. */ + +#include "config.h" + +#include <stdlib.h> +#include <stdio.h> + +#include "librsync.h" +#include "command.h" +#include "prototab.h" + +const struct rs_prototab_ent rs_prototab[] = { + {RS_KIND_END, 0, 0, 0}, /* RS_OP_END = 0 */ + {RS_KIND_LITERAL, 1, 0, 0}, /* RS_OP_LITERAL_1 = 0x1 */ + {RS_KIND_LITERAL, 2, 0, 0}, /* RS_OP_LITERAL_2 = 0x2 */ + {RS_KIND_LITERAL, 3, 0, 0}, /* RS_OP_LITERAL_3 = 0x3 */ + {RS_KIND_LITERAL, 4, 0, 0}, /* RS_OP_LITERAL_4 = 0x4 */ + {RS_KIND_LITERAL, 5, 0, 0}, /* RS_OP_LITERAL_5 = 0x5 */ + {RS_KIND_LITERAL, 6, 0, 0}, /* RS_OP_LITERAL_6 = 0x6 */ + {RS_KIND_LITERAL, 7, 0, 0}, /* RS_OP_LITERAL_7 = 0x7 */ + {RS_KIND_LITERAL, 8, 0, 0}, /* RS_OP_LITERAL_8 = 0x8 */ + {RS_KIND_LITERAL, 9, 0, 0}, /* RS_OP_LITERAL_9 = 0x9 */ + {RS_KIND_LITERAL, 10, 0, 0}, /* RS_OP_LITERAL_10 = 0xa */ + {RS_KIND_LITERAL, 11, 0, 0}, /* RS_OP_LITERAL_11 = 0xb */ + {RS_KIND_LITERAL, 12, 0, 0}, /* RS_OP_LITERAL_12 = 0xc */ + {RS_KIND_LITERAL, 13, 0, 0}, /* RS_OP_LITERAL_13 = 0xd */ + {RS_KIND_LITERAL, 14, 0, 0}, /* RS_OP_LITERAL_14 = 0xe */ + {RS_KIND_LITERAL, 15, 0, 0}, /* RS_OP_LITERAL_15 = 0xf */ + {RS_KIND_LITERAL, 16, 0, 0}, /* RS_OP_LITERAL_16 = 0x10 */ + {RS_KIND_LITERAL, 17, 0, 0}, /* RS_OP_LITERAL_17 = 0x11 */ + {RS_KIND_LITERAL, 18, 0, 0}, /* RS_OP_LITERAL_18 = 0x12 */ + {RS_KIND_LITERAL, 19, 0, 0}, /* RS_OP_LITERAL_19 = 0x13 */ + {RS_KIND_LITERAL, 20, 0, 0}, /* RS_OP_LITERAL_20 = 0x14 */ + {RS_KIND_LITERAL, 21, 0, 0}, /* RS_OP_LITERAL_21 = 0x15 */ + {RS_KIND_LITERAL, 22, 0, 0}, /* RS_OP_LITERAL_22 = 0x16 */ + {RS_KIND_LITERAL, 23, 0, 0}, /* RS_OP_LITERAL_23 = 0x17 */ + {RS_KIND_LITERAL, 24, 0, 0}, /* RS_OP_LITERAL_24 = 0x18 */ + {RS_KIND_LITERAL, 25, 0, 0}, /* RS_OP_LITERAL_25 = 0x19 */ + {RS_KIND_LITERAL, 26, 0, 0}, /* RS_OP_LITERAL_26 = 0x1a */ + {RS_KIND_LITERAL, 27, 0, 0}, /* RS_OP_LITERAL_27 = 0x1b */ + {RS_KIND_LITERAL, 28, 0, 0}, /* RS_OP_LITERAL_28 = 0x1c */ + {RS_KIND_LITERAL, 29, 0, 0}, /* RS_OP_LITERAL_29 = 0x1d */ + {RS_KIND_LITERAL, 30, 0, 0}, /* RS_OP_LITERAL_30 = 0x1e */ + {RS_KIND_LITERAL, 31, 0, 0}, /* RS_OP_LITERAL_31 = 0x1f */ + {RS_KIND_LITERAL, 32, 0, 0}, /* RS_OP_LITERAL_32 = 0x20 */ + {RS_KIND_LITERAL, 33, 0, 0}, /* RS_OP_LITERAL_33 = 0x21 */ + {RS_KIND_LITERAL, 34, 0, 0}, /* RS_OP_LITERAL_34 = 0x22 */ + {RS_KIND_LITERAL, 35, 0, 0}, /* RS_OP_LITERAL_35 = 0x23 */ + {RS_KIND_LITERAL, 36, 0, 0}, /* RS_OP_LITERAL_36 = 0x24 */ + {RS_KIND_LITERAL, 37, 0, 0}, /* RS_OP_LITERAL_37 = 0x25 */ + {RS_KIND_LITERAL, 38, 0, 0}, /* RS_OP_LITERAL_38 = 0x26 */ + {RS_KIND_LITERAL, 39, 0, 0}, /* RS_OP_LITERAL_39 = 0x27 */ + {RS_KIND_LITERAL, 40, 0, 0}, /* RS_OP_LITERAL_40 = 0x28 */ + {RS_KIND_LITERAL, 41, 0, 0}, /* RS_OP_LITERAL_41 = 0x29 */ + {RS_KIND_LITERAL, 42, 0, 0}, /* RS_OP_LITERAL_42 = 0x2a */ + {RS_KIND_LITERAL, 43, 0, 0}, /* RS_OP_LITERAL_43 = 0x2b */ + {RS_KIND_LITERAL, 44, 0, 0}, /* RS_OP_LITERAL_44 = 0x2c */ + {RS_KIND_LITERAL, 45, 0, 0}, /* RS_OP_LITERAL_45 = 0x2d */ + {RS_KIND_LITERAL, 46, 0, 0}, /* RS_OP_LITERAL_46 = 0x2e */ + {RS_KIND_LITERAL, 47, 0, 0}, /* RS_OP_LITERAL_47 = 0x2f */ + {RS_KIND_LITERAL, 48, 0, 0}, /* RS_OP_LITERAL_48 = 0x30 */ + {RS_KIND_LITERAL, 49, 0, 0}, /* RS_OP_LITERAL_49 = 0x31 */ + {RS_KIND_LITERAL, 50, 0, 0}, /* RS_OP_LITERAL_50 = 0x32 */ + {RS_KIND_LITERAL, 51, 0, 0}, /* RS_OP_LITERAL_51 = 0x33 */ + {RS_KIND_LITERAL, 52, 0, 0}, /* RS_OP_LITERAL_52 = 0x34 */ + {RS_KIND_LITERAL, 53, 0, 0}, /* RS_OP_LITERAL_53 = 0x35 */ + {RS_KIND_LITERAL, 54, 0, 0}, /* RS_OP_LITERAL_54 = 0x36 */ + {RS_KIND_LITERAL, 55, 0, 0}, /* RS_OP_LITERAL_55 = 0x37 */ + {RS_KIND_LITERAL, 56, 0, 0}, /* RS_OP_LITERAL_56 = 0x38 */ + {RS_KIND_LITERAL, 57, 0, 0}, /* RS_OP_LITERAL_57 = 0x39 */ + {RS_KIND_LITERAL, 58, 0, 0}, /* RS_OP_LITERAL_58 = 0x3a */ + {RS_KIND_LITERAL, 59, 0, 0}, /* RS_OP_LITERAL_59 = 0x3b */ + {RS_KIND_LITERAL, 60, 0, 0}, /* RS_OP_LITERAL_60 = 0x3c */ + {RS_KIND_LITERAL, 61, 0, 0}, /* RS_OP_LITERAL_61 = 0x3d */ + {RS_KIND_LITERAL, 62, 0, 0}, /* RS_OP_LITERAL_62 = 0x3e */ + {RS_KIND_LITERAL, 63, 0, 0}, /* RS_OP_LITERAL_63 = 0x3f */ + {RS_KIND_LITERAL, 64, 0, 0}, /* RS_OP_LITERAL_64 = 0x40 */ + {RS_KIND_LITERAL, 0, 1, 0}, /* RS_OP_LITERAL_N1 = 0x41 */ + {RS_KIND_LITERAL, 0, 2, 0}, /* RS_OP_LITERAL_N2 = 0x42 */ + {RS_KIND_LITERAL, 0, 4, 0}, /* RS_OP_LITERAL_N4 = 0x43 */ + {RS_KIND_LITERAL, 0, 8, 0}, /* RS_OP_LITERAL_N8 = 0x44 */ + {RS_KIND_COPY, 0, 1, 1}, /* RS_OP_COPY_N1_N1 = 0x45 */ + {RS_KIND_COPY, 0, 1, 2}, /* RS_OP_COPY_N1_N2 = 0x46 */ + {RS_KIND_COPY, 0, 1, 4}, /* RS_OP_COPY_N1_N4 = 0x47 */ + {RS_KIND_COPY, 0, 1, 8}, /* RS_OP_COPY_N1_N8 = 0x48 */ + {RS_KIND_COPY, 0, 2, 1}, /* RS_OP_COPY_N2_N1 = 0x49 */ + {RS_KIND_COPY, 0, 2, 2}, /* RS_OP_COPY_N2_N2 = 0x4a */ + {RS_KIND_COPY, 0, 2, 4}, /* RS_OP_COPY_N2_N4 = 0x4b */ + {RS_KIND_COPY, 0, 2, 8}, /* RS_OP_COPY_N2_N8 = 0x4c */ + {RS_KIND_COPY, 0, 4, 1}, /* RS_OP_COPY_N4_N1 = 0x4d */ + {RS_KIND_COPY, 0, 4, 2}, /* RS_OP_COPY_N4_N2 = 0x4e */ + {RS_KIND_COPY, 0, 4, 4}, /* RS_OP_COPY_N4_N4 = 0x4f */ + {RS_KIND_COPY, 0, 4, 8}, /* RS_OP_COPY_N4_N8 = 0x50 */ + {RS_KIND_COPY, 0, 8, 1}, /* RS_OP_COPY_N8_N1 = 0x51 */ + {RS_KIND_COPY, 0, 8, 2}, /* RS_OP_COPY_N8_N2 = 0x52 */ + {RS_KIND_COPY, 0, 8, 4}, /* RS_OP_COPY_N8_N4 = 0x53 */ + {RS_KIND_COPY, 0, 8, 8}, /* RS_OP_COPY_N8_N8 = 0x54 */ + {RS_KIND_RESERVED, 85, 0, 0}, /* RS_OP_RESERVED_85 = 0x55 */ + {RS_KIND_RESERVED, 86, 0, 0}, /* RS_OP_RESERVED_86 = 0x56 */ + {RS_KIND_RESERVED, 87, 0, 0}, /* RS_OP_RESERVED_87 = 0x57 */ + {RS_KIND_RESERVED, 88, 0, 0}, /* RS_OP_RESERVED_88 = 0x58 */ + {RS_KIND_RESERVED, 89, 0, 0}, /* RS_OP_RESERVED_89 = 0x59 */ + {RS_KIND_RESERVED, 90, 0, 0}, /* RS_OP_RESERVED_90 = 0x5a */ + {RS_KIND_RESERVED, 91, 0, 0}, /* RS_OP_RESERVED_91 = 0x5b */ + {RS_KIND_RESERVED, 92, 0, 0}, /* RS_OP_RESERVED_92 = 0x5c */ + {RS_KIND_RESERVED, 93, 0, 0}, /* RS_OP_RESERVED_93 = 0x5d */ + {RS_KIND_RESERVED, 94, 0, 0}, /* RS_OP_RESERVED_94 = 0x5e */ + {RS_KIND_RESERVED, 95, 0, 0}, /* RS_OP_RESERVED_95 = 0x5f */ + {RS_KIND_RESERVED, 96, 0, 0}, /* RS_OP_RESERVED_96 = 0x60 */ + {RS_KIND_RESERVED, 97, 0, 0}, /* RS_OP_RESERVED_97 = 0x61 */ + {RS_KIND_RESERVED, 98, 0, 0}, /* RS_OP_RESERVED_98 = 0x62 */ + {RS_KIND_RESERVED, 99, 0, 0}, /* RS_OP_RESERVED_99 = 0x63 */ + {RS_KIND_RESERVED, 100, 0, 0}, /* RS_OP_RESERVED_100 = 0x64 */ + {RS_KIND_RESERVED, 101, 0, 0}, /* RS_OP_RESERVED_101 = 0x65 */ + {RS_KIND_RESERVED, 102, 0, 0}, /* RS_OP_RESERVED_102 = 0x66 */ + {RS_KIND_RESERVED, 103, 0, 0}, /* RS_OP_RESERVED_103 = 0x67 */ + {RS_KIND_RESERVED, 104, 0, 0}, /* RS_OP_RESERVED_104 = 0x68 */ + {RS_KIND_RESERVED, 105, 0, 0}, /* RS_OP_RESERVED_105 = 0x69 */ + {RS_KIND_RESERVED, 106, 0, 0}, /* RS_OP_RESERVED_106 = 0x6a */ + {RS_KIND_RESERVED, 107, 0, 0}, /* RS_OP_RESERVED_107 = 0x6b */ + {RS_KIND_RESERVED, 108, 0, 0}, /* RS_OP_RESERVED_108 = 0x6c */ + {RS_KIND_RESERVED, 109, 0, 0}, /* RS_OP_RESERVED_109 = 0x6d */ + {RS_KIND_RESERVED, 110, 0, 0}, /* RS_OP_RESERVED_110 = 0x6e */ + {RS_KIND_RESERVED, 111, 0, 0}, /* RS_OP_RESERVED_111 = 0x6f */ + {RS_KIND_RESERVED, 112, 0, 0}, /* RS_OP_RESERVED_112 = 0x70 */ + {RS_KIND_RESERVED, 113, 0, 0}, /* RS_OP_RESERVED_113 = 0x71 */ + {RS_KIND_RESERVED, 114, 0, 0}, /* RS_OP_RESERVED_114 = 0x72 */ + {RS_KIND_RESERVED, 115, 0, 0}, /* RS_OP_RESERVED_115 = 0x73 */ + {RS_KIND_RESERVED, 116, 0, 0}, /* RS_OP_RESERVED_116 = 0x74 */ + {RS_KIND_RESERVED, 117, 0, 0}, /* RS_OP_RESERVED_117 = 0x75 */ + {RS_KIND_RESERVED, 118, 0, 0}, /* RS_OP_RESERVED_118 = 0x76 */ + {RS_KIND_RESERVED, 119, 0, 0}, /* RS_OP_RESERVED_119 = 0x77 */ + {RS_KIND_RESERVED, 120, 0, 0}, /* RS_OP_RESERVED_120 = 0x78 */ + {RS_KIND_RESERVED, 121, 0, 0}, /* RS_OP_RESERVED_121 = 0x79 */ + {RS_KIND_RESERVED, 122, 0, 0}, /* RS_OP_RESERVED_122 = 0x7a */ + {RS_KIND_RESERVED, 123, 0, 0}, /* RS_OP_RESERVED_123 = 0x7b */ + {RS_KIND_RESERVED, 124, 0, 0}, /* RS_OP_RESERVED_124 = 0x7c */ + {RS_KIND_RESERVED, 125, 0, 0}, /* RS_OP_RESERVED_125 = 0x7d */ + {RS_KIND_RESERVED, 126, 0, 0}, /* RS_OP_RESERVED_126 = 0x7e */ + {RS_KIND_RESERVED, 127, 0, 0}, /* RS_OP_RESERVED_127 = 0x7f */ + {RS_KIND_RESERVED, 128, 0, 0}, /* RS_OP_RESERVED_128 = 0x80 */ + {RS_KIND_RESERVED, 129, 0, 0}, /* RS_OP_RESERVED_129 = 0x81 */ + {RS_KIND_RESERVED, 130, 0, 0}, /* RS_OP_RESERVED_130 = 0x82 */ + {RS_KIND_RESERVED, 131, 0, 0}, /* RS_OP_RESERVED_131 = 0x83 */ + {RS_KIND_RESERVED, 132, 0, 0}, /* RS_OP_RESERVED_132 = 0x84 */ + {RS_KIND_RESERVED, 133, 0, 0}, /* RS_OP_RESERVED_133 = 0x85 */ + {RS_KIND_RESERVED, 134, 0, 0}, /* RS_OP_RESERVED_134 = 0x86 */ + {RS_KIND_RESERVED, 135, 0, 0}, /* RS_OP_RESERVED_135 = 0x87 */ + {RS_KIND_RESERVED, 136, 0, 0}, /* RS_OP_RESERVED_136 = 0x88 */ + {RS_KIND_RESERVED, 137, 0, 0}, /* RS_OP_RESERVED_137 = 0x89 */ + {RS_KIND_RESERVED, 138, 0, 0}, /* RS_OP_RESERVED_138 = 0x8a */ + {RS_KIND_RESERVED, 139, 0, 0}, /* RS_OP_RESERVED_139 = 0x8b */ + {RS_KIND_RESERVED, 140, 0, 0}, /* RS_OP_RESERVED_140 = 0x8c */ + {RS_KIND_RESERVED, 141, 0, 0}, /* RS_OP_RESERVED_141 = 0x8d */ + {RS_KIND_RESERVED, 142, 0, 0}, /* RS_OP_RESERVED_142 = 0x8e */ + {RS_KIND_RESERVED, 143, 0, 0}, /* RS_OP_RESERVED_143 = 0x8f */ + {RS_KIND_RESERVED, 144, 0, 0}, /* RS_OP_RESERVED_144 = 0x90 */ + {RS_KIND_RESERVED, 145, 0, 0}, /* RS_OP_RESERVED_145 = 0x91 */ + {RS_KIND_RESERVED, 146, 0, 0}, /* RS_OP_RESERVED_146 = 0x92 */ + {RS_KIND_RESERVED, 147, 0, 0}, /* RS_OP_RESERVED_147 = 0x93 */ + {RS_KIND_RESERVED, 148, 0, 0}, /* RS_OP_RESERVED_148 = 0x94 */ + {RS_KIND_RESERVED, 149, 0, 0}, /* RS_OP_RESERVED_149 = 0x95 */ + {RS_KIND_RESERVED, 150, 0, 0}, /* RS_OP_RESERVED_150 = 0x96 */ + {RS_KIND_RESERVED, 151, 0, 0}, /* RS_OP_RESERVED_151 = 0x97 */ + {RS_KIND_RESERVED, 152, 0, 0}, /* RS_OP_RESERVED_152 = 0x98 */ + {RS_KIND_RESERVED, 153, 0, 0}, /* RS_OP_RESERVED_153 = 0x99 */ + {RS_KIND_RESERVED, 154, 0, 0}, /* RS_OP_RESERVED_154 = 0x9a */ + {RS_KIND_RESERVED, 155, 0, 0}, /* RS_OP_RESERVED_155 = 0x9b */ + {RS_KIND_RESERVED, 156, 0, 0}, /* RS_OP_RESERVED_156 = 0x9c */ + {RS_KIND_RESERVED, 157, 0, 0}, /* RS_OP_RESERVED_157 = 0x9d */ + {RS_KIND_RESERVED, 158, 0, 0}, /* RS_OP_RESERVED_158 = 0x9e */ + {RS_KIND_RESERVED, 159, 0, 0}, /* RS_OP_RESERVED_159 = 0x9f */ + {RS_KIND_RESERVED, 160, 0, 0}, /* RS_OP_RESERVED_160 = 0xa0 */ + {RS_KIND_RESERVED, 161, 0, 0}, /* RS_OP_RESERVED_161 = 0xa1 */ + {RS_KIND_RESERVED, 162, 0, 0}, /* RS_OP_RESERVED_162 = 0xa2 */ + {RS_KIND_RESERVED, 163, 0, 0}, /* RS_OP_RESERVED_163 = 0xa3 */ + {RS_KIND_RESERVED, 164, 0, 0}, /* RS_OP_RESERVED_164 = 0xa4 */ + {RS_KIND_RESERVED, 165, 0, 0}, /* RS_OP_RESERVED_165 = 0xa5 */ + {RS_KIND_RESERVED, 166, 0, 0}, /* RS_OP_RESERVED_166 = 0xa6 */ + {RS_KIND_RESERVED, 167, 0, 0}, /* RS_OP_RESERVED_167 = 0xa7 */ + {RS_KIND_RESERVED, 168, 0, 0}, /* RS_OP_RESERVED_168 = 0xa8 */ + {RS_KIND_RESERVED, 169, 0, 0}, /* RS_OP_RESERVED_169 = 0xa9 */ + {RS_KIND_RESERVED, 170, 0, 0}, /* RS_OP_RESERVED_170 = 0xaa */ + {RS_KIND_RESERVED, 171, 0, 0}, /* RS_OP_RESERVED_171 = 0xab */ + {RS_KIND_RESERVED, 172, 0, 0}, /* RS_OP_RESERVED_172 = 0xac */ + {RS_KIND_RESERVED, 173, 0, 0}, /* RS_OP_RESERVED_173 = 0xad */ + {RS_KIND_RESERVED, 174, 0, 0}, /* RS_OP_RESERVED_174 = 0xae */ + {RS_KIND_RESERVED, 175, 0, 0}, /* RS_OP_RESERVED_175 = 0xaf */ + {RS_KIND_RESERVED, 176, 0, 0}, /* RS_OP_RESERVED_176 = 0xb0 */ + {RS_KIND_RESERVED, 177, 0, 0}, /* RS_OP_RESERVED_177 = 0xb1 */ + {RS_KIND_RESERVED, 178, 0, 0}, /* RS_OP_RESERVED_178 = 0xb2 */ + {RS_KIND_RESERVED, 179, 0, 0}, /* RS_OP_RESERVED_179 = 0xb3 */ + {RS_KIND_RESERVED, 180, 0, 0}, /* RS_OP_RESERVED_180 = 0xb4 */ + {RS_KIND_RESERVED, 181, 0, 0}, /* RS_OP_RESERVED_181 = 0xb5 */ + {RS_KIND_RESERVED, 182, 0, 0}, /* RS_OP_RESERVED_182 = 0xb6 */ + {RS_KIND_RESERVED, 183, 0, 0}, /* RS_OP_RESERVED_183 = 0xb7 */ + {RS_KIND_RESERVED, 184, 0, 0}, /* RS_OP_RESERVED_184 = 0xb8 */ + {RS_KIND_RESERVED, 185, 0, 0}, /* RS_OP_RESERVED_185 = 0xb9 */ + {RS_KIND_RESERVED, 186, 0, 0}, /* RS_OP_RESERVED_186 = 0xba */ + {RS_KIND_RESERVED, 187, 0, 0}, /* RS_OP_RESERVED_187 = 0xbb */ + {RS_KIND_RESERVED, 188, 0, 0}, /* RS_OP_RESERVED_188 = 0xbc */ + {RS_KIND_RESERVED, 189, 0, 0}, /* RS_OP_RESERVED_189 = 0xbd */ + {RS_KIND_RESERVED, 190, 0, 0}, /* RS_OP_RESERVED_190 = 0xbe */ + {RS_KIND_RESERVED, 191, 0, 0}, /* RS_OP_RESERVED_191 = 0xbf */ + {RS_KIND_RESERVED, 192, 0, 0}, /* RS_OP_RESERVED_192 = 0xc0 */ + {RS_KIND_RESERVED, 193, 0, 0}, /* RS_OP_RESERVED_193 = 0xc1 */ + {RS_KIND_RESERVED, 194, 0, 0}, /* RS_OP_RESERVED_194 = 0xc2 */ + {RS_KIND_RESERVED, 195, 0, 0}, /* RS_OP_RESERVED_195 = 0xc3 */ + {RS_KIND_RESERVED, 196, 0, 0}, /* RS_OP_RESERVED_196 = 0xc4 */ + {RS_KIND_RESERVED, 197, 0, 0}, /* RS_OP_RESERVED_197 = 0xc5 */ + {RS_KIND_RESERVED, 198, 0, 0}, /* RS_OP_RESERVED_198 = 0xc6 */ + {RS_KIND_RESERVED, 199, 0, 0}, /* RS_OP_RESERVED_199 = 0xc7 */ + {RS_KIND_RESERVED, 200, 0, 0}, /* RS_OP_RESERVED_200 = 0xc8 */ + {RS_KIND_RESERVED, 201, 0, 0}, /* RS_OP_RESERVED_201 = 0xc9 */ + {RS_KIND_RESERVED, 202, 0, 0}, /* RS_OP_RESERVED_202 = 0xca */ + {RS_KIND_RESERVED, 203, 0, 0}, /* RS_OP_RESERVED_203 = 0xcb */ + {RS_KIND_RESERVED, 204, 0, 0}, /* RS_OP_RESERVED_204 = 0xcc */ + {RS_KIND_RESERVED, 205, 0, 0}, /* RS_OP_RESERVED_205 = 0xcd */ + {RS_KIND_RESERVED, 206, 0, 0}, /* RS_OP_RESERVED_206 = 0xce */ + {RS_KIND_RESERVED, 207, 0, 0}, /* RS_OP_RESERVED_207 = 0xcf */ + {RS_KIND_RESERVED, 208, 0, 0}, /* RS_OP_RESERVED_208 = 0xd0 */ + {RS_KIND_RESERVED, 209, 0, 0}, /* RS_OP_RESERVED_209 = 0xd1 */ + {RS_KIND_RESERVED, 210, 0, 0}, /* RS_OP_RESERVED_210 = 0xd2 */ + {RS_KIND_RESERVED, 211, 0, 0}, /* RS_OP_RESERVED_211 = 0xd3 */ + {RS_KIND_RESERVED, 212, 0, 0}, /* RS_OP_RESERVED_212 = 0xd4 */ + {RS_KIND_RESERVED, 213, 0, 0}, /* RS_OP_RESERVED_213 = 0xd5 */ + {RS_KIND_RESERVED, 214, 0, 0}, /* RS_OP_RESERVED_214 = 0xd6 */ + {RS_KIND_RESERVED, 215, 0, 0}, /* RS_OP_RESERVED_215 = 0xd7 */ + {RS_KIND_RESERVED, 216, 0, 0}, /* RS_OP_RESERVED_216 = 0xd8 */ + {RS_KIND_RESERVED, 217, 0, 0}, /* RS_OP_RESERVED_217 = 0xd9 */ + {RS_KIND_RESERVED, 218, 0, 0}, /* RS_OP_RESERVED_218 = 0xda */ + {RS_KIND_RESERVED, 219, 0, 0}, /* RS_OP_RESERVED_219 = 0xdb */ + {RS_KIND_RESERVED, 220, 0, 0}, /* RS_OP_RESERVED_220 = 0xdc */ + {RS_KIND_RESERVED, 221, 0, 0}, /* RS_OP_RESERVED_221 = 0xdd */ + {RS_KIND_RESERVED, 222, 0, 0}, /* RS_OP_RESERVED_222 = 0xde */ + {RS_KIND_RESERVED, 223, 0, 0}, /* RS_OP_RESERVED_223 = 0xdf */ + {RS_KIND_RESERVED, 224, 0, 0}, /* RS_OP_RESERVED_224 = 0xe0 */ + {RS_KIND_RESERVED, 225, 0, 0}, /* RS_OP_RESERVED_225 = 0xe1 */ + {RS_KIND_RESERVED, 226, 0, 0}, /* RS_OP_RESERVED_226 = 0xe2 */ + {RS_KIND_RESERVED, 227, 0, 0}, /* RS_OP_RESERVED_227 = 0xe3 */ + {RS_KIND_RESERVED, 228, 0, 0}, /* RS_OP_RESERVED_228 = 0xe4 */ + {RS_KIND_RESERVED, 229, 0, 0}, /* RS_OP_RESERVED_229 = 0xe5 */ + {RS_KIND_RESERVED, 230, 0, 0}, /* RS_OP_RESERVED_230 = 0xe6 */ + {RS_KIND_RESERVED, 231, 0, 0}, /* RS_OP_RESERVED_231 = 0xe7 */ + {RS_KIND_RESERVED, 232, 0, 0}, /* RS_OP_RESERVED_232 = 0xe8 */ + {RS_KIND_RESERVED, 233, 0, 0}, /* RS_OP_RESERVED_233 = 0xe9 */ + {RS_KIND_RESERVED, 234, 0, 0}, /* RS_OP_RESERVED_234 = 0xea */ + {RS_KIND_RESERVED, 235, 0, 0}, /* RS_OP_RESERVED_235 = 0xeb */ + {RS_KIND_RESERVED, 236, 0, 0}, /* RS_OP_RESERVED_236 = 0xec */ + {RS_KIND_RESERVED, 237, 0, 0}, /* RS_OP_RESERVED_237 = 0xed */ + {RS_KIND_RESERVED, 238, 0, 0}, /* RS_OP_RESERVED_238 = 0xee */ + {RS_KIND_RESERVED, 239, 0, 0}, /* RS_OP_RESERVED_239 = 0xef */ + {RS_KIND_RESERVED, 240, 0, 0}, /* RS_OP_RESERVED_240 = 0xf0 */ + {RS_KIND_RESERVED, 241, 0, 0}, /* RS_OP_RESERVED_241 = 0xf1 */ + {RS_KIND_RESERVED, 242, 0, 0}, /* RS_OP_RESERVED_242 = 0xf2 */ + {RS_KIND_RESERVED, 243, 0, 0}, /* RS_OP_RESERVED_243 = 0xf3 */ + {RS_KIND_RESERVED, 244, 0, 0}, /* RS_OP_RESERVED_244 = 0xf4 */ + {RS_KIND_RESERVED, 245, 0, 0}, /* RS_OP_RESERVED_245 = 0xf5 */ + {RS_KIND_RESERVED, 246, 0, 0}, /* RS_OP_RESERVED_246 = 0xf6 */ + {RS_KIND_RESERVED, 247, 0, 0}, /* RS_OP_RESERVED_247 = 0xf7 */ + {RS_KIND_RESERVED, 248, 0, 0}, /* RS_OP_RESERVED_248 = 0xf8 */ + {RS_KIND_RESERVED, 249, 0, 0}, /* RS_OP_RESERVED_249 = 0xf9 */ + {RS_KIND_RESERVED, 250, 0, 0}, /* RS_OP_RESERVED_250 = 0xfa */ + {RS_KIND_RESERVED, 251, 0, 0}, /* RS_OP_RESERVED_251 = 0xfb */ + {RS_KIND_RESERVED, 252, 0, 0}, /* RS_OP_RESERVED_252 = 0xfc */ + {RS_KIND_RESERVED, 253, 0, 0}, /* RS_OP_RESERVED_253 = 0xfd */ + {RS_KIND_RESERVED, 254, 0, 0}, /* RS_OP_RESERVED_254 = 0xfe */ + {RS_KIND_RESERVED, 255, 0, 0}, /* RS_OP_RESERVED_255 = 0xff */ +}; diff --git a/src/prototab.h b/src/prototab.h new file mode 100644 index 0000000..41c5128 --- /dev/null +++ b/src/prototab.h @@ -0,0 +1,298 @@ +/*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- + * + * librsync -- library for network deltas + * + * Copyright 2000, 2001, 2014, 2015 by Martin Pool <mbp@sourcefrog.net> + * Copyright (C) 2003 by Donovan Baarda <abo@minkirri.apana.org.au> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + + /*= + | I think if you've ordered + | somebody to do something you + | should probably resist the urge + | to thank them. + | -- http://abc.net.au/thegames/ + */ + +/** \file prototab.h Delta file commands. */ + +typedef struct rs_prototab_ent { + enum rs_op_kind kind; + int immediate; + size_t len_1, len_2; +} rs_prototab_ent_t; + +extern const rs_prototab_ent_t rs_prototab[]; + +enum { + RS_OP_END = 0, + RS_OP_LITERAL_1 = 0x1, + RS_OP_LITERAL_2 = 0x2, + RS_OP_LITERAL_3 = 0x3, + RS_OP_LITERAL_4 = 0x4, + RS_OP_LITERAL_5 = 0x5, + RS_OP_LITERAL_6 = 0x6, + RS_OP_LITERAL_7 = 0x7, + RS_OP_LITERAL_8 = 0x8, + RS_OP_LITERAL_9 = 0x9, + RS_OP_LITERAL_10 = 0xa, + RS_OP_LITERAL_11 = 0xb, + RS_OP_LITERAL_12 = 0xc, + RS_OP_LITERAL_13 = 0xd, + RS_OP_LITERAL_14 = 0xe, + RS_OP_LITERAL_15 = 0xf, + RS_OP_LITERAL_16 = 0x10, + RS_OP_LITERAL_17 = 0x11, + RS_OP_LITERAL_18 = 0x12, + RS_OP_LITERAL_19 = 0x13, + RS_OP_LITERAL_20 = 0x14, + RS_OP_LITERAL_21 = 0x15, + RS_OP_LITERAL_22 = 0x16, + RS_OP_LITERAL_23 = 0x17, + RS_OP_LITERAL_24 = 0x18, + RS_OP_LITERAL_25 = 0x19, + RS_OP_LITERAL_26 = 0x1a, + RS_OP_LITERAL_27 = 0x1b, + RS_OP_LITERAL_28 = 0x1c, + RS_OP_LITERAL_29 = 0x1d, + RS_OP_LITERAL_30 = 0x1e, + RS_OP_LITERAL_31 = 0x1f, + RS_OP_LITERAL_32 = 0x20, + RS_OP_LITERAL_33 = 0x21, + RS_OP_LITERAL_34 = 0x22, + RS_OP_LITERAL_35 = 0x23, + RS_OP_LITERAL_36 = 0x24, + RS_OP_LITERAL_37 = 0x25, + RS_OP_LITERAL_38 = 0x26, + RS_OP_LITERAL_39 = 0x27, + RS_OP_LITERAL_40 = 0x28, + RS_OP_LITERAL_41 = 0x29, + RS_OP_LITERAL_42 = 0x2a, + RS_OP_LITERAL_43 = 0x2b, + RS_OP_LITERAL_44 = 0x2c, + RS_OP_LITERAL_45 = 0x2d, + RS_OP_LITERAL_46 = 0x2e, + RS_OP_LITERAL_47 = 0x2f, + RS_OP_LITERAL_48 = 0x30, + RS_OP_LITERAL_49 = 0x31, + RS_OP_LITERAL_50 = 0x32, + RS_OP_LITERAL_51 = 0x33, + RS_OP_LITERAL_52 = 0x34, + RS_OP_LITERAL_53 = 0x35, + RS_OP_LITERAL_54 = 0x36, + RS_OP_LITERAL_55 = 0x37, + RS_OP_LITERAL_56 = 0x38, + RS_OP_LITERAL_57 = 0x39, + RS_OP_LITERAL_58 = 0x3a, + RS_OP_LITERAL_59 = 0x3b, + RS_OP_LITERAL_60 = 0x3c, + RS_OP_LITERAL_61 = 0x3d, + RS_OP_LITERAL_62 = 0x3e, + RS_OP_LITERAL_63 = 0x3f, + RS_OP_LITERAL_64 = 0x40, + RS_OP_LITERAL_N1 = 0x41, + RS_OP_LITERAL_N2 = 0x42, + RS_OP_LITERAL_N4 = 0x43, + RS_OP_LITERAL_N8 = 0x44, + RS_OP_COPY_N1_N1 = 0x45, + RS_OP_COPY_N1_N2 = 0x46, + RS_OP_COPY_N1_N4 = 0x47, + RS_OP_COPY_N1_N8 = 0x48, + RS_OP_COPY_N2_N1 = 0x49, + RS_OP_COPY_N2_N2 = 0x4a, + RS_OP_COPY_N2_N4 = 0x4b, + RS_OP_COPY_N2_N8 = 0x4c, + RS_OP_COPY_N4_N1 = 0x4d, + RS_OP_COPY_N4_N2 = 0x4e, + RS_OP_COPY_N4_N4 = 0x4f, + RS_OP_COPY_N4_N8 = 0x50, + RS_OP_COPY_N8_N1 = 0x51, + RS_OP_COPY_N8_N2 = 0x52, + RS_OP_COPY_N8_N4 = 0x53, + RS_OP_COPY_N8_N8 = 0x54, + RS_OP_RESERVED_85 = 0x55, + RS_OP_RESERVED_86 = 0x56, + RS_OP_RESERVED_87 = 0x57, + RS_OP_RESERVED_88 = 0x58, + RS_OP_RESERVED_89 = 0x59, + RS_OP_RESERVED_90 = 0x5a, + RS_OP_RESERVED_91 = 0x5b, + RS_OP_RESERVED_92 = 0x5c, + RS_OP_RESERVED_93 = 0x5d, + RS_OP_RESERVED_94 = 0x5e, + RS_OP_RESERVED_95 = 0x5f, + RS_OP_RESERVED_96 = 0x60, + RS_OP_RESERVED_97 = 0x61, + RS_OP_RESERVED_98 = 0x62, + RS_OP_RESERVED_99 = 0x63, + RS_OP_RESERVED_100 = 0x64, + RS_OP_RESERVED_101 = 0x65, + RS_OP_RESERVED_102 = 0x66, + RS_OP_RESERVED_103 = 0x67, + RS_OP_RESERVED_104 = 0x68, + RS_OP_RESERVED_105 = 0x69, + RS_OP_RESERVED_106 = 0x6a, + RS_OP_RESERVED_107 = 0x6b, + RS_OP_RESERVED_108 = 0x6c, + RS_OP_RESERVED_109 = 0x6d, + RS_OP_RESERVED_110 = 0x6e, + RS_OP_RESERVED_111 = 0x6f, + RS_OP_RESERVED_112 = 0x70, + RS_OP_RESERVED_113 = 0x71, + RS_OP_RESERVED_114 = 0x72, + RS_OP_RESERVED_115 = 0x73, + RS_OP_RESERVED_116 = 0x74, + RS_OP_RESERVED_117 = 0x75, + RS_OP_RESERVED_118 = 0x76, + RS_OP_RESERVED_119 = 0x77, + RS_OP_RESERVED_120 = 0x78, + RS_OP_RESERVED_121 = 0x79, + RS_OP_RESERVED_122 = 0x7a, + RS_OP_RESERVED_123 = 0x7b, + RS_OP_RESERVED_124 = 0x7c, + RS_OP_RESERVED_125 = 0x7d, + RS_OP_RESERVED_126 = 0x7e, + RS_OP_RESERVED_127 = 0x7f, + RS_OP_RESERVED_128 = 0x80, + RS_OP_RESERVED_129 = 0x81, + RS_OP_RESERVED_130 = 0x82, + RS_OP_RESERVED_131 = 0x83, + RS_OP_RESERVED_132 = 0x84, + RS_OP_RESERVED_133 = 0x85, + RS_OP_RESERVED_134 = 0x86, + RS_OP_RESERVED_135 = 0x87, + RS_OP_RESERVED_136 = 0x88, + RS_OP_RESERVED_137 = 0x89, + RS_OP_RESERVED_138 = 0x8a, + RS_OP_RESERVED_139 = 0x8b, + RS_OP_RESERVED_140 = 0x8c, + RS_OP_RESERVED_141 = 0x8d, + RS_OP_RESERVED_142 = 0x8e, + RS_OP_RESERVED_143 = 0x8f, + RS_OP_RESERVED_144 = 0x90, + RS_OP_RESERVED_145 = 0x91, + RS_OP_RESERVED_146 = 0x92, + RS_OP_RESERVED_147 = 0x93, + RS_OP_RESERVED_148 = 0x94, + RS_OP_RESERVED_149 = 0x95, + RS_OP_RESERVED_150 = 0x96, + RS_OP_RESERVED_151 = 0x97, + RS_OP_RESERVED_152 = 0x98, + RS_OP_RESERVED_153 = 0x99, + RS_OP_RESERVED_154 = 0x9a, + RS_OP_RESERVED_155 = 0x9b, + RS_OP_RESERVED_156 = 0x9c, + RS_OP_RESERVED_157 = 0x9d, + RS_OP_RESERVED_158 = 0x9e, + RS_OP_RESERVED_159 = 0x9f, + RS_OP_RESERVED_160 = 0xa0, + RS_OP_RESERVED_161 = 0xa1, + RS_OP_RESERVED_162 = 0xa2, + RS_OP_RESERVED_163 = 0xa3, + RS_OP_RESERVED_164 = 0xa4, + RS_OP_RESERVED_165 = 0xa5, + RS_OP_RESERVED_166 = 0xa6, + RS_OP_RESERVED_167 = 0xa7, + RS_OP_RESERVED_168 = 0xa8, + RS_OP_RESERVED_169 = 0xa9, + RS_OP_RESERVED_170 = 0xaa, + RS_OP_RESERVED_171 = 0xab, + RS_OP_RESERVED_172 = 0xac, + RS_OP_RESERVED_173 = 0xad, + RS_OP_RESERVED_174 = 0xae, + RS_OP_RESERVED_175 = 0xaf, + RS_OP_RESERVED_176 = 0xb0, + RS_OP_RESERVED_177 = 0xb1, + RS_OP_RESERVED_178 = 0xb2, + RS_OP_RESERVED_179 = 0xb3, + RS_OP_RESERVED_180 = 0xb4, + RS_OP_RESERVED_181 = 0xb5, + RS_OP_RESERVED_182 = 0xb6, + RS_OP_RESERVED_183 = 0xb7, + RS_OP_RESERVED_184 = 0xb8, + RS_OP_RESERVED_185 = 0xb9, + RS_OP_RESERVED_186 = 0xba, + RS_OP_RESERVED_187 = 0xbb, + RS_OP_RESERVED_188 = 0xbc, + RS_OP_RESERVED_189 = 0xbd, + RS_OP_RESERVED_190 = 0xbe, + RS_OP_RESERVED_191 = 0xbf, + RS_OP_RESERVED_192 = 0xc0, + RS_OP_RESERVED_193 = 0xc1, + RS_OP_RESERVED_194 = 0xc2, + RS_OP_RESERVED_195 = 0xc3, + RS_OP_RESERVED_196 = 0xc4, + RS_OP_RESERVED_197 = 0xc5, + RS_OP_RESERVED_198 = 0xc6, + RS_OP_RESERVED_199 = 0xc7, + RS_OP_RESERVED_200 = 0xc8, + RS_OP_RESERVED_201 = 0xc9, + RS_OP_RESERVED_202 = 0xca, + RS_OP_RESERVED_203 = 0xcb, + RS_OP_RESERVED_204 = 0xcc, + RS_OP_RESERVED_205 = 0xcd, + RS_OP_RESERVED_206 = 0xce, + RS_OP_RESERVED_207 = 0xcf, + RS_OP_RESERVED_208 = 0xd0, + RS_OP_RESERVED_209 = 0xd1, + RS_OP_RESERVED_210 = 0xd2, + RS_OP_RESERVED_211 = 0xd3, + RS_OP_RESERVED_212 = 0xd4, + RS_OP_RESERVED_213 = 0xd5, + RS_OP_RESERVED_214 = 0xd6, + RS_OP_RESERVED_215 = 0xd7, + RS_OP_RESERVED_216 = 0xd8, + RS_OP_RESERVED_217 = 0xd9, + RS_OP_RESERVED_218 = 0xda, + RS_OP_RESERVED_219 = 0xdb, + RS_OP_RESERVED_220 = 0xdc, + RS_OP_RESERVED_221 = 0xdd, + RS_OP_RESERVED_222 = 0xde, + RS_OP_RESERVED_223 = 0xdf, + RS_OP_RESERVED_224 = 0xe0, + RS_OP_RESERVED_225 = 0xe1, + RS_OP_RESERVED_226 = 0xe2, + RS_OP_RESERVED_227 = 0xe3, + RS_OP_RESERVED_228 = 0xe4, + RS_OP_RESERVED_229 = 0xe5, + RS_OP_RESERVED_230 = 0xe6, + RS_OP_RESERVED_231 = 0xe7, + RS_OP_RESERVED_232 = 0xe8, + RS_OP_RESERVED_233 = 0xe9, + RS_OP_RESERVED_234 = 0xea, + RS_OP_RESERVED_235 = 0xeb, + RS_OP_RESERVED_236 = 0xec, + RS_OP_RESERVED_237 = 0xed, + RS_OP_RESERVED_238 = 0xee, + RS_OP_RESERVED_239 = 0xef, + RS_OP_RESERVED_240 = 0xf0, + RS_OP_RESERVED_241 = 0xf1, + RS_OP_RESERVED_242 = 0xf2, + RS_OP_RESERVED_243 = 0xf3, + RS_OP_RESERVED_244 = 0xf4, + RS_OP_RESERVED_245 = 0xf5, + RS_OP_RESERVED_246 = 0xf6, + RS_OP_RESERVED_247 = 0xf7, + RS_OP_RESERVED_248 = 0xf8, + RS_OP_RESERVED_249 = 0xf9, + RS_OP_RESERVED_250 = 0xfa, + RS_OP_RESERVED_251 = 0xfb, + RS_OP_RESERVED_252 = 0xfc, + RS_OP_RESERVED_253 = 0xfd, + RS_OP_RESERVED_254 = 0xfe, + RS_OP_RESERVED_255 = 0xff +}; |