~ubuntu-branches/ubuntu/jaunty/ncbi-tools6/jaunty

« back to all changes in this revision

Viewing changes to algo/blast/api/hspstream_queue.c

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2008-07-14 19:43:15 UTC
  • mfrom: (2.1.12 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080714194315-ed44u9ek7txva2rz
Tags: 6.1.20080302-3
tools/readdb.c: enable madvise()-based code on all glibc (hence all
Debian) systems, not just Linux.  (Closes: #490437.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*  $Id: hspstream_queue.c,v 1.8 2005/04/12 17:59:08 dondosha Exp $
 
1
/*  $Id: hspstream_queue.c,v 1.9 2007/07/27 18:03:11 papadopo Exp $
2
2
 * ===========================================================================
3
3
 *
4
4
 *                            PUBLIC DOMAIN NOTICE
34
34
 
35
35
#ifndef SKIP_DOXYGEN_PROCESSING
36
36
static char const rcsid[] = 
37
 
    "$Id: hspstream_queue.c,v 1.8 2005/04/12 17:59:08 dondosha Exp $";
 
37
    "$Id: hspstream_queue.c,v 1.9 2007/07/27 18:03:11 papadopo Exp $";
38
38
#endif /* SKIP_DOXYGEN_PROCESSING */
39
39
 
40
40
 
203
203
    SetMethod(hsp_stream, eWrite, fnptr);
204
204
    fnptr.closeFn = &BlastHSPListQueueClose;
205
205
    SetMethod(hsp_stream, eClose, fnptr);
 
206
    fnptr.batch_read = NULL;
 
207
    SetMethod(hsp_stream, eBatchRead, fnptr);
 
208
    fnptr.mergeFn = NULL;
 
209
    SetMethod(hsp_stream, eMerge, fnptr);
206
210
 
207
211
    SetData(hsp_stream, args);
208
212
    return hsp_stream;