pipewire/pipewire-v4l2/src/pipewire-v4l2.h
Barnabás Pőcze 934ab3036e treewide: use SPDX tags to specify copyright information
SPDX tags make the licensing information easy to understand and clear,
and they are machine parseable.

See https://spdx.dev for more information.
2023-02-16 10:54:48 +00:00

18 lines
510 B
C

/* PipeWire */
/* SPDX-FileCopyrightText: Copyright © 2021 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#include <errno.h>
#include <fcntl.h>
struct fops {
int (*openat)(int dirfd, const char *path, int oflag, mode_t mode);
int (*dup)(int oldfd);
int (*close)(int fd);
int (*ioctl)(int fd, unsigned long request, void *arg);
void *(*mmap)(void *addr, size_t length, int prot,
int flags, int fd, off64_t offset);
int (*munmap)(void *addr, size_t length);
};
const struct fops *get_fops(void);