libguac
1.6.0
Toggle main menu visibility
Loading...
Searching...
No Matches
stream.h
Go to the documentation of this file.
1
/*
2
* Licensed to the Apache Software Foundation (ASF) under one
3
* or more contributor license agreements. See the NOTICE file
4
* distributed with this work for additional information
5
* regarding copyright ownership. The ASF licenses this file
6
* to you under the Apache License, Version 2.0 (the
7
* "License"); you may not use this file except in compliance
8
* with the License. You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing,
13
* software distributed under the License is distributed on an
14
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
* KIND, either express or implied. See the License for the
16
* specific language governing permissions and limitations
17
* under the License.
18
*/
19
20
#ifndef _GUAC_STREAM_H
21
#define _GUAC_STREAM_H
22
28
29
#include "
user-fntypes.h
"
30
#include "
stream-types.h
"
31
32
struct
guac_stream
{
33
37
int
index
;
38
42
void
*
data
;
43
67
guac_user_ack_handler
*
ack_handler
;
68
87
guac_user_blob_handler
*
blob_handler
;
88
106
guac_user_end_handler
*
end_handler
;
107
108
};
109
110
#endif
111
stream-types.h
Type definitions related to Guacamole protocol streams.
guac_stream
Represents a single stream within the Guacamole protocol.
Definition
stream.h:32
guac_stream::index
int index
The index of this stream.
Definition
stream.h:37
guac_stream::blob_handler
guac_user_blob_handler * blob_handler
Handler for blob events sent by the Guacamole web-client.
Definition
stream.h:87
guac_stream::end_handler
guac_user_end_handler * end_handler
Handler for stream end events sent by the Guacamole web-client.
Definition
stream.h:106
guac_stream::ack_handler
guac_user_ack_handler * ack_handler
Handler for ack events sent by the Guacamole web-client.
Definition
stream.h:67
guac_stream::data
void * data
Arbitrary data associated with this stream.
Definition
stream.h:42
user-fntypes.h
Function type definitions related to the guac_user object.
guac_user_ack_handler
int guac_user_ack_handler(guac_user *user, guac_stream *stream, char *error, guac_protocol_status status)
Handler for Guacamole stream "ack" instructions.
Definition
user-fntypes.h:364
guac_user_blob_handler
int guac_user_blob_handler(guac_user *user, guac_stream *stream, void *data, int length)
Handler for Guacamole stream blobs.
Definition
user-fntypes.h:335
guac_user_end_handler
int guac_user_end_handler(guac_user *user, guac_stream *stream)
Handler for Guacamole stream "end" instructions.
Definition
user-fntypes.h:381
guacamole
stream.h
Generated by
1.17.0