summaryrefslogtreecommitdiffstats
path: root/rfb/rfbclient.h
Commit message (Collapse)AuthorAgeFilesLines
* Generally adjusting headers for compiling on windows without the mixing of ↵Daniel Cohen Gindi2014-09-201-0/+4
| | | | Winsock 1 and 2.
* Fix ABI compatibility issue.Christian Beier2013-01-251-1/+4
|
* LibVNCClient: Add H.264 encoding for framebuffer updatesDavid Verbeiren2013-01-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements support in LibVNCClient for framebuffer updates encoded as H.264 frames. Hardware accelerated decoding is performed using VA API. This is experimental support to let the community explore the possibilities offered by the potential bandwidth and latency reductions that H.264 encoding allows. This may be particularly useful for use cases such as online gaming, hosted desktops, hosted set top boxes... This patch only provides the client side support and is meant to be used with corresponding server-side support, as provided by an upcoming patch for qemu ui/vnc module (to view the display of a virtual machine executing under QEMU). With this H.264-based encoding, if multiple framebuffer update messages are generated for a single server framebuffer modification, the H.264 frame data is sent only with the first update message. Subsequent update framebuffer messages will contain only the coordinates and size of the additional updated regions. Instructions/Requirements: * The patch should be applied on top of the previous patch I submitted with minor enhancements to the gtkvncviewer application: http://sourceforge.net/mailarchive/message.php?msg_id=30323804 * Currently only works with libva 1.0: use branch "v1.0-branch" for libva and intel-driver. Those can be built as follows: cd libva git checkout v1.0-branch ./autogen.sh make sudo make install cd .. git clone git://anongit.freedesktop.org/vaapi/intel-driver cd intel-driver git checkout v1.0-branch ./autogen.sh make sudo make install Signed-off-by: David Verbeiren <david.verbeiren@intel.com>
* LibVNCClient: Remove all those WITH_CLIENT_TLS #ifdefs and move GnuTLS ↵Christian Beier2012-04-151-6/+1
| | | | specific functionality into tls_gnutls.c.
* IPv6 support for LibVNCServer, part three: make reverse connections ↵Christian Beier2012-03-101-1/+4
| | | | | | | | IPv6-capable. Besided making libvncserver reverseVNC IPv6-aware, this introduces some changes on the client side as well to make clients listen on IPv6 sockets, too. Like the server side, this also uses a separate-socket approach.
* Add an optional parameter to specify the ip address for reverse connectionsLuca Stauble2012-02-031-0/+4
| | | | | | | | | | | | | | | | For security reasons, it can be important to limit which IP addresses a LibVNCClient-based client should listen for reverse connections. This commit adds that option. To preserve binary backwards-compatibility, the field was added to the end of the rfbclient struct, and the function ListenAtTcpPort retains its signature (but calls the new ListenAtTcpPortAndAddress). [jes: shortened the commit subject, added a longer explanation in the commit body and adjusted style] Signed-off-by: Luca Stauble <gnekoz@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Small changes to LibNVCClient doxygen documentation.Christian Beier2011-12-151-22/+23
|
* Merge branch 'master' of https://github.com/watkipet/libvncserverChristian Beier2011-12-151-1/+215
|\
| * Added comments.Peter Watkins2011-10-261-1/+215
| |
* | Hopefully fix the crash when updating from 0.9.7 or earlierJohannes Schindelin2011-10-121-4/+5
|/ | | | | | | | | | | | For backwards-compatibility reasons, we can only add struct members to the end. That way, existing callers still can use newer libraries, as the structs are always allocated by the library (and therefore guaranteed to have the correct size) and still rely on the same position of the parts the callers know about. Reported by Luca Falavigna. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Add doxygen documentation support.Christian Beier2010-11-181-29/+43
| | | | | | | | | | | | | Adds automagically generating libvncserver/libvncclient API documentation using doxygen. This gives a nice overview on both APIs, include dependencies and function call/caller dependencies. TODO: Modify all the explaining comments in the .c files for use with doxygen as well. This patch only changes comments, no functional changes at all! Signed-off-by: Christian Beier <dontmind@freeshell.org>
* libvnc[server|client]: implement xvp VNC extension.Christian Beier2010-11-021-0/+5
| | | | | | | This implements the xvp VNC extension, which is described in the community version of the RFB protocol: http://tigervnc.sourceforge.net/cgi-bin/rfbproto It is also mentioned in the official RFB protocol.
* IP QoS support in libvncclient.Christian Beier2010-09-291-0/+4
| | | | | | | | | | This enables setting the DSCP/Traffic Class field of IP/IPv6 packets sent by a client. For example starting a client with -qosdscp 184 marks all outgoing traffic for expedited forwarding. Implementation for Win32 is still a TODO, though. See http://betelco.blogspot.com/2009/03/dscp-marking-under-windows-at.html for an overview of the Win32 QoS API mess...
* libvncclient: add ipv6 supportVic Lee2010-07-081-0/+1
| | | | | | | | [jes: pulled the "host" declarations into the conditionally compiled blocks where that variable is used. Also fixed non-IPv6 connections.] Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Add UltraVNC Repeater support in libvncclientVic Lee2010-01-161-0/+5
| | | | | | | [jes: adjusted coding style, made sure port is initialized correctly] Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Add support for viewers to select security types on demandVic Lee2010-01-011-0/+5
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* libvncclient: better return value for non-forking listen.Christian Beier2009-11-121-1/+1
| | | | | | | | | | | | The return value now better reflects what has happened: 1 on success (incoming connection on listen socket, we accepted it successfully), -1 on error, 0 on timeout. Also change the select calls to not check _all_ possible file descriptors. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Merge branch 'VeNCrypt'Johannes Schindelin2009-11-021-0/+51
|\
| * Add MSLogon security typeVic Lee2009-11-021-0/+10
| | | | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * Add VeNCrypt support in libvncclientVic Lee2009-10-021-3/+6
| | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com>
| * Add anonymous TLS support in libvncclientVic Lee2009-10-021-0/+38
| | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com>
* | libvncclient: add a non-forking listen function.Christian Beier2009-10-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Forking the whole process from deep within a library call does not really work at all with apps that use multiple threads, i.e. every reasonably modern GUI app. So, provide a non-forking listen function so that the caller can decide if to fork, start a thread, etc. This implementation adds a timeout parameter to be able to call the listen function multiple times so that it's possible to do sth. else in between, e.g. abort listening. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | libvncclient: Add FinishedFrameBufferUpdate callbackAlexander Dorokhine2009-10-301-0/+2
|/ | | | | | When working on a program which searches the display for some image, one does not want to search again without getting an FB update. Add a callback to make this possible.
* Export the functions SupportsClient2Server and SupportsServer2Clientllyzs2009-05-201-0/+3
| | | | | | | These are useful functions for VNC clients, so let's export them for everybody to use. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* libvncclient: Unix sockets support by Ben KlopfensteinBen Klopfenstein2009-05-121-0/+1
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Fix compilation in the absence of libjpegdscho2008-04-281-1/+1
| | | | | | | | The JPEG library is not necessarily installed everywhere, and sometimes it is outright undesirable to compile with JPEG support, e.g. when the server is not very fast. So fix the compilation for that case. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* rfbclient.h: use 'extern "C"' to make it convenient to include from C++dscho2007-04-061-0/+9
|
* LibVNCClient: some users do not want to get whole-screen updates; introduce ↵dscho2007-02-011-0/+4
| | | | client->updateRect for that
* libvncclient: add GotCursorShape() and GotCopyRect(); x11vnc dep on libvncclientrunge2007-01-311-0/+6
|
* make cut text handling using a hookdscho2006-09-111-2/+2
|
* The great UltraVNC Compatibility Commitsteven_carr2006-05-151-0/+21
|
* Client side support for PalmVNC/UltraVNC 'Server Side Scaling'steven_carr2006-05-041-0/+3
|
* Ultra Encoding added. Tested against UltraVNC V1.01steven_carr2006-05-021-2/+6
|
* libvncclient: support changing of framebuffer size; make SDLvncviewer use itdscho2006-04-281-0/+2
|
* add KeyboardLedState extensiondscho2006-03-281-0/+6
|
* plug memory leaksdscho2005-12-071-0/+1
|
* fix deadlock from rfbReleaseExtensionIterator(), fix no libz/libjpeg ↵runge2005-11-251-0/+2
| | | | builds, disable tightvnc-filetransfer if no libpthread, add --without-pthread option, rm // comments, set NAME_MAX if not defined, x11vnc: throttle load if fb update requests not taking place.
* add an extension mechanism for LibVNCClient, modify the client data handlingdscho2005-10-061-1/+30
| | | | | so that more than one data structure can be attached, and add an example to speak the client part of the back channel.
* make zlib and tight handling thread safe (static -> rfbClient)dscho2005-05-231-0/+44
|
* move read buffer to rfbClient structure (thread safety); make rfbClientLogdscho2004-10-161-4/+12
| | | | overrideable
* more comments; support playing vncrec'orded filesdscho2004-06-181-1/+13
|
* add client_examples/, add SDLvncviewer, libvncclient API changes, suppress ↵dscho2004-06-071-18/+12
| | | | automake CFLAGS nagging
* add rfbclient.h to distribution; avoid C++ style commentsdscho2003-07-301-2/+0
|
* API change: Bool, KeySym, Pixel get prefix "rfb"; constants in rfbconfig.h ↵dscho2003-07-301-38/+38
| | | | get prefix "LIBVNCSERVER_"
* further valgrinding showed leaked mallocsdscho2003-07-291-0/+1
|
* fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr ↵dscho2003-07-281-6/+11
| | | | should not be used in a library (use rfbLog instead)
* first alpha version of libvncclientdscho2003-07-271-0/+186