Version 1.8.0.0
[socat.git] / xio-vsock.h
blobb5c36aeb795fd1b7509c97835f65cd4157a722c4
1 /* source: xio-vsock.h */
2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
3 /* Author: Stefano Garzarella <sgarzare@redhat.com */
4 /* Published under the GNU General Public License V.2, see file COPYING */
6 #ifndef __xio_vsock_h_included
7 #define __xio_vsock_h_included 1
9 #if WITH_VSOCK
11 extern const struct addrdesc xioaddr_vsock_connect;
12 extern const struct addrdesc xioaddr_vsock_listen;
14 extern int xiosetsockaddrenv_vsock(int idx, char *namebuff, size_t namelen,
15 char *valuebuff, size_t valuelen,
16 struct sockaddr_vm *sa, int ipproto);
18 #endif /* WITH_VSOCK */
20 #endif /* !defined(__xio_vsock_h_included) */