mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 17:14:28 +00:00
No need to walk up the directories if we need to include protobuf file. This was always a bad use of ability to walk the filesystem from other headers. Same time we don't need -I$(SRC_DIR)/protobuf/ in general makefile anymore. [xemul: Small fixlet in head Makefile, since patch it out-of-order] Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
17 lines
366 B
C
17 lines
366 B
C
#ifndef __CR_SHMEM_H__
|
|
#define __CR_SHMEM_H__
|
|
|
|
#include "protobuf/vma.pb-c.h"
|
|
|
|
int prepare_shmem_pid(int pid);
|
|
int prepare_shmem_restore(void);
|
|
void show_saved_shmems(void);
|
|
int get_shmem_fd(int pid, VmaEntry *vi);
|
|
|
|
struct shmems;
|
|
extern struct shmems *rst_shmems;
|
|
|
|
int cr_dump_shmem(void);
|
|
int add_shmem_area(pid_t pid, VmaEntry *vma);
|
|
|
|
#endif /* __CR_SHMEM_H__ */
|