Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
66b0603b
Commit
66b0603b
authored
Dec 15, 2011
by
Christian Beier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes to LibNVCClient doxygen documentation.
parent
abf6fad8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
22 deletions
+23
-22
rfbclient.h
rfb/rfbclient.h
+23
-22
No files found.
rfb/rfbclient.h
View file @
66b0603b
...
@@ -146,7 +146,8 @@ struct _rfbClient;
...
@@ -146,7 +146,8 @@ struct _rfbClient;
* client->HandleTextChat to a pointer to that function subsequent to your
* client->HandleTextChat to a pointer to that function subsequent to your
* rfbGetClient() call.
* rfbGetClient() call.
* @param client The client which called the text chat handler
* @param client The client which called the text chat handler
* @param value ????
* @param value text length if text != NULL, or one of rfbTextChatOpen,
* rfbTextChatClose, rfbTextChatFinished if text == NULL
* @param text The text message from the server
* @param text The text message from the server
*/
*/
typedef
void
(
*
HandleTextChatProc
)(
struct
_rfbClient
*
client
,
int
value
,
char
*
text
);
typedef
void
(
*
HandleTextChatProc
)(
struct
_rfbClient
*
client
,
int
value
,
char
*
text
);
...
@@ -369,14 +370,13 @@ extern rfbBool InitialiseRFBConnection(rfbClient* client);
...
@@ -369,14 +370,13 @@ extern rfbBool InitialiseRFBConnection(rfbClient* client);
* modify the 'client' data structure directly. However some changes to this
* modify the 'client' data structure directly. However some changes to this
* structure must be communicated back to the server. For instance, if you
* structure must be communicated back to the server. For instance, if you
* change the encoding to hextile, the server needs to know that it should send
* change the encoding to hextile, the server needs to know that it should send
* framebuffer updates in hextile format. Likewise if you change the dimensions
* framebuffer updates in hextile format. Likewise if you change the pixel
* of the framebuffer, the server must be notified about this as well. Call this
* format of the framebuffer, the server must be notified about this as well.
* function to propagate your changes to the local 'client' structure over to
* Call this function to propagate your changes of the local 'client' structure
* the server. These changes to the local 'client' structure must be followed
* over to the server.
* by a call to SetFormatAndEncodings():
* @li Encoding type
* @li Encoding type
* @li
Framebuffer dimension
s
* @li
RFB protocol extensions announced via pseudo-encoding
s
* @li
Pixel format
* @li
Framebuffer pixel format (like RGB vs ARGB)
* @li Remote cursor support
* @li Remote cursor support
* @param client The client in which the format or encodings have been changed
* @param client The client in which the format or encodings have been changed
* @return true if the format or encodings were sent to the server successfully,
* @return true if the format or encodings were sent to the server successfully,
...
@@ -400,7 +400,8 @@ extern rfbBool SendIncrementalFramebufferUpdateRequest(rfbClient* client);
...
@@ -400,7 +400,8 @@ extern rfbBool SendIncrementalFramebufferUpdateRequest(rfbClient* client);
* @param y The vertical position of the update request rectangle
* @param y The vertical position of the update request rectangle
* @param w The width of the update request rectangle
* @param w The width of the update request rectangle
* @param h The height of the update request rectangle
* @param h The height of the update request rectangle
* @param incremental ???
* @param incremental false: server sends rectangle even if nothing changed.
* true: server only sends changed parts of rectangle.
* @return true if the update request was sent successfully, false otherwise
* @return true if the update request was sent successfully, false otherwise
*/
*/
extern
rfbBool
SendFramebufferUpdateRequest
(
rfbClient
*
client
,
extern
rfbBool
SendFramebufferUpdateRequest
(
rfbClient
*
client
,
...
@@ -433,7 +434,7 @@ extern rfbBool SendPointerEvent(rfbClient* client,int x, int y, int buttonMask);
...
@@ -433,7 +434,7 @@ extern rfbBool SendPointerEvent(rfbClient* client,int x, int y, int buttonMask);
* viewer (i.e. it controls the server), you'll want to send the keys that the
* viewer (i.e. it controls the server), you'll want to send the keys that the
* user presses to the server. Use this function to do that.
* user presses to the server. Use this function to do that.
* @param client The client through which to send the key event
* @param client The client through which to send the key event
* @param key A
key which was pressed in UTF-8
* @param key A
n rfbKeySym defined in rfb/keysym.h
* @param down true if this was a key down event, false otherwise
* @param down true if this was a key down event, false otherwise
* @return true if the key event was send successfully, false otherwise
* @return true if the key event was send successfully, false otherwise
*/
*/
...
@@ -453,7 +454,7 @@ extern rfbBool SendKeyEvent(rfbClient* client,uint32_t key, rfbBool down);
...
@@ -453,7 +454,7 @@ extern rfbBool SendKeyEvent(rfbClient* client,uint32_t key, rfbBool down);
extern
rfbBool
SendClientCutText
(
rfbClient
*
client
,
char
*
str
,
int
len
);
extern
rfbBool
SendClientCutText
(
rfbClient
*
client
,
char
*
str
,
int
len
);
/**
/**
* Handles messages from the RFB server. You must call this function
* Handles messages from the RFB server. You must call this function
* intermittently so
libvncc
lient can parse messages from the server. For
* intermittently so
LibVNCC
lient can parse messages from the server. For
* example, if your app has a draw loop, you could place a call to this
* example, if your app has a draw loop, you could place a call to this
* function within that draw loop.
* function within that draw loop.
* @note You must call WaitForMessage() before you call this function.
* @note You must call WaitForMessage() before you call this function.
...
@@ -494,7 +495,7 @@ extern rfbBool SupportsServer2Client(rfbClient* client, int messageType);
...
@@ -494,7 +495,7 @@ extern rfbBool SupportsServer2Client(rfbClient* client, int messageType);
/* client data */
/* client data */
/**
/**
* Associates a client data tag with the given pointer.
libvncc
lient has
* Associates a client data tag with the given pointer.
LibVNCC
lient has
* several events to which you can associate your own handlers. These handlers
* several events to which you can associate your own handlers. These handlers
* have the client structure as one of their parameters. Sometimes, you may want
* have the client structure as one of their parameters. Sometimes, you may want
* to make data from elsewhere in your application available to these handlers
* to make data from elsewhere in your application available to these handlers
...
@@ -564,7 +565,7 @@ extern int WaitForMessage(rfbClient* client,unsigned int usecs);
...
@@ -564,7 +565,7 @@ extern int WaitForMessage(rfbClient* client,unsigned int usecs);
/* vncviewer.c */
/* vncviewer.c */
/**
/**
* Allocates and returns a pointer to an rfbClient structure. This will probably
* Allocates and returns a pointer to an rfbClient structure. This will probably
* be the first
libvncclient function your client code calls. Most libvncc
lient
* be the first
LibVNCClient function your client code calls. Most libVNCC
lient
* functions operate on an rfbClient structure, and this function allocates
* functions operate on an rfbClient structure, and this function allocates
* memory for that structure. When you're done with the rfbClient structure
* memory for that structure. When you're done with the rfbClient structure
* pointer this function returns, you should free the memory rfbGetClient()
* pointer this function returns, you should free the memory rfbGetClient()
...
@@ -593,22 +594,22 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,int bytesPerPixel)
...
@@ -593,22 +594,22 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,int bytesPerPixel)
* name is set already. The options are as follows:
* name is set already. The options are as follows:
* <table>
* <table>
* <tr><th>Option</th><th>Description</th></tr>
* <tr><th>Option</th><th>Description</th></tr>
* <tr><td>-listen</td><td>Listen for incoming connections</td></tr>
* <tr><td>-listen</td><td>Listen for incoming connections
.
</td></tr>
* <tr><td>-listennofork</td><td>Listen for incoming connections without forking
* <tr><td>-listennofork</td><td>Listen for incoming connections without forking
.
* </td></tr>
* </td></tr>
* <tr><td>-play</td><td>
Unknown???
</td></tr>
* <tr><td>-play</td><td>
Set this client to replay a previously recorded session.
</td></tr>
* <tr><td>-encodings</td><td>Set the encodings to use. The next item in the
* <tr><td>-encodings</td><td>Set the encodings to use. The next item in the
* argv array is the encodings
. Possible values are:
</td></tr>
* argv array is the encodings
string, consisting of comma separated encodings like 'tight,ultra,raw'.
</td></tr>
* <tr><td>-compress</td><td>Set the compression level. The next item in the
* <tr><td>-compress</td><td>Set the compression level. The next item in the
* argv array is the compression level as an integer.
Possible values are:
* argv array is the compression level as an integer.
Ranges from 0 (lowest) to 9 (highest).
* </td></tr>
* </td></tr>
* <tr><td>-scale</td><td>Set the scaling level. The next item in the
* <tr><td>-scale</td><td>Set the scaling level. The next item in the
* argv array is the scaling level as an integer.
Example:
</td></tr>
* argv array is the scaling level as an integer.
The screen will be scaled down by this factor.
</td></tr>
* <tr><td>-qosdscp</td><td>Set the Quality of Service Differentiated Services
* <tr><td>-qosdscp</td><td>Set the Quality of Service Differentiated Services
* Code Point (QoS DSCP). The next item in the argv array is the code point as
* Code Point (QoS DSCP). The next item in the argv array is the code point as
* an integer.
Example:
</td></tr>
* an integer.</td></tr>
* <tr><td>-repeaterdest</td><td>Set
the ???
. The next item in the argv array is
* <tr><td>-repeaterdest</td><td>Set
a VNC repeater address
. The next item in the argv array is
* the
???? as a string. Example:
</td></tr>
* the
repeater's address as a string.
</td></tr>
* </table>
* </table>
*
*
* The host may include a port number (delimited by a ':').
* The host may include a port number (delimited by a ':').
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment