deps/kb_meme/meme-5.0.1/src/prior-reader-from-psp.c
/******************************************************************************
 * This function resets a MEME PSP prior block reader UDT.
 *****************************************************************************/
This function resets a MEME PSP prior block reader UDT.
This function resets a MEME PSP prior block reader UDT .
bool reset_prior_reader_from_psp(DATA_BLOCK_READER_T *reader) {
  PSP_DATA_BLOCK_READER_T *psp_reader 
    = (PSP_DATA_BLOCK_READER_T *) get_data_block_reader_data(reader);
  rewind(psp_reader->psp_file);
  psp_reader->current_position = -1;
  psp_reader->at_start_of_line = true;
  return true;
}
bool reset_prior_reader_from_psp ( DATA_BLOCK_READER_T * reader ) { PSP_DATA_BLOCK_READER_T * psp_reader = ( PSP_DATA_BLOCK_READER_T * ) get_data_block_reader_data ( reader ) ; rewind ( psp_reader -> psp_file ) ; psp_reader -> current_position = -1 ; psp_reader -> at_start_of_line = true ; return true ; }
This function resets a MEME PSP prior block reader UDT.
This function resets a MEME PSP prior block reader UDT .