libguac  1.0.0
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 
29 #include "object-types.h"
30 #include "user-fntypes.h"
31 
32 struct guac_object {
33 
37  int index;
38 
42  void* data;
43 
66 
89 
90 };
91 
92 #endif
93 
int guac_user_get_handler(guac_user *user, guac_object *object, char *name)
Handler for Guacamole object get requests.
Definition: user-fntypes.h:397
Type definitions related to Guacamole protocol objects.
guac_user_put_handler * put_handler
Handler for put events sent by the Guacamole web-client.
Definition: object.h:88
void * data
Arbitrary data associated with this object.
Definition: object.h:42
Represents a single object within the Guacamole protocol.
Definition: object.h:32
Function type definitions related to the guac_user object.
int index
The index of this object.
Definition: object.h:37
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:424
guac_user_get_handler * get_handler
Handler for get events sent by the Guacamole web-client.
Definition: object.h:65