mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-27 03:56:05 +00:00
Now we have a set of cinfo-s, it's possible to collect all this stuff in a plan for-loop. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
31 lines
805 B
C
31 lines
805 B
C
#ifndef __CR_FSNOTIFY_H__
|
|
#define __CR_FSNOTIFY_H__
|
|
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
#include "compiler.h"
|
|
#include "asm/types.h"
|
|
#include "files.h"
|
|
#include "crtools.h"
|
|
|
|
struct fsnotify_params {
|
|
u32 id;
|
|
u32 faflags;
|
|
u32 evflags;
|
|
};
|
|
|
|
extern int is_inotify_link(int lfd);
|
|
extern int is_fanotify_link(int lfd);
|
|
extern const struct fdtype_ops inotify_dump_ops;
|
|
extern const struct fdtype_ops fanotify_dump_ops;
|
|
extern struct collect_image_info inotify_cinfo;
|
|
extern struct collect_image_info inotify_mark_cinfo;
|
|
extern struct collect_image_info fanotify_cinfo;
|
|
extern struct collect_image_info fanotify_mark_cinfo;
|
|
extern void show_inotify_wd(int fd);
|
|
extern void show_inotify(int fd);
|
|
extern void show_fanotify_mark(int fd);
|
|
extern void show_fanotify(int fd);
|
|
|
|
#endif /* __CR_FSNOTIFY_H__ */
|