classes.cc
/*
** Adds the DirLine to the listing maintained by DirList.
*/
Adds the DirLine to the listing maintained by DirList.
Adds the DirLine to the listing maintained by DirList .
void DirList::add(DirLine *link)
{
    if (nelems())
    {
        _tail->_next = link;
        _tail->_next->_prev = tail();
        _tail = link;
        _nelems++;
    }
    else
    {
        _head = _tail = link;
        _nelems = 1;
    }
}
void DirList :: add ( DirLine * link ) { if ( nelems ( ) ) { _tail -> _next = link ; _tail -> _next -> _prev = tail ( ) ; _tail = link ; _nelems ++ ; } else { _head = _tail = link ; _nelems = 1 ; } }
Adds the DirLine to the listing maintained by DirList.
Adds the DirLine to the listing maintained by DirList .