criu/include/inotify.h
Pavel Emelyanov 6a55c1c596 dump: Move per-type dump opts into respective .c files
No functional changes, just a code move.

TODO:

* need to write personal make_gen_id implementations for special
files (device and pos is const for them effectively)
* need to merge dump ops with restore ones (file_desc_ops)

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-05-04 15:34:55 +04:00

18 lines
480 B
C

#ifndef INOTIFY_H__
#define INOTIFY_H__
#include <sys/types.h>
#include <unistd.h>
#include "compiler.h"
#include "types.h"
#include "files.h"
#include "crtools.h"
extern int is_inotify_link(int lfd);
extern int dump_inotify(struct fd_parms *p, int lfd, const struct cr_fdset *set);
extern int collect_inotify(void);
extern void show_inotify_wd(int fd_inotify_wd, struct cr_options *o);
extern void show_inotify(int fd_inotify, struct cr_options *o);
#endif /* INOTIFY_H__ */