~ubuntu-branches/ubuntu/karmic/ncbi-tools6/karmic

« back to all changes in this revision

Viewing changes to api/asn2ff1.c

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2006-10-22 19:32:02 UTC
  • mfrom: (1.2.1 upstream) (2.1.4 dapper)
  • Revision ID: james.westby@ubuntu.com-20061022193202-6svrvb6l52n0uhe4
Tags: 6.1.20061015-1
* New upstream release.
* Don't bother linking against indirectly used system libraries.
* Update man pages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*
30
30
* Version Creation Date:   7/15/95
31
31
*
32
 
* $Revision: 6.117 $
33
 
* $Revision: 6.117 $
 
32
* $Revision: 6.119 $
 
33
* $Revision: 6.119 $
34
34
*
35
35
* File Description:  files that go with "asn2ff"
36
36
*
347
347
Asn2ffJobPtr Asn2ffJobCreate(SeqEntryPtr sep, SeqSubmitPtr ssp, SeqLocPtr slp, FILE *fp, Uint1 format, Uint1 mode, StdPrintOptionsPtr   Spop)
348
348
{
349
349
        Asn2ffJobPtr    ajp;
350
 
        Uint2                   entityID = 0, itemID = 0;
 
350
        Uint2                   entityID = 0;
 
351
        Uint4           itemID = 0;
351
352
        BioseqPtr bsp;
352
353
        
353
354
        ajp = (Asn2ffJobPtr) MemNew(sizeof(Asn2ffJob));
1514
1515
        Boolean          rsult;
1515
1516
        Asn2ffJobPtr            ajp;
1516
1517
        StdPrintOptionsPtr Spop = NULL;
1517
 
        Uint2            itemID=0;
 
1518
        Uint4            itemID=0;
1518
1519
 
1519
1520
        rsult = FALSE;
1520
1521
        if (format == GENPEPT_FMT) {
1578
1579
        BioseqPtr bsp;
1579
1580
        SeqEntryPtr sep = NULL;
1580
1581
 
 
1582
Message (MSG_POSTERR, "The asn2ff flatfile generator is obsolete and unsupported.  Please switch to using asn2gb/SeqEntryToGnbk in the future.");
 
1583
 
1581
1584
        if (ajp->sep != NULL) {
1582
1585
          sep = ajp->sep;
1583
1586
        } else if (ajp->ssp != NULL && ajp->ssp->datatype == 1) {
5382
5385
 
5383
5386
}       /* PrintEPSequence */
5384
5387
 
5385
 
void GatherItemWithLock(Uint2 entityID, Uint2 itemID, Uint2 itemtype,
 
5388
void GatherItemWithLock(Uint2 entityID, Uint4 itemID, Uint2 itemtype,
5386
5389
                                   Pointer userdata, GatherItemProc userfunc)
5387
5390
{
5388
5391
        GatherItem(entityID, itemID, itemtype, userdata,  userfunc);