summaryrefslogtreecommitdiffstats
path: root/server/reds.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2011-02-27 09:38:04 +0100
committerAlon Levy <alevy@redhat.com>2011-07-21 15:09:25 +0300
commit881971fbcab7c1eaf47a9edcf517aeaa09945dae (patch)
tree8ed6e8ba51b71152a5f331ec6b1e5efb4613a0b1 /server/reds.h
parenta1ef838d34944e335324feb2f4949c14be40d4e8 (diff)
downloadspice-881971fbcab7c1eaf47a9edcf517aeaa09945dae.tar.gz
spice-881971fbcab7c1eaf47a9edcf517aeaa09945dae.tar.xz
spice-881971fbcab7c1eaf47a9edcf517aeaa09945dae.zip
server: s/RedsStreamContext/RedsStream
https://bugs.freedesktop.org/show_bug.cgi?id=34795
Diffstat (limited to 'server/reds.h')
-rw-r--r--server/reds.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/reds.h b/server/reds.h
index 4b23d646..2c977296 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -24,7 +24,7 @@
#define __visible__ __attribute__ ((visibility ("default")))
-typedef struct RedsStreamContext {
+typedef struct RedsStream {
void *ctx;
int socket;
@@ -41,8 +41,8 @@ typedef struct RedsStreamContext {
int (*cb_read)(void *, void *, int);
int (*cb_writev)(void *, const struct iovec *vector, int count);
- int (*cb_free)(struct RedsStreamContext *);
-} RedsStreamContext;
+ int (*cb_free)(struct RedsStream *);
+} RedsStream;
typedef struct Channel {
struct Channel *next;
@@ -52,7 +52,7 @@ typedef struct Channel {
uint32_t *common_caps;
int num_caps;
uint32_t *caps;
- void (*link)(struct Channel *, RedsStreamContext *peer, int migration, int num_common_caps,
+ void (*link)(struct Channel *, RedsStream *peer, int migration, int num_common_caps,
uint32_t *common_caps, int num_caps, uint32_t *caps);
void (*shutdown)(struct Channel *);
void (*migrate)(struct Channel *);