group
group__libshare__fsmeta
Provides the manage auxiliary meta information associated with a particula Inode.

Auxiliary Meta Definition

function
int shfs_meta
(shfs_t *tree, shfs_ino_t *ent, shmap_t **val_p)
Obtain a reference to the meta definition hashmap associated with the inode entry.
Note
The inode will cache the hashmap reference.
shfs_ino_t structshfs__ino__t compound
Param
ent
The inode entry.
val_p
A memory reference to the meta definition hashmap being filled in.
function
int shfs_meta_save
(shfs_t *tree, shfs_ino_t *ent, shmap_t *h)
Flush the inode's meta map to disk.
Param
The
inode associated with the meta map.
val
The meta map to store to disk.
Return Value
A zero (0) on success and a negative one (-1) on failure.
function
const char* shfs_meta_get
(shfs_ino_t *file, char *def)
Retrieve a SHMETA_XX meta defintion from a share library file.
function
int shfs_meta_perm
(shfs_ino_t *file, char *def, shkey_t *user)
function
int shfs_meta_set
(shfs_ino_t *file, char *def, char *value)
function
shkey_t* shfs_sig_get
(shfs_ino_t *file)
function
int shfs_sig_set
(shfs_ino_t *file, shkey_t *sig_key)
function
int shfs_sig_verify
(shfs_ino_t *file, shkey_t *sig_key)