client/src/unifycr.c
inline int unifycr_intercept_path(const char* path)
{
    /* don't intecept anything until we're initialized */
    if (! unifycr_initialized) {
      return 0;
    }

    /* if the path starts with our mount point, intercept it */
    if (strncmp(path, unifycr_mount_prefix, unifycr_mount_prefixlen) == 0) {
        return 1;
    }
    return 0;
}
/* sets flag if the path is a special path */
sets flag if the path is a special path
sets flag if the path is a special path
inline int unifycr_intercept_path(const char* path)
{
    if (! unifycr_initialized) {
      return 0;
    }
    if (strncmp(path, unifycr_mount_prefix, unifycr_mount_prefixlen) == 0) {
        return 1;
    }
    return 0;
}
inline int unifycr_intercept_path ( const char * path ) { if ( ! unifycr_initialized ) { return 0 ; } if ( strncmp ( path , unifycr_mount_prefix , unifycr_mount_prefixlen ) == 0 ) { return 1 ; } return 0 ; }
sets flag if the path is a special path
sets flag if the path is a special path
/* don't intecept anything until we're initialized */ /* if the path starts with our mount point, intercept it */