diff options
author | Alon Levy <alevy@redhat.com> | 2011-07-22 01:20:58 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-07-23 00:55:03 +0300 |
commit | fa1700964a3da4cba85f61f4f563d39d09cd4cd4 (patch) | |
tree | 67e24361f032378c7a45b800e222ed636fb23b2d /src/spiceqxl_spice_server.h | |
parent | e289df207b63064d10455fec6e406171711605d5 (diff) |
xspice: add most options existing in qemu
Add (copy from ui/spice-core.c) most of the options from qemu for
spice server. Notable exception is per channel port selection, so
the only sure way to verify all channels use the secure port (or
the normal one) is to not set the port (or not set the secure port).
About options: All options are settable either from environment
variables called XSPICE_SOMETHING or by a SpiceSomething parameter
in the Device section of the xorg configuration file. The xspice wrapper
added later makes use of those environment variables and gives a
more standard command line parameter interface.
Diffstat (limited to 'src/spiceqxl_spice_server.h')
-rw-r--r-- | src/spiceqxl_spice_server.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/spiceqxl_spice_server.h b/src/spiceqxl_spice_server.h new file mode 100644 index 0000000..da83ea3 --- /dev/null +++ b/src/spiceqxl_spice_server.h @@ -0,0 +1,35 @@ +/* + * Copyright 2011 Red Hat, 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 + * on the rights to use, copy, modify, merge, publish, distribute, sub + * license, 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 (including the next + * paragraph) 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 NON-INFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS 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. + */ + +/** \file spiceqxl_spice_server.h + * \author Alon Levy <alevy@redhat.com> + * + * spice server helpers for spiceqxl. + */ + +#ifndef SPICEQXL_SPICE_SERVER_H +#define SPICEQXL_SPICE_SERVER_H + +SpiceServer *xspice_get_spice_server(void); +void xspice_set_spice_server_options(OptionInfoPtr options); + +#endif // SPICEQXL_SPICE_SERVER_H |