22 lines
348 B
C
22 lines
348 B
C
|
|
#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
|