criu/include/fsnotify.h
Pavel Emelyanov b18fb09eb9 show: Replace one-line show_foo calls with args array
We have generic do_pb_show() call and tons of show_foo
routines, that just call one with proper args. Compact
the code by putting the args into array and calling
the do_pb_show() in one place.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-08-24 04:00:32 +04:00

27 lines
659 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;
#endif /* __CR_FSNOTIFY_H__ */