libguac
1.6.0
Toggle main menu visibility
Loading...
Searching...
No Matches
object.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_OBJECT_H
21
#define GUAC_OBJECT_H
22
28
29
#include "
object-types.h
"
30
#include "
user-fntypes.h
"
31
32
struct
guac_object
{
33
37
int
index
;
38
42
void
*
data
;
43
65
guac_user_get_handler
*
get_handler
;
66
88
guac_user_put_handler
*
put_handler
;
89
90
};
91
92
#endif
93
object-types.h
Type definitions related to Guacamole protocol objects.
guac_object
Represents a single object within the Guacamole protocol.
Definition
object.h:32
guac_object::get_handler
guac_user_get_handler * get_handler
Handler for get events sent by the Guacamole web-client.
Definition
object.h:65
guac_object::put_handler
guac_user_put_handler * put_handler
Handler for put events sent by the Guacamole web-client.
Definition
object.h:88
guac_object::index
int index
The index of this object.
Definition
object.h:37
guac_object::data
void * data
Arbitrary data associated with this object.
Definition
object.h:42
user-fntypes.h
Function type definitions related to the guac_user object.
guac_user_get_handler
int guac_user_get_handler(guac_user *user, guac_object *object, char *name)
Handler for Guacamole object get requests.
Definition
user-fntypes.h:472
guac_user_put_handler
int guac_user_put_handler(guac_user *user, guac_object *object, guac_stream *stream, char *mimetype, char *name)
Handler for Guacamole object put requests.
Definition
user-fntypes.h:499
guacamole
object.h
Generated by
1.17.0