From d530d92651fa5b301c403264a138fa47bb4e5e8a Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 26 Feb 2016 17:37:54 -0800 Subject: [PATCH] GUAC-236: Add stub handlers for each required instruction. --- src/guacenc/Makefile.am | 20 ++++++++-- src/guacenc/instruction-blob.c | 29 +++++++++++++++ src/guacenc/instruction-cfill.c | 29 +++++++++++++++ src/guacenc/instruction-copy.c | 29 +++++++++++++++ src/guacenc/instruction-cursor.c | 29 +++++++++++++++ src/guacenc/instruction-dispose.c | 29 +++++++++++++++ src/guacenc/instruction-end.c | 29 +++++++++++++++ src/guacenc/instruction-img.c | 29 +++++++++++++++ src/guacenc/instruction-move.c | 29 +++++++++++++++ src/guacenc/instruction-rect.c | 29 +++++++++++++++ src/guacenc/instruction-shade.c | 29 +++++++++++++++ src/guacenc/instruction-size.c | 29 +++++++++++++++ src/guacenc/instruction-transfer.c | 29 +++++++++++++++ src/guacenc/instructions.c | 24 ++++++------ src/guacenc/instructions.h | 60 ++++++++++++++++++++++++++++++ 15 files changed, 436 insertions(+), 16 deletions(-) create mode 100644 src/guacenc/instruction-blob.c create mode 100644 src/guacenc/instruction-cfill.c create mode 100644 src/guacenc/instruction-copy.c create mode 100644 src/guacenc/instruction-cursor.c create mode 100644 src/guacenc/instruction-dispose.c create mode 100644 src/guacenc/instruction-end.c create mode 100644 src/guacenc/instruction-img.c create mode 100644 src/guacenc/instruction-move.c create mode 100644 src/guacenc/instruction-rect.c create mode 100644 src/guacenc/instruction-shade.c create mode 100644 src/guacenc/instruction-size.c create mode 100644 src/guacenc/instruction-transfer.c diff --git a/src/guacenc/Makefile.am b/src/guacenc/Makefile.am index 8c21b4b6..102d579d 100644 --- a/src/guacenc/Makefile.am +++ b/src/guacenc/Makefile.am @@ -29,10 +29,22 @@ noinst_HEADERS = \ instructions.h \ log.h -guacenc_SOURCES = \ - encode.c \ - guacenc.c \ - instructions.c \ +guacenc_SOURCES = \ + encode.c \ + guacenc.c \ + instructions.c \ + instruction-blob.c \ + instruction-cfill.c \ + instruction-copy.c \ + instruction-cursor.c \ + instruction-dispose.c \ + instruction-end.c \ + instruction-img.c \ + instruction-move.c \ + instruction-rect.c \ + instruction-shade.c \ + instruction-size.c \ + instruction-transfer.c \ log.c guacenc_CFLAGS = \ diff --git a/src/guacenc/instruction-blob.c b/src/guacenc/instruction-blob.c new file mode 100644 index 00000000..a3356414 --- /dev/null +++ b/src/guacenc/instruction-blob.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_blob(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instruction-cfill.c b/src/guacenc/instruction-cfill.c new file mode 100644 index 00000000..419be042 --- /dev/null +++ b/src/guacenc/instruction-cfill.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_cfill(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instruction-copy.c b/src/guacenc/instruction-copy.c new file mode 100644 index 00000000..22589111 --- /dev/null +++ b/src/guacenc/instruction-copy.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_copy(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instruction-cursor.c b/src/guacenc/instruction-cursor.c new file mode 100644 index 00000000..83a2f7f8 --- /dev/null +++ b/src/guacenc/instruction-cursor.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_cursor(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instruction-dispose.c b/src/guacenc/instruction-dispose.c new file mode 100644 index 00000000..f70319e6 --- /dev/null +++ b/src/guacenc/instruction-dispose.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_dispose(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instruction-end.c b/src/guacenc/instruction-end.c new file mode 100644 index 00000000..fe0aa74c --- /dev/null +++ b/src/guacenc/instruction-end.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_end(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instruction-img.c b/src/guacenc/instruction-img.c new file mode 100644 index 00000000..26a3d6d9 --- /dev/null +++ b/src/guacenc/instruction-img.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_img(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instruction-move.c b/src/guacenc/instruction-move.c new file mode 100644 index 00000000..5fab5715 --- /dev/null +++ b/src/guacenc/instruction-move.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_move(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instruction-rect.c b/src/guacenc/instruction-rect.c new file mode 100644 index 00000000..32fc45d6 --- /dev/null +++ b/src/guacenc/instruction-rect.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_rect(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instruction-shade.c b/src/guacenc/instruction-shade.c new file mode 100644 index 00000000..4d5eeb9c --- /dev/null +++ b/src/guacenc/instruction-shade.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_shade(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instruction-size.c b/src/guacenc/instruction-size.c new file mode 100644 index 00000000..a4520f30 --- /dev/null +++ b/src/guacenc/instruction-size.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_size(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instruction-transfer.c b/src/guacenc/instruction-transfer.c new file mode 100644 index 00000000..c2123985 --- /dev/null +++ b/src/guacenc/instruction-transfer.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 Glyptodon, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#include "config.h" + +int guacenc_handle_transfer(int argc, const char** argv) { + /* STUB */ + return 0; +} + diff --git a/src/guacenc/instructions.c b/src/guacenc/instructions.c index f05d09c6..015ed929 100644 --- a/src/guacenc/instructions.c +++ b/src/guacenc/instructions.c @@ -29,18 +29,18 @@ #include guacenc_instruction_handler_mapping guacenc_instruction_handler_map[] = { - {"blob", NULL}, - {"img", NULL}, - {"end", NULL}, - {"cursor", NULL}, - {"copy", NULL}, - {"transfer", NULL}, - {"size", NULL}, - {"rect", NULL}, - {"cfill", NULL}, - {"move", NULL}, - {"shade", NULL}, - {"dispose", NULL}, + {"blob", guacenc_handle_blob}, + {"img", guacenc_handle_img}, + {"end", guacenc_handle_end}, + {"cursor", guacenc_handle_cursor}, + {"copy", guacenc_handle_copy}, + {"transfer", guacenc_handle_transfer}, + {"size", guacenc_handle_size}, + {"rect", guacenc_handle_rect}, + {"cfill", guacenc_handle_cfill}, + {"move", guacenc_handle_move}, + {"shade", guacenc_handle_shade}, + {"dispose", guacenc_handle_dispose}, {NULL, NULL} }; diff --git a/src/guacenc/instructions.h b/src/guacenc/instructions.h index 82b5ad5c..0f7951d6 100644 --- a/src/guacenc/instructions.h +++ b/src/guacenc/instructions.h @@ -94,5 +94,65 @@ extern guacenc_instruction_handler_mapping guacenc_instruction_handler_map[]; int guacenc_handle_instruction(const char* opcode, int argc, const char** argv); +/** + * Handler for the Guacamole "blob" instruction. + */ +guacenc_instruction_handler guacenc_handle_blob; + +/** + * Handler for the Guacamole "img" instruction. + */ +guacenc_instruction_handler guacenc_handle_img; + +/** + * Handler for the Guacamole "end" instruction. + */ +guacenc_instruction_handler guacenc_handle_end; + +/** + * Handler for the Guacamole "cursor" instruction. + */ +guacenc_instruction_handler guacenc_handle_cursor; + +/** + * Handler for the Guacamole "copy" instruction. + */ +guacenc_instruction_handler guacenc_handle_copy; + +/** + * Handler for the Guacamole "transfer" instruction. + */ +guacenc_instruction_handler guacenc_handle_transfer; + +/** + * Handler for the Guacamole "size" instruction. + */ +guacenc_instruction_handler guacenc_handle_size; + +/** + * Handler for the Guacamole "rect" instruction. + */ +guacenc_instruction_handler guacenc_handle_rect; + +/** + * Handler for the Guacamole "cfill" instruction. + */ +guacenc_instruction_handler guacenc_handle_cfill; + +/** + * Handler for the Guacamole "move" instruction. + */ +guacenc_instruction_handler guacenc_handle_move; + +/** + * Handler for the Guacamole "shade" instruction. + */ +guacenc_instruction_handler guacenc_handle_shade; + +/** + * Handler for the Guacamole "dispose" instruction. + */ +guacenc_instruction_handler guacenc_handle_dispose; + #endif