mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-03 07:12:48 +00:00
headers: Add \Newline-s for readability sake
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
3f03d139d3
commit
3456e56134
9 changed files with 14 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef __CR_SHOW_H__
|
||||
#define __CR_SHOW_H__
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "asm/types.h"
|
||||
|
||||
|
|
@ -18,4 +19,5 @@ extern void ipc_msg_handler(int fd, void *obj);
|
|||
extern void ipc_sem_handler(int fd, void *obj);
|
||||
extern int cr_parse_fd(int fd, u32 magic);
|
||||
extern void show_tcp_stream(int fd, void *obj);
|
||||
|
||||
#endif /* __CR_SHOW_H__ */
|
||||
|
|
|
|||
|
|
@ -19,4 +19,5 @@ extern int tcp_max_wshare;
|
|||
extern int tcp_max_rshare;
|
||||
|
||||
extern int kern_last_cap;
|
||||
|
||||
#endif /* __CR_KERNDAT_H__ */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef __CR_PAGE_PIPE_H__
|
||||
#define __CR_PAGE_PIPE_H__
|
||||
|
||||
#include <sys/uio.h>
|
||||
#include "list.h"
|
||||
|
||||
|
|
@ -96,4 +97,5 @@ int page_pipe_add_page(struct page_pipe *p, unsigned long addr);
|
|||
int page_pipe_add_hole(struct page_pipe *p, unsigned long addr);
|
||||
|
||||
void debug_show_page_pipe(struct page_pipe *pp);
|
||||
|
||||
#endif /* __CR_PAGE_PIPE_H__ */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef __CR_PAGE_READ_H__
|
||||
#define __CR_PAGE_READ_H__
|
||||
|
||||
#include "protobuf/pagemap.pb-c.h"
|
||||
|
||||
/*
|
||||
|
|
@ -66,4 +67,5 @@ struct page_read {
|
|||
};
|
||||
|
||||
int open_page_read(int pid, struct page_read *);
|
||||
|
||||
#endif /* __CR_PAGE_READ_H__ */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef __CR_PAGE_XFER__H__
|
||||
#define __CR_PAGE_XFER__H__
|
||||
|
||||
int cr_page_server(bool daemon_mode);
|
||||
|
||||
/*
|
||||
|
|
@ -31,4 +32,5 @@ int page_xfer_dump_pages(struct page_xfer *, struct page_pipe *,
|
|||
unsigned long off);
|
||||
int connect_to_page_server(void);
|
||||
int disconnect_from_page_server(void);
|
||||
|
||||
#endif /* __CR_PAGE_XFER__H__ */
|
||||
|
|
|
|||
|
|
@ -122,4 +122,5 @@ extern int parasite_fixup_vdso(struct parasite_ctl *ctl, pid_t pid,
|
|||
|
||||
extern int parasite_stop_on_syscall(int tasks, int sys_nr);
|
||||
extern int parasite_unmap(struct parasite_ctl *ctl, unsigned long addr);
|
||||
|
||||
#endif /* __CR_PARASITE_SYSCALL_H__ */
|
||||
|
|
|
|||
|
|
@ -64,4 +64,5 @@ void rst_mem_free_last(int type);
|
|||
*/
|
||||
unsigned long rst_mem_remap_size(void);
|
||||
int rst_mem_remap(void *to);
|
||||
|
||||
#endif /* __CR_RST_MALLOC__H__ */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef __CR_TUN_H__
|
||||
#define __CR_TUN_H__
|
||||
|
||||
#ifndef TUN_MINOR
|
||||
#define TUN_MINOR 200
|
||||
#endif
|
||||
|
|
@ -11,4 +12,5 @@ int dump_tun_link(NetDeviceEntry *nde, struct cr_fdset *fds);
|
|||
int restore_one_tun(NetDeviceEntry *nde, int nlsk);
|
||||
extern struct collect_image_info tunfile_cinfo;
|
||||
int check_tun(void);
|
||||
|
||||
#endif /* __CR_TUN_H__ */
|
||||
|
|
|
|||
|
|
@ -62,4 +62,5 @@ static inline int recv_fd(int sock)
|
|||
}
|
||||
|
||||
int open_detach_mount(char *dir);
|
||||
|
||||
#endif /* __CR_UTIL_NET_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue