summaryrefslogtreecommitdiffstats
path: root/src/shared/data-fd-util.h
blob: 827e149662d6a49671585cef43414cc9783f82ca (plain)
1
2
3
4
5
6
7
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include <stddef.h>

int acquire_data_fd(const void *data, size_t size, unsigned flags);
int copy_data_fd(int fd);