summaryrefslogtreecommitdiff
path: root/server/char-device.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/char-device.h')
-rw-r--r--server/char-device.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/server/char-device.h b/server/char-device.h
index 88961cc9..020aa1a2 100644
--- a/server/char-device.h
+++ b/server/char-device.h
@@ -62,7 +62,7 @@ void red_char_device_set_callbacks(RedCharDevice *dev,
*
* How to use the api:
* ==================
- * device attached: call red_char_device_create
+ * device attached: create new object instantiating a RedCharDevice child class
* device detached: call red_char_device_destroy/reset
*
* client connected and associated with a device: red_char_device__add
@@ -167,13 +167,6 @@ struct RedCharDeviceCallbacks {
void (*remove_client)(RedClient *client, void *opaque);
};
-RedCharDevice *red_char_device_create(SpiceCharDeviceInstance *sin,
- RedsState *reds,
- uint32_t client_tokens_interval,
- uint32_t self_tokens,
- RedCharDeviceCallbacks *cbs,
- void *opaque);
-
void red_char_device_reset_dev_instance(RedCharDevice *dev,
SpiceCharDeviceInstance *sin);
void red_char_device_destroy(RedCharDevice *dev);