src/siri/db/access.c
/*
 * Returns a access bit flag from a Cleri children object.
 */
Returns a access bit flag from a Cleri children object.
Returns a access bit flag from a Cleri children object .
uint32_t siridb_access_from_children(cleri_children_t * children)
{
    uint32_t access_bit = 0;
    while (children != NULL)
    {
        access_bit |= siridb_access_from_strn(
                children->node->str,
                children->node->len);
        if (children->next == NULL)
            break;
        children = children->next->next;
    }
    return access_bit;
}
uint32_t siridb_access_from_children ( cleri_children_t * children ) { uint32_t access_bit = 0 ; while ( children != NULL ) { access_bit |= siridb_access_from_strn ( children -> node -> str , children -> node -> len ) ; if ( children -> next == NULL ) break ; children = children -> next -> next ; } return access_bit ; }
Returns a access bit flag from a Cleri children object.
Returns a access bit flag from a Cleri children object .