summaryrefslogtreecommitdiff
path: root/server/dcc-encoders.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-09-26 14:01:41 +0200
committerFrediano Ziglio <fziglio@redhat.com>2015-11-24 08:55:59 +0000
commit1549f751b8b9cdaf17b721a8400b6cffce7e36ed (patch)
treec6a878b510cd24253ed19b848cfad4c55ca143ba /server/dcc-encoders.h
parent1b6881c83b8838b9cd0e81ac40a02e67552e8dbe (diff)
worker: move dcc_handle_message
Acked-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Diffstat (limited to 'server/dcc-encoders.h')
-rw-r--r--server/dcc-encoders.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/dcc-encoders.h b/server/dcc-encoders.h
index 05fd29ed..5de66f77 100644
--- a/server/dcc-encoders.h
+++ b/server/dcc-encoders.h
@@ -46,6 +46,7 @@ int dcc_free_some_independent_glz_drawables (DisplayChannelClie
void dcc_free_glz_drawables (DisplayChannelClient *dcc);
void dcc_free_glz_drawables_to_free (DisplayChannelClient* dcc);
void dcc_freeze_glz (DisplayChannelClient *dcc);
+void dcc_release_glz (DisplayChannelClient *dcc);
void marshaller_add_compressed (SpiceMarshaller *m,
RedCompressBuf *comp_buf,
@@ -77,6 +78,12 @@ typedef struct GlzSharedDictionary {
RedClient *client; // channel clients of the same client share the dict
} GlzSharedDictionary;
+GlzSharedDictionary* dcc_get_glz_dictionary (DisplayChannelClient *dcc,
+ uint8_t id, int window_size);
+GlzSharedDictionary* dcc_restore_glz_dictionary (DisplayChannelClient *dcc,
+ uint8_t id,
+ GlzEncDictRestoreData *restore_data);
+
typedef struct {
DisplayChannelClient *dcc;
RedCompressBuf *bufs_head;