summaryrefslogtreecommitdiffstats
path: root/examples/example.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some typos (it's / its)Stefan Weil2016-11-181-1/+1
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* After free()ing clientData, set it to NULLJohannes Schindelin2014-03-301-0/+1
| | | | | | We will change rfbClientCleanup() to free the data. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Rename 'classes' dir to 'webclients'.Christian Beier2011-11-091-1/+1
|
* Check rfbGetScreen() return value everywhere.Christian Beier2011-03-171-2/+3
| | | | | This fixes a segfault when a server is invoked with the '-help' commandline argument.
* Add doxygen documentation support.Christian Beier2010-11-181-2/+2
| | | | | | | | | | | | | 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>
* Fix various compilation warningsVic Lee2009-11-101-1/+1
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Fix blooptest exampledscho2006-03-011-0/+1
|
* fix off by one bugdscho2005-05-241-2/+4
|
* ANSIfy, fix some warnings from Linus' sparsedscho2005-05-151-12/+16
|
* fix memory leaks detected using valgrinddscho2005-05-141-0/+1
|
* socketInitDone -> socketStatedscho2005-05-071-2/+7
|
* pointerClient was still static.dscho2005-01-181-7/+0
| | | | | | | | | | | | | | | | | | | | | | do not make requestedRegion empty without reason. the cursor handling for clients which don't handle CursorShape updates was completely broken. It originally was very complicated for performance reasons, however, in most cases it made performance even worse, because at idle times there was way too much checking going on, and furthermore, sometimes unnecessary updates were inevitable. The code now is much more elegant: the ClientRec structure knows exactly where it last painted the cursor, and the ScreenInfo structure knows where the cursor shall be. As a consequence there is no more rfbDrawCursor()/rfbUndrawCursor(), no more dontSendFramebufferUpdate, and no more isCursorDrawn. It is now possible to have clients which understand CursorShape updates and clients which don't at the same time. rfbSetCursor no longer has the option freeOld; this is obsolete, as the cursor structure knows what to free and what not.
* reverted segfault fix; use rfbDrawCharWithClipdscho2005-01-141-1/+1
|
* global structures/functions should have "rfb", "sra" or "zrle" as prefix,dscho2004-08-301-2/+2
| | | | while structure members should not
* now that the examples reside in a subdirectory, the classes path has to be ↵dscho2004-06-181-1/+1
| | | | adapted
* make examples g++ compileable, thanks to Juan Jose Costellodscho2004-02-041-1/+1
|
* API change: Bool, KeySym, Pixel get prefix "rfb"; constants in rfbconfig.h ↵dscho2003-07-301-3/+3
| | | | get prefix "LIBVNCSERVER_"
* the correct way to include rfb.h is now "#include <rfb/rfb.h>"dscho2003-02-201-2/+2
|
* autoconf'ed everythingdscho2003-02-081-5/+5
|
* moved files to contrib/ and examples/dscho2003-02-071-0/+330