2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-23 02:17:22 +00:00
criu/include/file-ids.h
Alexander Kartashov 6f61488f21 x86: moved x86-specific files into the directory arch/x86.
* The following files goes into the directory arch/x86/include/asm unmodified:
  - include/atomic.h,
  - include/linkage.h,
  - include/memcpy_64.h,
  - include/types.h,
  - include/bitops.h,
  - pie/parasite-head-x86-64.S,
  - include/processor-flags.h,
  - include/syscall-x86-64.def.

* Changed include directives in the source files that include the headers
  listed above.

* Modified build scripts to reflect the source moves.

Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-01-09 17:02:47 +04:00

19 lines
403 B
C

#ifndef __CR_FILE_IDS_H__
#define __CR_FILE_IDS_H__
#include "compiler.h"
#include "asm/types.h"
#include "rbtree.h"
#include "../protobuf/fdinfo.pb-c.h"
#define FD_PID_INVALID (-2U)
#define FD_DESC_INVALID (-3U)
struct fdinfo_entry;
extern int fd_id_generate(pid_t pid, FdinfoEntry *fe);
extern u32 fd_id_generate_special(void);
extern void fd_id_show_tree(void);
#endif /* __CR_FILE_IDS_H__ */