mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-20 16:51:37 +00:00
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
15 lines
328 B
C
15 lines
328 B
C
/*
|
|
* plugin-fds.h -- API for fds compel plugin
|
|
*/
|
|
|
|
#ifndef __COMPEL_PLUGIN_FDS_H__
|
|
#define __COMPEL_PLUGIN_FDS_H__
|
|
|
|
#include "common/scm.h"
|
|
|
|
static inline int send_fd(int sock, struct sockaddr_un *saddr, int saddr_len, int fd)
|
|
{
|
|
return send_fds(sock, saddr, saddr_len, &fd, 1, false);
|
|
}
|
|
|
|
#endif /* __COMPEL_PLUGIN_FDS_H__ */
|