mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 18:19:39 +00:00
Remove unneeded path argument (we do know the file data is read from) and actually bogus show_header boolean. Also introduce two helpers for showing header and tail. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
13 lines
306 B
C
13 lines
306 B
C
#ifndef CR_SOCKETS_H__
|
|
#define CR_SOCKETS_H__
|
|
|
|
#include <stdbool.h>
|
|
|
|
struct cr_fdset;
|
|
extern int try_dump_socket(char *dir_name, char *fd_name, struct cr_fdset *cr_fdset);
|
|
|
|
extern int collect_sockets(void);
|
|
extern int prepare_sockets(int pid);
|
|
extern void show_unixsk(int fd);
|
|
|
|
#endif /* CR_SOCKETS_H__ */
|