dlist.c
/*----------------------------------------------------------------------*/
/*    TotalDListNodes();                                                */
/*                                                                      */
/*    Return total count of all nodes in the list.                      */
/*----------------------------------------------------------------------*/
TotalDListNodes();
Return total count of all nodes in the list.
TotalDListNodes () ; Return total count of all nodes in the list .
unsigned long TotalDListNodes(dlist_t * p_list)
{
    if (p_list)
        return p_list->L_elements;
    else
        return 0;
}
unsigned long TotalDListNodes ( dlist_t * p_list ) { if ( p_list ) return p_list -> L_elements ; else return 0 ; }
TotalDListNodes();
Return total count of all nodes in the list.
TotalDListNodes () ; Return total count of all nodes in the list .