capture: implement directory structure capture
This commit is contained in:
21
src/vnode.h
Normal file
21
src/vnode.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef VNODE_H_
|
||||
#define VNODE_H_
|
||||
|
||||
#include "bin.h"
|
||||
|
||||
struct b_file_info;
|
||||
|
||||
struct ec3_vnode {
|
||||
unsigned long v_id;
|
||||
unsigned long v_ctime, v_mtime;
|
||||
unsigned short v_mode;
|
||||
unsigned short v_uid, v_gid;
|
||||
|
||||
ec3_chunk_id v_data;
|
||||
};
|
||||
|
||||
extern enum ec3_status ec3_vnode_from_file_info(
|
||||
const struct b_file_info *file_info,
|
||||
struct ec3_vnode *out);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user