diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2011-02-27 09:38:04 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2011-02-27 16:55:22 +0100 |
commit | d47912241f4bc263cf3c19c07ed3907681826277 (patch) | |
tree | 5729d1503fc6f11a11998340fa25b1fcbc3eb995 /server/reds.h | |
parent | 29be54f6d3549c44b2b771ca3c21952d2d1b7026 (diff) | |
download | spice-d47912241f4bc263cf3c19c07ed3907681826277.tar.gz spice-d47912241f4bc263cf3c19c07ed3907681826277.tar.xz spice-d47912241f4bc263cf3c19c07ed3907681826277.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.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/reds.h b/server/reds.h index 547c33cb..b974edad 100644 --- a/server/reds.h +++ b/server/reds.h @@ -28,7 +28,7 @@ #define __visible__ __attribute__ ((visibility ("default"))) -typedef struct RedsStreamContext { +typedef struct RedsStream { void *ctx; int socket; @@ -45,8 +45,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; @@ -56,7 +56,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 *); |