client/src/unifycr.c
unifycr_filemeta_t* unifycr_get_meta_from_fid(int fid)
{
    /* check that the file id is within range of our array */
    if (fid >= 0 && fid < unifycr_max_files) {
        /* get a pointer to the file meta data structure */
        unifycr_filemeta_t* meta = &unifycr_filemetas[fid];
        return meta;
    }
    return NULL;
}
/* given a file id, return a pointer to the meta data,
 * otherwise return NULL */
given a file id, return a pointer to the meta data,
otherwise return NULL
given a file id return a pointer to the meta data otherwise return NULL
unifycr_filemeta_t* unifycr_get_meta_from_fid(int fid)
{
    if (fid >= 0 && fid < unifycr_max_files) {
        unifycr_filemeta_t* meta = &unifycr_filemetas[fid];
        return meta;
    }
    return NULL;
}
unifycr_filemeta_t * unifycr_get_meta_from_fid ( int fid ) { if ( fid >= 0 && fid < unifycr_max_files ) { unifycr_filemeta_t * meta = & unifycr_filemetas [ fid ] ; return meta ; } return NULL ; }
given a file id, return a pointer to the meta data,
 otherwise return NULL
given a file id return a pointer to the meta data otherwise return NULL
/* check that the file id is within range of our array */ /* get a pointer to the file meta data structure */