#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); extern void ec3_vnode_encode( const struct ec3_vnode *in, struct ec3_bin_vnode *out); extern void ec3_vnode_decode( const struct ec3_bin_vnode *in, struct ec3_vnode *out); #endif