xp_comm_proj/dlgtools/read/ram.c
/*********************************************************************

  free all the links

  no input error checking

*********************************************************************/
free all the links
no input error checking
free all the links no input error checking
int ram_free_all()
{
  int ii;
  int ireturn_val=0;
  for( ii=1; ii<MAX_RAM_BLOCKS; ii++ )
    {
      if( ram_block_entries[ ii ] != NULL)
        {
          ireturn_val += ram_free( ii );
        }
    }
  if( ram_debug_enabled == 1 ) ram_dump( "ram_free_all" );
  return( ireturn_val );
}
int ram_free_all ( ) { int ii ; int ireturn_val = 0 ; for ( ii = 1 ; ii < MAX_RAM_BLOCKS ; ii ++ ) { if ( ram_block_entries [ ii ] != NULL ) { ireturn_val += ram_free ( ii ) ; } } if ( ram_debug_enabled == 1 ) ram_dump ( " " ) ; return ( ireturn_val ) ; }
free all the links
no input error checking
free all the links no input error checking
/* free the data in this link */ /* debug printing */