home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / DCLAP 6d / dclap6d / network / blast2 / client / objblst2.h < prev   
Encoding:
C/C++ Source or Header  |  1996-07-05  |  20.9 KB  |  697 lines  |  [TEXT/R*ch]

  1. #ifndef _objblst2_ 
  2. #define _objblst2_ 
  3.  
  4. #ifdef __cplusplus
  5. extern "C" { /* } */
  6. #endif
  7.  
  8.  
  9. /**************************************************
  10. *
  11. *    Generated objects for Module NCBI-BLAST-1
  12. *    Generated using ASNCODE Revision: 1.17 at Jun 28, 1995  2:37 PM
  13. *
  14. **************************************************/
  15.  
  16. Boolean LIBCALL
  17. objblst2AsnLoad PROTO((void));
  18.  
  19.  
  20. /**************************************************
  21. *
  22. *    BLAST0Preface
  23. *
  24. **************************************************/
  25. typedef struct struct_BLAST0_Preface {
  26.    struct struct_BLAST0_Preface PNTR next;
  27.    Uint4 OBbits__;
  28.    CharPtr   program;
  29.    CharPtr   desc;
  30.    CharPtr   version;
  31.    CharPtr   dev_date;
  32.    CharPtr   bld_date;
  33.    ValNodePtr   cit;
  34.    ValNodePtr   notice;
  35.    ValNodePtr   prog_usage;
  36.    struct struct_BLAST0_Seq_usage PNTR   susage;
  37.    struct struct_BLAST0_Seq_usage PNTR   qusage;
  38. } BLAST0Preface, PNTR BLAST0PrefacePtr;
  39.  
  40.  
  41. BLAST0PrefacePtr LIBCALL BLAST0PrefaceFree PROTO ((BLAST0PrefacePtr ));
  42. BLAST0PrefacePtr LIBCALL BLAST0PrefaceNew PROTO (( void ));
  43. BLAST0PrefacePtr LIBCALL BLAST0PrefaceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  44. Boolean LIBCALL BLAST0PrefaceAsnWrite PROTO (( BLAST0PrefacePtr , AsnIoPtr, AsnTypePtr));
  45.  
  46.  
  47.  
  48. /**************************************************
  49. *
  50. *    BLAST0JobDesc
  51. *
  52. **************************************************/
  53. typedef struct struct_BLAST0_Job_desc {
  54.    Uint4 OBbits__;
  55.    Uint2   jid;
  56.    /* following #defines are for enumerated type, not used by object loaders */
  57. #define BLAST0_Job_desc_jid_not_set 0
  58. #define BLAST0_Job_desc_jid_neighborhood 1
  59. #define BLAST0_Job_desc_jid_search 2
  60. #define BLAST0_Job_desc_jid_threecomps 3
  61.  
  62.    CharPtr   desc;
  63.    Int4   size;
  64. } BLAST0JobDesc, PNTR BLAST0JobDescPtr;
  65.  
  66.  
  67. BLAST0JobDescPtr LIBCALL BLAST0JobDescFree PROTO ((BLAST0JobDescPtr ));
  68. BLAST0JobDescPtr LIBCALL BLAST0JobDescNew PROTO (( void ));
  69. BLAST0JobDescPtr LIBCALL BLAST0JobDescAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  70. Boolean LIBCALL BLAST0JobDescAsnWrite PROTO (( BLAST0JobDescPtr , AsnIoPtr, AsnTypePtr));
  71.  
  72.  
  73.  
  74. /**************************************************
  75. *
  76. *    BLAST0JobProgress
  77. *
  78. **************************************************/
  79. typedef struct struct_BLAST0_Job_progress {
  80.    Uint4 OBbits__;
  81.    Int4   done;
  82.    Int4   positives;
  83. } BLAST0JobProgress, PNTR BLAST0JobProgressPtr;
  84.  
  85.  
  86. BLAST0JobProgressPtr LIBCALL BLAST0JobProgressFree PROTO ((BLAST0JobProgressPtr ));
  87. BLAST0JobProgressPtr LIBCALL BLAST0JobProgressNew PROTO (( void ));
  88. BLAST0JobProgressPtr LIBCALL BLAST0JobProgressAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  89. Boolean LIBCALL BLAST0JobProgressAsnWrite PROTO (( BLAST0JobProgressPtr , AsnIoPtr, AsnTypePtr));
  90.  
  91.  
  92.  
  93. /**************************************************
  94. *
  95. *    BLAST0Sequence
  96. *
  97. **************************************************/
  98. typedef struct struct_BLAST0_Sequence {
  99.    struct struct_BLAST0_Sequence PNTR next;
  100.    Uint4 OBbits__;
  101.    struct struct_BLAST0_Seq_desc PNTR   desc;
  102.    Int4   length;
  103. #define OB__BLAST0_Sequence_gcode 0
  104.  
  105.    Int4   gcode;
  106.    ValNodePtr   seq;
  107. } BLAST0Sequence, PNTR BLAST0SequencePtr;
  108.  
  109.  
  110. BLAST0SequencePtr LIBCALL BLAST0SequenceFree PROTO ((BLAST0SequencePtr ));
  111. BLAST0SequencePtr LIBCALL BLAST0SequenceNew PROTO (( void ));
  112. BLAST0SequencePtr LIBCALL BLAST0SequenceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  113. Boolean LIBCALL BLAST0SequenceAsnWrite PROTO (( BLAST0SequencePtr , AsnIoPtr, AsnTypePtr));
  114.  
  115.  
  116.  
  117. /**************************************************
  118. *
  119. *    BLAST0KABlk
  120. *
  121. **************************************************/
  122. typedef struct struct_BLAST0_KA_Blk {
  123.    struct struct_BLAST0_KA_Blk PNTR next;
  124.    Uint4 OBbits__;
  125.    Int4   matid;
  126.    ValNodePtr   frames;
  127.    FloatHi   lambda;
  128.    FloatHi   k;
  129.    FloatHi   h;
  130. } BLAST0KABlk, PNTR BLAST0KABlkPtr;
  131.  
  132.  
  133. BLAST0KABlkPtr LIBCALL BLAST0KABlkFree PROTO ((BLAST0KABlkPtr ));
  134. BLAST0KABlkPtr LIBCALL BLAST0KABlkNew PROTO (( void ));
  135. BLAST0KABlkPtr LIBCALL BLAST0KABlkAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  136. Boolean LIBCALL BLAST0KABlkAsnWrite PROTO (( BLAST0KABlkPtr , AsnIoPtr, AsnTypePtr));
  137.  
  138.  
  139.  
  140. /**************************************************
  141. *
  142. *    BLAST0DbDesc
  143. *
  144. **************************************************/
  145. typedef struct struct_BLAST0_Db_Desc {
  146.    struct struct_BLAST0_Db_Desc PNTR next;
  147.    Uint4 OBbits__;
  148.    CharPtr   name;
  149.    Uint2   type;
  150.    CharPtr   def;
  151.    CharPtr   rel_date;
  152.    CharPtr   bld_date;
  153. #define OB__BLAST0_Db_Desc_count 0
  154.  
  155.    Int4   count;
  156. #define OB__BLAST0_Db_Desc_totlen 1
  157.  
  158.    Int4   totlen;
  159. #define OB__BLAST0_Db_Desc_maxlen 2
  160.  
  161.    Int4   maxlen;
  162. } BLAST0DbDesc, PNTR BLAST0DbDescPtr;
  163.  
  164.  
  165. BLAST0DbDescPtr LIBCALL BLAST0DbDescFree PROTO ((BLAST0DbDescPtr ));
  166. BLAST0DbDescPtr LIBCALL BLAST0DbDescNew PROTO (( void ));
  167. BLAST0DbDescPtr LIBCALL BLAST0DbDescAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  168. Boolean LIBCALL BLAST0DbDescAsnWrite PROTO (( BLAST0DbDescPtr , AsnIoPtr, AsnTypePtr));
  169.  
  170.  
  171.  
  172. /**************************************************
  173. *
  174. *    BLAST0Result
  175. *
  176. **************************************************/
  177. typedef struct struct_BLAST0_Result {
  178.    Uint4 OBbits__;
  179.    struct struct_BLAST0_Histogram PNTR   hist;
  180.    Int4   count;
  181.    struct struct_BLAST0_HitList PNTR   hitlists;
  182. } BLAST0Result, PNTR BLAST0ResultPtr;
  183.  
  184.  
  185. BLAST0ResultPtr LIBCALL BLAST0ResultFree PROTO ((BLAST0ResultPtr ));
  186. BLAST0ResultPtr LIBCALL BLAST0ResultNew PROTO (( void ));
  187. BLAST0ResultPtr LIBCALL BLAST0ResultAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  188. Boolean LIBCALL BLAST0ResultAsnWrite PROTO (( BLAST0ResultPtr , AsnIoPtr, AsnTypePtr));
  189.  
  190.  
  191.  
  192. /**************************************************
  193. *
  194. *    BLAST0Matrix
  195. *
  196. **************************************************/
  197. typedef struct struct_BLAST0_Matrix {
  198.    struct struct_BLAST0_Matrix PNTR next;
  199.    Uint4 OBbits__;
  200.    Int4   matid;
  201.    CharPtr   name;
  202.    ValNodePtr   comments;
  203.    Uint2   qalpha;
  204.    Uint2   salpha;
  205.    ValNodePtr   Scores_scores;
  206. } BLAST0Matrix, PNTR BLAST0MatrixPtr;
  207.  
  208.  
  209. BLAST0MatrixPtr LIBCALL BLAST0MatrixFree PROTO ((BLAST0MatrixPtr ));
  210. BLAST0MatrixPtr LIBCALL BLAST0MatrixNew PROTO (( void ));
  211. BLAST0MatrixPtr LIBCALL BLAST0MatrixAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  212. Boolean LIBCALL BLAST0MatrixAsnWrite PROTO (( BLAST0MatrixPtr , AsnIoPtr, AsnTypePtr));
  213.  
  214.  
  215. #ifdef NLM_GENERATED_CODE_PROTO
  216.  
  217. typedef ValNodePtr Scores_scoresPtr;
  218. typedef ValNode Scores_scores;
  219.  
  220. #endif /* NLM_GENERATED_CODE_PROTO */
  221.  
  222. #define Scores_scores_Scores_ScaledInts 1
  223. #define Scores_scores_reals 2
  224.  
  225. #ifdef NLM_GENERATED_CODE_PROTO
  226.  
  227. static Scores_scoresPtr LIBCALL Scores_scoresFree PROTO ((Scores_scoresPtr ));
  228. static Scores_scoresPtr LIBCALL Scores_scoresAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  229. static Boolean LIBCALL Scores_scoresAsnWrite PROTO (( Scores_scoresPtr , AsnIoPtr, AsnTypePtr));
  230.  
  231. #endif /* NLM_GENERATED_CODE_PROTO */
  232.  
  233.  
  234.  
  235. /**************************************************
  236. *
  237. *    Scores_scaled_ints
  238. *
  239. **************************************************/
  240.  
  241. #ifdef NLM_GENERATED_CODE_PROTO
  242.  
  243. typedef struct struct_Scores_ScaledInts {
  244.    Uint4 OBbits__;
  245.    FloatHi   scale;
  246.    ValNodePtr   ints;
  247. } Scores_scaled_ints, PNTR Scores_scaled_intsPtr;
  248. #endif /* NLM_GENERATED_CODE_PROTO */
  249.  
  250. #ifdef NLM_GENERATED_CODE_PROTO
  251.  
  252. static Scores_scaled_intsPtr LIBCALL Scores_scaled_intsFree PROTO ((Scores_scaled_intsPtr ));
  253. static Scores_scaled_intsPtr LIBCALL Scores_scaled_intsNew PROTO (( void ));
  254. static Scores_scaled_intsPtr LIBCALL Scores_scaled_intsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  255. static Boolean LIBCALL Scores_scaled_intsAsnWrite PROTO (( Scores_scaled_intsPtr , AsnIoPtr, AsnTypePtr));
  256.  
  257. #endif /* NLM_GENERATED_CODE_PROTO */
  258.  
  259.  
  260.  
  261. /**************************************************
  262. *
  263. *    BLAST0Warning
  264. *
  265. **************************************************/
  266. #define BLAST0Warning  BLAST0Status
  267. #define BLAST0WarningPtr  BLAST0StatusPtr
  268. #define BLAST0WarningFree  BLAST0StatusFree
  269. #define BLAST0WarningNew  BLAST0StatusNew
  270. #define BLAST0WarningAsnRead  BLAST0StatusAsnRead
  271. #define BLAST0WarningAsnWrite  BLAST0StatusAsnWrite
  272.  
  273.  
  274. /**************************************************
  275. *
  276. *    BLAST0Status
  277. *
  278. **************************************************/
  279. typedef struct struct_BLAST0_Status {
  280.    Uint4 OBbits__;
  281.    Int4   code;
  282.    CharPtr   reason;
  283. } BLAST0Status, PNTR BLAST0StatusPtr;
  284.  
  285.  
  286. BLAST0StatusPtr LIBCALL BLAST0StatusFree PROTO ((BLAST0StatusPtr ));
  287. BLAST0StatusPtr LIBCALL BLAST0StatusNew PROTO (( void ));
  288. BLAST0StatusPtr LIBCALL BLAST0StatusAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  289. Boolean LIBCALL BLAST0StatusAsnWrite PROTO (( BLAST0StatusPtr , AsnIoPtr, AsnTypePtr));
  290.  
  291. typedef ValNodePtr BLAST0OutblkPtr;
  292. typedef ValNode BLAST0Outblk;
  293.  
  294. #ifdef NLM_GENERATED_CODE_PROTO
  295.  
  296. BLAST0OutblkPtr LIBCALL BLAST0OutblkFree PROTO ((BLAST0OutblkPtr ));
  297. BLAST0OutblkPtr LIBCALL BLAST0OutblkAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  298. Boolean LIBCALL BLAST0OutblkAsnWrite PROTO (( BLAST0OutblkPtr , AsnIoPtr, AsnTypePtr));
  299.  
  300. #endif /* NLM_GENERATED_CODE_PROTO */
  301.  
  302.  
  303. #ifdef NLM_GENERATED_CODE_PROTO
  304.  
  305. typedef ValNodePtr BLAST0Outblk_elementPtr;
  306. typedef ValNode BLAST0Outblk_element;
  307.  
  308. #endif /* NLM_GENERATED_CODE_PROTO */
  309.  
  310. #define BLAST0Outblk_preface 1
  311. #define BLAST0Outblk_query 2
  312. #define BLAST0Outblk_dbdesc 3
  313. #define BLAST0Outblk_matrix 4
  314. #define BLAST0Outblk_kablk 5
  315. #define BLAST0Outblk_job_start 6
  316. #define BLAST0Outblk_job_progress 7
  317. #define BLAST0Outblk_job_done 8
  318. #define BLAST0Outblk_result 9
  319. #define BLAST0Outblk_parms 10
  320. #define BLAST0Outblk_stats 11
  321. #define BLAST0Outblk_warning 12
  322. #define BLAST0Outblk_status 13
  323.  
  324. #ifdef NLM_GENERATED_CODE_PROTO
  325.  
  326. BLAST0Outblk_elementPtr LIBCALL BLAST0Outblk_elementFree PROTO ((BLAST0Outblk_elementPtr ));
  327. BLAST0Outblk_elementPtr LIBCALL BLAST0Outblk_elementAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  328. Boolean LIBCALL BLAST0Outblk_elementAsnWrite PROTO (( BLAST0Outblk_elementPtr , AsnIoPtr, AsnTypePtr));
  329.  
  330. #endif /* NLM_GENERATED_CODE_PROTO */
  331.  
  332. typedef ValNodePtr BLAST0RequestPtr;
  333. typedef ValNode BLAST0Request;
  334. #define BLAST0Request_hello 1
  335. #define BLAST0Request_motd 2
  336. #define BLAST0Request_prog_info 3
  337. #define BLAST0Request_usage_info 4
  338. #define BLAST0Request_db_info 5
  339. #define BLAST0Request_matrix_info 6
  340. #define BLAST0Request_matrix_get 7
  341. #define BLAST0Request_search 8
  342. #define BLAST0Request_goodbye 9
  343.  
  344.  
  345. BLAST0RequestPtr LIBCALL BLAST0RequestFree PROTO ((BLAST0RequestPtr ));
  346. BLAST0RequestPtr LIBCALL BLAST0RequestAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  347. Boolean LIBCALL BLAST0RequestAsnWrite PROTO (( BLAST0RequestPtr , AsnIoPtr, AsnTypePtr));
  348.  
  349.  
  350.  
  351. /**************************************************
  352. *
  353. *    BLAST0Search
  354. *
  355. **************************************************/
  356. typedef struct struct_BLAST0_Search {
  357.    Uint4 OBbits__;
  358.    CharPtr   program;
  359.    CharPtr   database;
  360.    struct struct_BLAST0_Sequence PNTR   query;
  361.    ValNodePtr   options;
  362.    Uint1   return_matrix;
  363.    Uint1   return_query;
  364.    Uint1   return_BLAST0result;
  365.    Uint1   return_query_seq_in_seg;
  366.    Uint1   return_db_seq_in_seg;
  367. } BLAST0Search, PNTR BLAST0SearchPtr;
  368.  
  369.  
  370. BLAST0SearchPtr LIBCALL BLAST0SearchFree PROTO ((BLAST0SearchPtr ));
  371. BLAST0SearchPtr LIBCALL BLAST0SearchNew PROTO (( void ));
  372. BLAST0SearchPtr LIBCALL BLAST0SearchAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  373. Boolean LIBCALL BLAST0SearchAsnWrite PROTO (( BLAST0SearchPtr , AsnIoPtr, AsnTypePtr));
  374.  
  375. typedef ValNodePtr BLAST0ResponsePtr;
  376. typedef ValNode BLAST0Response;
  377. #define BLAST0Response_hello 1
  378. #define BLAST0Response_motd 2
  379. #define BLAST0Response_prog_info 3
  380. #define BLAST0Response_usage_info 4
  381. #define BLAST0Response_db_info 5
  382. #define BLAST0Response_matrix_info 6
  383. #define BLAST0Response_ack 7
  384. #define BLAST0Response_goodbye 8
  385. #define BLAST0Response_queued 9
  386. #define BLAST0Response_preface 10
  387. #define BLAST0Response_query 11
  388. #define BLAST0Response_dbdesc 12
  389. #define BLAST0Response_matrix 13
  390. #define BLAST0Response_kablk 14
  391. #define BLAST0Response_job_start 15
  392. #define BLAST0Response_job_progress 16
  393. #define BLAST0Response_job_done 17
  394. #define BLAST0Response_score_defs 18
  395. #define BLAST0Response_result 19
  396. #define BLAST0Response_seqalign 20
  397. #define BLAST0Response_parms 21
  398. #define BLAST0Response_stats 22
  399. #define BLAST0Response_warning 23
  400. #define BLAST0Response_status 24
  401.  
  402.  
  403. BLAST0ResponsePtr LIBCALL BLAST0ResponseFree PROTO ((BLAST0ResponsePtr ));
  404. BLAST0ResponsePtr LIBCALL BLAST0ResponseAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  405. Boolean LIBCALL BLAST0ResponseAsnWrite PROTO (( BLAST0ResponsePtr , AsnIoPtr, AsnTypePtr));
  406.  
  407.  
  408.  
  409. /**************************************************
  410. *
  411. *    BLAST0Ack
  412. *
  413. **************************************************/
  414. typedef struct struct_BLAST0_Ack {
  415.    Uint4 OBbits__;
  416.    Int4   code;
  417.    CharPtr   reason;
  418. } BLAST0Ack, PNTR BLAST0AckPtr;
  419.  
  420.  
  421. BLAST0AckPtr LIBCALL BLAST0AckFree PROTO ((BLAST0AckPtr ));
  422. BLAST0AckPtr LIBCALL BLAST0AckNew PROTO (( void ));
  423. BLAST0AckPtr LIBCALL BLAST0AckAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  424. Boolean LIBCALL BLAST0AckAsnWrite PROTO (( BLAST0AckPtr , AsnIoPtr, AsnTypePtr));
  425.  
  426.  
  427.  
  428. /**************************************************
  429. *
  430. *    BLAST0Queued
  431. *
  432. **************************************************/
  433. typedef struct struct_BLAST0_Queued {
  434.    Uint4 OBbits__;
  435.    CharPtr   name;
  436.    Int4   length;
  437. } BLAST0Queued, PNTR BLAST0QueuedPtr;
  438.  
  439.  
  440. BLAST0QueuedPtr LIBCALL BLAST0QueuedFree PROTO ((BLAST0QueuedPtr ));
  441. BLAST0QueuedPtr LIBCALL BLAST0QueuedNew PROTO (( void ));
  442. BLAST0QueuedPtr LIBCALL BLAST0QueuedAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  443. Boolean LIBCALL BLAST0QueuedAsnWrite PROTO (( BLAST0QueuedPtr , AsnIoPtr, AsnTypePtr));
  444.  
  445.  
  446.  
  447. /**************************************************
  448. *
  449. *    BLAST0ScoreInfo
  450. *
  451. **************************************************/
  452. typedef struct struct_BLAST0_Score_Info {
  453.    struct struct_BLAST0_Score_Info PNTR next;
  454.    Uint4 OBbits__;
  455.    Int4   sid;
  456.    CharPtr   tag;
  457.    CharPtr   desc;
  458. } BLAST0ScoreInfo, PNTR BLAST0ScoreInfoPtr;
  459.  
  460.  
  461. BLAST0ScoreInfoPtr LIBCALL BLAST0ScoreInfoFree PROTO ((BLAST0ScoreInfoPtr ));
  462. BLAST0ScoreInfoPtr LIBCALL BLAST0ScoreInfoNew PROTO (( void ));
  463. BLAST0ScoreInfoPtr LIBCALL BLAST0ScoreInfoAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  464. Boolean LIBCALL BLAST0ScoreInfoAsnWrite PROTO (( BLAST0ScoreInfoPtr , AsnIoPtr, AsnTypePtr));
  465.  
  466.  
  467.  
  468. /**************************************************
  469. *
  470. *    BLAST0SeqUsage
  471. *
  472. **************************************************/
  473. typedef struct struct_BLAST0_Seq_usage {
  474.    Uint4 OBbits__;
  475.    Uint2   raw;
  476.    Uint2   cooked;
  477. } BLAST0SeqUsage, PNTR BLAST0SeqUsagePtr;
  478.  
  479.  
  480. BLAST0SeqUsagePtr LIBCALL BLAST0SeqUsageFree PROTO ((BLAST0SeqUsagePtr ));
  481. BLAST0SeqUsagePtr LIBCALL BLAST0SeqUsageNew PROTO (( void ));
  482. BLAST0SeqUsagePtr LIBCALL BLAST0SeqUsageAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  483. Boolean LIBCALL BLAST0SeqUsageAsnWrite PROTO (( BLAST0SeqUsagePtr , AsnIoPtr, AsnTypePtr));
  484.  
  485. /* following #defines are for enumerated type, not used by object loaders */
  486. #define BLAST0_Alphatype_not_set 0
  487. #define BLAST0_Alphatype_amino_acid 1
  488. #define BLAST0_Alphatype_nucleic_acid 2
  489. #define BLAST0_Alphatype_other 255
  490.  
  491.  
  492.  
  493. /**************************************************
  494. *
  495. *    BLAST0Histogram
  496. *
  497. **************************************************/
  498. typedef struct struct_BLAST0_Histogram {
  499.    Uint4 OBbits__;
  500.    FloatHi   expect;
  501.    Int4   observed;
  502.    Int4   base;
  503.    Int4   nbars;
  504.    struct struct_BLAST0_Histogram_bar PNTR   bar;
  505. } BLAST0Histogram, PNTR BLAST0HistogramPtr;
  506.  
  507.  
  508. BLAST0HistogramPtr LIBCALL BLAST0HistogramFree PROTO ((BLAST0HistogramPtr ));
  509. BLAST0HistogramPtr LIBCALL BLAST0HistogramNew PROTO (( void ));
  510. BLAST0HistogramPtr LIBCALL BLAST0HistogramAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  511. Boolean LIBCALL BLAST0HistogramAsnWrite PROTO (( BLAST0HistogramPtr , AsnIoPtr, AsnTypePtr));
  512.  
  513.  
  514.  
  515. /**************************************************
  516. *
  517. *    BLAST0HitList
  518. *
  519. **************************************************/
  520. typedef struct struct_BLAST0_HitList {
  521.    struct struct_BLAST0_HitList PNTR next;
  522.    Uint4 OBbits__;
  523.    Int4   count;
  524.    struct struct_BLAST0_KA_Blk PNTR   kablk;
  525.    struct struct_BLAST0_HSP PNTR   hsps;
  526.    struct struct_BLAST0_Sequence PNTR   seqs;
  527. } BLAST0HitList, PNTR BLAST0HitListPtr;
  528.  
  529.  
  530. BLAST0HitListPtr LIBCALL BLAST0HitListFree PROTO ((BLAST0HitListPtr ));
  531. BLAST0HitListPtr LIBCALL BLAST0HitListNew PROTO (( void ));
  532. BLAST0HitListPtr LIBCALL BLAST0HitListAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  533. Boolean LIBCALL BLAST0HitListAsnWrite PROTO (( BLAST0HitListPtr , AsnIoPtr, AsnTypePtr));
  534.  
  535.  
  536.  
  537. /**************************************************
  538. *
  539. *    BLAST0HistogramBar
  540. *
  541. **************************************************/
  542. typedef struct struct_BLAST0_Histogram_bar {
  543.    struct struct_BLAST0_Histogram_bar PNTR next;
  544.    Uint4 OBbits__;
  545.    FloatHi   x;
  546.    Int4   n;
  547. } BLAST0HistogramBar, PNTR BLAST0HistogramBarPtr;
  548.  
  549.  
  550. BLAST0HistogramBarPtr LIBCALL BLAST0HistogramBarFree PROTO ((BLAST0HistogramBarPtr ));
  551. BLAST0HistogramBarPtr LIBCALL BLAST0HistogramBarNew PROTO (( void ));
  552. BLAST0HistogramBarPtr LIBCALL BLAST0HistogramBarAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  553. Boolean LIBCALL BLAST0HistogramBarAsnWrite PROTO (( BLAST0HistogramBarPtr , AsnIoPtr, AsnTypePtr));
  554.  
  555.  
  556.  
  557. /**************************************************
  558. *
  559. *    BLAST0HSP
  560. *
  561. **************************************************/
  562. typedef struct struct_BLAST0_HSP {
  563.    struct struct_BLAST0_HSP PNTR next;
  564.    Uint4 OBbits__;
  565.    Int4   matid;
  566.    struct struct_Score PNTR   scores;
  567.    Int4   len;
  568.    struct struct_BLAST0_Segment PNTR   segs;
  569. } BLAST0HSP, PNTR BLAST0HSPPtr;
  570.  
  571.  
  572. BLAST0HSPPtr LIBCALL BLAST0HSPFree PROTO ((BLAST0HSPPtr ));
  573. BLAST0HSPPtr LIBCALL BLAST0HSPNew PROTO (( void ));
  574. BLAST0HSPPtr LIBCALL BLAST0HSPAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  575. Boolean LIBCALL BLAST0HSPAsnWrite PROTO (( BLAST0HSPPtr , AsnIoPtr, AsnTypePtr));
  576.  
  577.  
  578.  
  579. /**************************************************
  580. *
  581. *    BLAST0Segment
  582. *
  583. **************************************************/
  584. typedef struct struct_BLAST0_Segment {
  585.    struct struct_BLAST0_Segment PNTR next;
  586.    Uint4 OBbits__;
  587.    struct struct_BLAST0_Seq_interval PNTR   loc;
  588.    ValNodePtr   str;
  589.    ValNodePtr   str_raw;
  590. } BLAST0Segment, PNTR BLAST0SegmentPtr;
  591.  
  592.  
  593. BLAST0SegmentPtr LIBCALL BLAST0SegmentFree PROTO ((BLAST0SegmentPtr ));
  594. BLAST0SegmentPtr LIBCALL BLAST0SegmentNew PROTO (( void ));
  595. BLAST0SegmentPtr LIBCALL BLAST0SegmentAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  596. Boolean LIBCALL BLAST0SegmentAsnWrite PROTO (( BLAST0SegmentPtr , AsnIoPtr, AsnTypePtr));
  597.  
  598.  
  599.  
  600. /**************************************************
  601. *
  602. *    BLAST0SeqInterval
  603. *
  604. **************************************************/
  605. typedef struct struct_BLAST0_Seq_interval {
  606.    Uint4 OBbits__;
  607. #define OB__BLAST0_Seq_interval_strand 0
  608.  
  609.    Uint2   strand;
  610.    /* following #defines are for enumerated type, not used by object loaders */
  611. #define BLAST0_Seq_interval_strand_plus 1
  612. #define BLAST0_Seq_interval_strand_minus 2
  613. #define BLAST0_Seq_interval_strand_both 3
  614. #define BLAST0_Seq_interval_strand_plus_rf 5
  615. #define BLAST0_Seq_interval_strand_minus_rf 6
  616.  
  617.    Int4   from;
  618.    Int4   to;
  619. } BLAST0SeqInterval, PNTR BLAST0SeqIntervalPtr;
  620.  
  621.  
  622. BLAST0SeqIntervalPtr LIBCALL BLAST0SeqIntervalFree PROTO ((BLAST0SeqIntervalPtr ));
  623. BLAST0SeqIntervalPtr LIBCALL BLAST0SeqIntervalNew PROTO (( void ));
  624. BLAST0SeqIntervalPtr LIBCALL BLAST0SeqIntervalAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  625. Boolean LIBCALL BLAST0SeqIntervalAsnWrite PROTO (( BLAST0SeqIntervalPtr , AsnIoPtr, AsnTypePtr));
  626.  
  627. typedef ValNodePtr BLAST0SeqDataPtr;
  628. typedef ValNode BLAST0SeqData;
  629. #define BLAST0SeqData_ncbistdaa 1
  630. #define BLAST0SeqData_ncbi2na 2
  631. #define BLAST0SeqData_ncbi4na 3
  632.  
  633.  
  634. BLAST0SeqDataPtr LIBCALL BLAST0SeqDataFree PROTO ((BLAST0SeqDataPtr ));
  635. BLAST0SeqDataPtr LIBCALL BLAST0SeqDataAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  636. Boolean LIBCALL BLAST0SeqDataAsnWrite PROTO (( BLAST0SeqDataPtr , AsnIoPtr, AsnTypePtr));
  637.  
  638.  
  639.  
  640. /**************************************************
  641. *
  642. *    BLAST0SeqDesc
  643. *
  644. **************************************************/
  645. typedef struct struct_BLAST0_Seq_desc {
  646.    struct struct_BLAST0_Seq_desc PNTR next;
  647.    Uint4 OBbits__;
  648.    ValNodePtr   id;
  649.    CharPtr   defline;
  650. } BLAST0SeqDesc, PNTR BLAST0SeqDescPtr;
  651.  
  652.  
  653. BLAST0SeqDescPtr LIBCALL BLAST0SeqDescFree PROTO ((BLAST0SeqDescPtr ));
  654. BLAST0SeqDescPtr LIBCALL BLAST0SeqDescNew PROTO (( void ));
  655. BLAST0SeqDescPtr LIBCALL BLAST0SeqDescAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  656. Boolean LIBCALL BLAST0SeqDescAsnWrite PROTO (( BLAST0SeqDescPtr , AsnIoPtr, AsnTypePtr));
  657.  
  658. typedef ValNodePtr BLAST0SeqIdPtr;
  659. typedef ValNode BLAST0SeqId;
  660.  
  661. #ifdef NLM_GENERATED_CODE_PROTO
  662.  
  663. BLAST0SeqIdPtr LIBCALL BLAST0SeqIdFree PROTO ((BLAST0SeqIdPtr ));
  664. BLAST0SeqIdPtr LIBCALL BLAST0SeqIdAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  665. Boolean LIBCALL BLAST0SeqIdAsnWrite PROTO (( BLAST0SeqIdPtr , AsnIoPtr, AsnTypePtr));
  666.  
  667. #endif /* NLM_GENERATED_CODE_PROTO */
  668.  
  669.  
  670. #ifdef NLM_GENERATED_CODE_PROTO
  671.  
  672. typedef ValNodePtr BLAST0SeqId_elementPtr;
  673. typedef ValNode BLAST0SeqId_element;
  674.  
  675. #endif /* NLM_GENERATED_CODE_PROTO */
  676.  
  677. #define BLAST0SeqId_giid 1
  678. #define BLAST0SeqId_textid 2
  679.  
  680. #ifdef NLM_GENERATED_CODE_PROTO
  681.  
  682. BLAST0SeqId_elementPtr LIBCALL BLAST0SeqId_elementFree PROTO ((BLAST0SeqId_elementPtr ));
  683. BLAST0SeqId_elementPtr LIBCALL BLAST0SeqId_elementAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
  684. Boolean LIBCALL BLAST0SeqId_elementAsnWrite PROTO (( BLAST0SeqId_elementPtr , AsnIoPtr, AsnTypePtr));
  685.  
  686. #endif /* NLM_GENERATED_CODE_PROTO */
  687.  
  688. /* following #defines are for enumerated type, not used by object loaders */
  689. #define BLAST0_Alpha_ID_ncbi4na 4
  690. #define BLAST0_Alpha_ID_ncbistdaa 11
  691.  
  692. #ifdef __cplusplus
  693. /* { */ }
  694. #endif
  695.  
  696. #endif /* _objblst2_ */
  697.