Commit 29b22111 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

criu: clean up headers

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 0296dd49
......@@ -19,6 +19,7 @@
#include "namespaces.h"
#include "seize.h"
#include "syscall-types.h"
#include "parasite.h"
#include "protobuf.h"
#include "images/core.pb-c.h"
#include "images/cgroup.pb-c.h"
......
......@@ -3,11 +3,10 @@
#include "asm/int.h"
#include "parasite.h"
#include "images/core.pb-c.h"
struct pstree_item;
struct parasite_dump_cgroup_args;
extern u32 root_cg_set;
int dump_task_cgroup(struct pstree_item *, u32 *, struct parasite_dump_cgroup_args *args);
int dump_cgroups(void);
......
......@@ -5,8 +5,6 @@
#include "asm/types.h"
#include "image.h"
#include "list.h"
#include "cgroup.h"
#include "mount.h"
#include "images/eventfd.pb-c.h"
#include "images/eventpoll.pb-c.h"
......@@ -106,6 +104,7 @@ struct proc_status_creds {
bool proc_status_creds_dumpable(struct proc_status_creds *parent,
struct proc_status_creds *child);
struct mount_info;
typedef int (*mount_fn_t)(struct mount_info *mi, const char *src, const
char *fstype, unsigned long mountflags);
......@@ -123,6 +122,7 @@ struct vm_area_list;
#define INVALID_UID ((uid_t)-1)
extern bool add_skip_mount(const char *mountpoint);
struct ns_id;
extern struct mount_info *parse_mountinfo(pid_t pid, struct ns_id *nsid, bool for_dump);
extern int parse_pid_stat(pid_t pid, struct proc_pid_stat *s);
extern unsigned int parse_pid_loginuid(pid_t pid, int *err, bool ignore_noent);
......@@ -201,7 +201,8 @@ struct cg_ctl {
/*
* Returns the list of cg_ctl-s sorted by name
*/
struct list_head;
struct parasite_dump_cgroup_args;
extern int parse_task_cgroup(int pid, struct parasite_dump_cgroup_args *args, struct list_head *l, unsigned int *n);
extern void put_ctls(struct list_head *);
......
......@@ -4,7 +4,6 @@
#include "list.h"
#include "pid.h"
#include "image.h"
#include "rst_info.h"
#include "images/core.pb-c.h"
/*
......@@ -30,6 +29,7 @@ struct pstree_item {
TaskKobjIdsEntry *ids;
};
struct rst_info;
/* See alloc_pstree_item() for details */
static inline struct rst_info *rsti(struct pstree_item *i)
{
......
......@@ -24,7 +24,6 @@
#include "config.h"
#include "pstree.h"
#include "posix-timer.h"
#include "net.h"
#include "mem.h"
#include "vma.h"
#include "proc_parse.h"
......
......@@ -25,12 +25,14 @@
#include "vma.h"
#include "bfd.h"
#include "proc_parse.h"
#include "parasite.h"
#include "cr_options.h"
#include "sysfs_parse.h"
#include "seccomp.h"
#include "string.h"
#include "namespaces.h"
#include "files-reg.h"
#include "cgroup.h"
#include "protobuf.h"
#include "images/fdinfo.pb-c.h"
......
......@@ -16,6 +16,7 @@
#include "util.h"
#include "sysfs_parse.h"
#include "namespaces.h"
#include "mount.h"
/*
* Currently, there are two kernel problems dealing with AUFS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment