criu/include/eventfd.h
Cyrill Gorcunov 889795da5d eventfd: Add checkpoint/restore support v2
v2:
 - Pass initial counter value to eventfd call
   (can't pass flags here since they are obtained
    with fcntl and must be restored same way or
    restore will fail)
 - Use rst_file_params for flags and owner restore
 - Use eventfd.[ch] instead of eventfs.[ch]
 - Move show funcs to eventfd.c

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-05-04 13:59:51 +04:00

17 lines
393 B
C

#ifndef EVENTFD_H__
#define EVENTFD_H__
#include <sys/types.h>
#include <unistd.h>
#include "compiler.h"
#include "types.h"
#include "files.h"
#include "crtools.h"
extern int is_eventfd_link(int lfd);
extern int dump_one_eventfd(int lfd, u32 id, const struct fd_parms *p);
extern int collect_eventfd(void);
extern void show_eventfds(int fd, struct cr_options *o);
#endif /* EVENTFD_H__ */