mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 17:14:28 +00:00
No need to walk up the directories if we need to include protobuf file. This was always a bad use of ability to walk the filesystem from other headers. Same time we don't need -I$(SRC_DIR)/protobuf/ in general makefile anymore. [xemul: Small fixlet in head Makefile, since patch it out-of-order] Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
18 lines
400 B
C
18 lines
400 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__ */
|