Commit 3456e561 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

headers: Add \Newline-s for readability sake

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 3f03d139
#ifndef __CR_SHOW_H__ #ifndef __CR_SHOW_H__
#define __CR_SHOW_H__ #define __CR_SHOW_H__
#include <stdbool.h> #include <stdbool.h>
#include "asm/types.h" #include "asm/types.h"
...@@ -18,4 +19,5 @@ extern void ipc_msg_handler(int fd, void *obj); ...@@ -18,4 +19,5 @@ extern void ipc_msg_handler(int fd, void *obj);
extern void ipc_sem_handler(int fd, void *obj); extern void ipc_sem_handler(int fd, void *obj);
extern int cr_parse_fd(int fd, u32 magic); extern int cr_parse_fd(int fd, u32 magic);
extern void show_tcp_stream(int fd, void *obj); extern void show_tcp_stream(int fd, void *obj);
#endif /* __CR_SHOW_H__ */ #endif /* __CR_SHOW_H__ */
...@@ -19,4 +19,5 @@ extern int tcp_max_wshare; ...@@ -19,4 +19,5 @@ extern int tcp_max_wshare;
extern int tcp_max_rshare; extern int tcp_max_rshare;
extern int kern_last_cap; extern int kern_last_cap;
#endif /* __CR_KERNDAT_H__ */ #endif /* __CR_KERNDAT_H__ */
#ifndef __CR_PAGE_PIPE_H__ #ifndef __CR_PAGE_PIPE_H__
#define __CR_PAGE_PIPE_H__ #define __CR_PAGE_PIPE_H__
#include <sys/uio.h> #include <sys/uio.h>
#include "list.h" #include "list.h"
...@@ -96,4 +97,5 @@ int page_pipe_add_page(struct page_pipe *p, unsigned long addr); ...@@ -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); int page_pipe_add_hole(struct page_pipe *p, unsigned long addr);
void debug_show_page_pipe(struct page_pipe *pp); void debug_show_page_pipe(struct page_pipe *pp);
#endif /* __CR_PAGE_PIPE_H__ */ #endif /* __CR_PAGE_PIPE_H__ */
#ifndef __CR_PAGE_READ_H__ #ifndef __CR_PAGE_READ_H__
#define __CR_PAGE_READ_H__ #define __CR_PAGE_READ_H__
#include "protobuf/pagemap.pb-c.h" #include "protobuf/pagemap.pb-c.h"
/* /*
...@@ -66,4 +67,5 @@ struct page_read { ...@@ -66,4 +67,5 @@ struct page_read {
}; };
int open_page_read(int pid, struct page_read *); int open_page_read(int pid, struct page_read *);
#endif /* __CR_PAGE_READ_H__ */ #endif /* __CR_PAGE_READ_H__ */
#ifndef __CR_PAGE_XFER__H__ #ifndef __CR_PAGE_XFER__H__
#define __CR_PAGE_XFER__H__ #define __CR_PAGE_XFER__H__
int cr_page_server(bool daemon_mode); int cr_page_server(bool daemon_mode);
/* /*
...@@ -31,4 +32,5 @@ int page_xfer_dump_pages(struct page_xfer *, struct page_pipe *, ...@@ -31,4 +32,5 @@ int page_xfer_dump_pages(struct page_xfer *, struct page_pipe *,
unsigned long off); unsigned long off);
int connect_to_page_server(void); int connect_to_page_server(void);
int disconnect_from_page_server(void); int disconnect_from_page_server(void);
#endif /* __CR_PAGE_XFER__H__ */ #endif /* __CR_PAGE_XFER__H__ */
...@@ -122,4 +122,5 @@ extern int parasite_fixup_vdso(struct parasite_ctl *ctl, pid_t pid, ...@@ -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_stop_on_syscall(int tasks, int sys_nr);
extern int parasite_unmap(struct parasite_ctl *ctl, unsigned long addr); extern int parasite_unmap(struct parasite_ctl *ctl, unsigned long addr);
#endif /* __CR_PARASITE_SYSCALL_H__ */ #endif /* __CR_PARASITE_SYSCALL_H__ */
...@@ -64,4 +64,5 @@ void rst_mem_free_last(int type); ...@@ -64,4 +64,5 @@ void rst_mem_free_last(int type);
*/ */
unsigned long rst_mem_remap_size(void); unsigned long rst_mem_remap_size(void);
int rst_mem_remap(void *to); int rst_mem_remap(void *to);
#endif /* __CR_RST_MALLOC__H__ */ #endif /* __CR_RST_MALLOC__H__ */
#ifndef __CR_TUN_H__ #ifndef __CR_TUN_H__
#define __CR_TUN_H__ #define __CR_TUN_H__
#ifndef TUN_MINOR #ifndef TUN_MINOR
#define TUN_MINOR 200 #define TUN_MINOR 200
#endif #endif
...@@ -11,4 +12,5 @@ int dump_tun_link(NetDeviceEntry *nde, struct cr_fdset *fds); ...@@ -11,4 +12,5 @@ int dump_tun_link(NetDeviceEntry *nde, struct cr_fdset *fds);
int restore_one_tun(NetDeviceEntry *nde, int nlsk); int restore_one_tun(NetDeviceEntry *nde, int nlsk);
extern struct collect_image_info tunfile_cinfo; extern struct collect_image_info tunfile_cinfo;
int check_tun(void); int check_tun(void);
#endif /* __CR_TUN_H__ */ #endif /* __CR_TUN_H__ */
...@@ -62,4 +62,5 @@ static inline int recv_fd(int sock) ...@@ -62,4 +62,5 @@ static inline int recv_fd(int sock)
} }
int open_detach_mount(char *dir); int open_detach_mount(char *dir);
#endif /* __CR_UTIL_NET_H__ */ #endif /* __CR_UTIL_NET_H__ */
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