/* Copyright 2020 Alyssa Ross * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #ifndef UTIL_VIRTIO_WL_H #define UTIL_VIRTIO_WL_H #include struct virtwl_ioctl_txn; struct msghdr; int virtio_wl_connect(const char *name, uint32_t flags); ssize_t virtio_wl_sendmsg(int sockfd, const struct msghdr *, int flags); int virtio_wl_send_raw(int sockfd, struct virtwl_ioctl_txn *); ssize_t virtio_wl_recvmsg(int sockfd, struct msghdr *, int flags); int virtio_wl_recv_raw(int sockfd, struct virtwl_ioctl_txn *); #endif