Needed for partner builds.
}
struct vconn_class netlink_vconn_class = {
- .name = "nl",
- .open = netlink_open,
- .close = netlink_close,
- .recv = netlink_recv,
- .send = netlink_send,
- .wait = netlink_wait,
+ "nl", /* name */
+ netlink_open, /* open */
+ netlink_close, /* close */
+ NULL, /* connect */
+ NULL, /* accept */
+ netlink_recv, /* recv */
+ netlink_send, /* send */
+ netlink_wait, /* wait */
};
}
struct vconn_class ssl_vconn_class = {
- .name = "ssl",
- .open = ssl_open,
- .close = ssl_close,
- .connect = ssl_connect,
- .recv = ssl_recv,
- .send = ssl_send,
- .wait = ssl_wait,
+ "ssl", /* name */
+ ssl_open, /* open */
+ ssl_close, /* close */
+ ssl_connect, /* connect */
+ NULL, /* accept */
+ ssl_recv, /* recv */
+ ssl_send, /* send */
+ ssl_wait, /* wait */
};
\f
/* Passive SSL. */
}
struct vconn_class pssl_vconn_class = {
- .name = "pssl",
- .open = pssl_open,
- .close = pssl_close,
- .accept = pssl_accept,
- .wait = pssl_wait,
+ "pssl", /* name */
+ pssl_open, /* open */
+ pssl_close, /* close */
+ NULL, /* connect */
+ pssl_accept, /* accept */
+ NULL, /* recv */
+ NULL, /* send */
+ pssl_wait, /* wait */
};
\f
/*
}
static struct vconn_class stream_vconn_class = {
- .name = "stream",
- .close = stream_close,
- .connect = stream_connect,
- .recv = stream_recv,
- .send = stream_send,
- .wait = stream_wait,
+ "stream", /* name */
+ NULL, /* open */
+ stream_close, /* close */
+ stream_connect, /* connect */
+ NULL, /* accept */
+ stream_recv, /* recv */
+ stream_send, /* send */
+ stream_wait, /* wait */
};
\f
/* Passive stream socket vconn. */
}
static struct vconn_class pstream_vconn_class = {
- .name = "pstream",
- .close = pstream_close,
- .accept = pstream_accept,
- .wait = pstream_wait
+ "pstream", /* name */
+ NULL, /* open */
+ pstream_close, /* close */
+ NULL, /* connect */
+ pstream_accept, /* accept */
+ NULL, /* recv */
+ NULL, /* send */
+ pstream_wait /* wait */
};
}
struct vconn_class tcp_vconn_class = {
- .name = "tcp",
- .open = tcp_open,
+ "tcp", /* name */
+ tcp_open, /* open */
+ NULL, /* close */
+ NULL, /* connect */
+ NULL, /* accept */
+ NULL, /* recv */
+ NULL, /* send */
+ NULL, /* wait */
};
\f
/* Passive TCP. */
}
struct vconn_class ptcp_vconn_class = {
- .name = "ptcp",
- .open = ptcp_open,
+ "ptcp", /* name */
+ ptcp_open, /* open */
+ NULL, /* close */
+ NULL, /* connect */
+ NULL, /* accept */
+ NULL, /* recv */
+ NULL, /* send */
+ NULL, /* wait */
};
}
struct vconn_class unix_vconn_class = {
- .name = "unix",
- .open = unix_open,
+ "unix", /* name */
+ unix_open, /* open */
+ NULL, /* close */
+ NULL, /* connect */
+ NULL, /* accept */
+ NULL, /* recv */
+ NULL, /* send */
+ NULL, /* wait */
};
\f
/* Passive UNIX socket. */
}
struct vconn_class punix_vconn_class = {
- .name = "punix",
- .open = punix_open,
+ "punix", /* name */
+ punix_open, /* open */
+ NULL, /* close */
+ NULL, /* connect */
+ NULL, /* accept */
+ NULL, /* recv */
+ NULL, /* send */
+ NULL, /* wait */
};