mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 22:35:33 +00:00
show: Introduce ->show callback for fdset
Each fdset item now has the callback which will show a contents of a magic-described image file. Per-task and global show code is reworked to walk the respective fdsets and calling ->show on each file. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -27,8 +27,9 @@ extern int try_dump_socket(pid_t pid, int fd, const struct cr_fdset *cr_fdset,
|
||||
|
||||
extern int collect_sockets(void);
|
||||
extern int prepare_sockets(int pid);
|
||||
extern void show_unixsk(int fd);
|
||||
extern void show_inetsk(int fd);
|
||||
extern int show_sk_queues(int fd);
|
||||
struct cr_options;
|
||||
extern void show_unixsk(int fd, struct cr_options *);
|
||||
extern void show_inetsk(int fd, struct cr_options *);
|
||||
extern void show_sk_queues(int fd, struct cr_options *);
|
||||
|
||||
#endif /* CR_SOCKETS_H__ */
|
||||
|
Reference in New Issue
Block a user