mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-26 20:07:28 +00:00
The statement like #include <compel/plugins/plugin-std.h> looks a bit tautological. I think the single "plugins" word is enough: #include <compel/plugins/std.h> Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org> Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com> Acked-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
18 lines
471 B
C
18 lines
471 B
C
#ifndef __COMPEL_PLUGIN_SHMEM_H__
|
|
#define __COMPEL_PLUGIN_SHMEM_H__
|
|
|
|
/*
|
|
* Creates local shmem mapping and announces it
|
|
* to the peer. Peer can later "receive" one. The
|
|
* local area should be munmap()-ed at the end.
|
|
*/
|
|
extern void *shmem_create(unsigned long size);
|
|
/*
|
|
* "Receives" shmem from peer and maps it. The
|
|
* locally mapped area should be munmap()-ed at
|
|
* the end
|
|
*/
|
|
extern void *shmem_receive(unsigned long *size);
|
|
|
|
#endif /* __COMPEL_PLUGIN_SHMEM_H__ */
|