mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
protobuf: Convert vma_entry to PB format v3
v2: - Use regular uint types in message proto - Use PB engine for "show" v3: - drop usage of temp. variable in prepare_shmem_pid Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
ffd40996ea
commit
4806e1395f
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "../protobuf/fdinfo.pb-c.h"
|
||||
#include "../protobuf/fown.pb-c.h"
|
||||
#include "../protobuf/vma.pb-c.h"
|
||||
|
||||
struct pstree_item;
|
||||
struct file_desc;
|
||||
@@ -87,7 +88,7 @@ extern void show_saved_files(void);
|
||||
extern int prepare_fds(struct pstree_item *me);
|
||||
extern int prepare_fd_pid(int pid, struct rst_info *rst_info);
|
||||
extern int prepare_shared_fdinfo(void);
|
||||
extern int get_filemap_fd(int pid, struct vma_entry *vma_entry);
|
||||
extern int get_filemap_fd(int pid, VmaEntry *vma_entry);
|
||||
extern int prepare_fs(int pid);
|
||||
extern int set_fd_flags(int fd, int flags);
|
||||
|
||||
|
Reference in New Issue
Block a user