libguac  0.9.13-incubating
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 
29 #include "user-fntypes.h"
30 #include "stream-types.h"
31 
32 struct guac_stream {
33 
37  int index;
38 
42  void* data;
43 
68 
88 
107 
108 };
109 
110 #endif
111 
void * data
Arbitrary data associated with this stream.
Definition: stream.h:42
Type definitions related to Guacamole protocol streams.
int guac_user_end_handler(guac_user *user, guac_stream *stream)
Handler for Guacamole stream "end" instructions.
Definition: user-fntypes.h:306
Function type definitions related to the guac_user object.
guac_user_blob_handler * blob_handler
Handler for blob events sent by the Guacamole web-client.
Definition: stream.h:87
int guac_user_blob_handler(guac_user *user, guac_stream *stream, void *data, int length)
Handler for Guacamole stream blobs.
Definition: user-fntypes.h:260
guac_user_ack_handler * ack_handler
Handler for ack events sent by the Guacamole web-client.
Definition: stream.h:67
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:289
Represents a single stream within the Guacamole protocol.
Definition: stream.h:32
guac_user_end_handler * end_handler
Handler for stream end events sent by the Guacamole web-client.
Definition: stream.h:106
int index
The index of this stream.
Definition: stream.h:37