diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-05-19 11:44:40 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-05-19 11:44:40 +0200 |
commit | f67b2e74880ff17592acf739b91097be3cec9903 (patch) | |
tree | 662ef9abdb174ea17e35b7d9eb8edbb8e5159b37 /server/spice-experimental.h | |
parent | 9204a5903ab7a2cc39f1c078ce503d337a815be0 (diff) | |
download | spice-f67b2e74880ff17592acf739b91097be3cec9903.tar.gz spice-f67b2e74880ff17592acf739b91097be3cec9903.tar.xz spice-f67b2e74880ff17592acf739b91097be3cec9903.zip |
complete NetWireInterface redesign, make red_tunnel_worker.c build.
Diffstat (limited to 'server/spice-experimental.h')
-rw-r--r-- | server/spice-experimental.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/spice-experimental.h b/server/spice-experimental.h index 0b732bc8..aede4ce1 100644 --- a/server/spice-experimental.h +++ b/server/spice-experimental.h @@ -31,12 +31,12 @@ typedef struct SpiceNetWireInterface SpiceNetWireInterface; typedef struct SpiceNetWireInstance SpiceNetWireInstance; typedef struct SpiceNetWireState SpiceNetWireState; -struct NetWireInterface { +struct SpiceNetWireInterface { SpiceBaseInterface base; - struct in_addr (*get_ip)(SpiceNetWireInterface *sin); - int (*can_send_packet)(SpiceNetWireInterface *sin); - void (*send_packet)(SpiceNetWireInterface *sin, const uint8_t *pkt, int len); + struct in_addr (*get_ip)(SpiceNetWireInstance *sin); + int (*can_send_packet)(SpiceNetWireInstance *sin); + void (*send_packet)(SpiceNetWireInstance *sin, const uint8_t *pkt, int len); }; struct SpiceNetWireInstance { |