1 #ifndef _objmacro_
2 #define _objmacro_
3 
4 #undef NLM_EXTERN
5 #ifdef NLM_IMPORT
6 #define NLM_EXTERN NLM_IMPORT
7 #else
8 #define NLM_EXTERN extern
9 #endif
10 
11 
12 #ifdef __cplusplus
13 extern "C" { /* } */
14 #endif
15 
16 
17 /**************************************************
18 *
19 *    Generated objects for Module NCBI-Macro
20 *    Generated using ASNCODE Revision: 6.19 at Apr 21, 2015  2:54 PM
21 *
22 **************************************************/
23 
24 NLM_EXTERN Boolean LIBCALL
25 objmacroAsnLoad PROTO((void));
26 
27 
28 /**************************************************
29 *
30 *    AECRAction
31 *
32 **************************************************/
33 typedef struct struct_AECR_action {
34    ValNodePtr   action;
35    Uint1   also_change_mrna;
36    ValNodePtr   constraint;
37 } AECRAction, PNTR AECRActionPtr;
38 
39 
40 NLM_EXTERN AECRActionPtr LIBCALL AECRActionFree PROTO ((AECRActionPtr ));
41 NLM_EXTERN AECRActionPtr LIBCALL AECRActionNew PROTO (( void ));
42 NLM_EXTERN AECRActionPtr LIBCALL AECRActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
43 NLM_EXTERN Boolean LIBCALL AECRActionAsnWrite PROTO (( AECRActionPtr , AsnIoPtr, AsnTypePtr));
44 
45 
46 
47 /**************************************************
48 *
49 *    ParseAction
50 *
51 **************************************************/
52 typedef struct struct_Parse_action {
53    struct struct_Text_portion PNTR   portion;
54    ValNodePtr   src;
55    ValNodePtr   dest;
56    Uint2   capitalization;
57    Uint1   remove_from_parsed;
58    ValNodePtr   transform;
59    Uint2   existing_text;
60 } ParseAction, PNTR ParseActionPtr;
61 
62 
63 NLM_EXTERN ParseActionPtr LIBCALL ParseActionFree PROTO ((ParseActionPtr ));
64 NLM_EXTERN ParseActionPtr LIBCALL ParseActionNew PROTO (( void ));
65 NLM_EXTERN ParseActionPtr LIBCALL ParseActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
66 NLM_EXTERN Boolean LIBCALL ParseActionAsnWrite PROTO (( ParseActionPtr , AsnIoPtr, AsnTypePtr));
67 
68 
69 
70 /**************************************************
71 *
72 *    MacroActionList
73 *
74 **************************************************/
75 typedef ValNode MacroActionList;
76 typedef ValNodePtr MacroActionListPtr;
77 #define MacroActionListNew() ValNodeNew(NULL)
78 
79 #ifdef NLM_GENERATED_CODE_PROTO
80 
81 NLM_EXTERN MacroActionListPtr LIBCALL MacroActionListFree PROTO ((MacroActionListPtr ));
82 NLM_EXTERN MacroActionListPtr LIBCALL MacroActionListNew PROTO (( void ));
83 NLM_EXTERN MacroActionListPtr LIBCALL MacroActionListAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
84 NLM_EXTERN Boolean LIBCALL MacroActionListAsnWrite PROTO (( MacroActionListPtr , AsnIoPtr, AsnTypePtr));
85 
86 #endif /* NLM_GENERATED_CODE_PROTO */
87 
88 
89 
90 /**************************************************
91 *
92 *    SuspectRuleSet
93 *
94 **************************************************/
95 typedef struct struct_Suspect_rule SuspectRuleSet;
96 typedef struct struct_Suspect_rule PNTR SuspectRuleSetPtr;
97 #define SuspectRuleSetNew() Suspect_ruleNew()
98 
99 #ifdef NLM_GENERATED_CODE_PROTO
100 
101 NLM_EXTERN SuspectRuleSetPtr LIBCALL SuspectRuleSetFree PROTO ((SuspectRuleSetPtr ));
102 NLM_EXTERN SuspectRuleSetPtr LIBCALL SuspectRuleSetNew PROTO (( void ));
103 NLM_EXTERN SuspectRuleSetPtr LIBCALL SuspectRuleSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
104 NLM_EXTERN Boolean LIBCALL SuspectRuleSetAsnWrite PROTO (( SuspectRuleSetPtr , AsnIoPtr, AsnTypePtr));
105 
106 #endif /* NLM_GENERATED_CODE_PROTO */
107 
108 /* following #defines are for enumerated type, not used by object loaders */
109 #define String_location_contains 1
110 #define String_location_equals 2
111 #define String_location_starts 3
112 #define String_location_ends 4
113 #define String_location_inlist 5
114 
115 
116 
117 /**************************************************
118 *
119 *    WordSubstitution
120 *
121 **************************************************/
122 typedef struct struct_Word_substitution {
123    struct struct_Word_substitution PNTR next;
124    CharPtr   word;
125    ValNodePtr   synonyms;
126    Uint1   case_sensitive;
127    Uint1   whole_word;
128 } WordSubstitution, PNTR WordSubstitutionPtr;
129 
130 
131 NLM_EXTERN WordSubstitutionPtr LIBCALL WordSubstitutionFree PROTO ((WordSubstitutionPtr ));
132 NLM_EXTERN WordSubstitutionPtr LIBCALL WordSubstitutionNew PROTO (( void ));
133 NLM_EXTERN WordSubstitutionPtr LIBCALL WordSubstitutionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
134 NLM_EXTERN Boolean LIBCALL WordSubstitutionAsnWrite PROTO (( WordSubstitutionPtr , AsnIoPtr, AsnTypePtr));
135 
136 
137 
138 /**************************************************
139 *
140 *    WordSubstitutionSet
141 *
142 **************************************************/
143 typedef struct struct_Word_substitution WordSubstitutionSet;
144 typedef struct struct_Word_substitution PNTR WordSubstitutionSetPtr;
145 #define WordSubstitutionSetNew() Word_substitutionNew()
146 
147 #ifdef NLM_GENERATED_CODE_PROTO
148 
149 NLM_EXTERN WordSubstitutionSetPtr LIBCALL WordSubstitutionSetFree PROTO ((WordSubstitutionSetPtr ));
150 NLM_EXTERN WordSubstitutionSetPtr LIBCALL WordSubstitutionSetNew PROTO (( void ));
151 NLM_EXTERN WordSubstitutionSetPtr LIBCALL WordSubstitutionSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
152 NLM_EXTERN Boolean LIBCALL WordSubstitutionSetAsnWrite PROTO (( WordSubstitutionSetPtr , AsnIoPtr, AsnTypePtr));
153 
154 #endif /* NLM_GENERATED_CODE_PROTO */
155 
156 
157 
158 /**************************************************
159 *
160 *    StringConstraint
161 *
162 **************************************************/
163 typedef struct struct_String_constraint {
164    struct struct_String_constraint PNTR next;
165    CharPtr   match_text;
166    Uint2   match_location;
167    Uint1   case_sensitive;
168    Uint1   ignore_space;
169    Uint1   ignore_punct;
170    struct struct_Word_substitution PNTR   ignore_words;
171    Uint1   whole_word;
172    Uint1   not_present;
173    Uint1   is_all_caps;
174    Uint1   is_all_lower;
175    Uint1   is_all_punct;
176    Uint1   ignore_weasel;
177    Uint1   is_first_cap;
178    Uint1   is_first_each_cap;
179 } StringConstraint, PNTR StringConstraintPtr;
180 
181 
182 NLM_EXTERN StringConstraintPtr LIBCALL StringConstraintFree PROTO ((StringConstraintPtr ));
183 NLM_EXTERN StringConstraintPtr LIBCALL StringConstraintNew PROTO (( void ));
184 NLM_EXTERN StringConstraintPtr LIBCALL StringConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
185 NLM_EXTERN Boolean LIBCALL StringConstraintAsnWrite PROTO (( StringConstraintPtr , AsnIoPtr, AsnTypePtr));
186 
187 
188 
189 /**************************************************
190 *
191 *    StringConstraintSet
192 *
193 **************************************************/
194 typedef struct struct_String_constraint StringConstraintSet;
195 typedef struct struct_String_constraint PNTR StringConstraintSetPtr;
196 #define StringConstraintSetNew() String_constraintNew()
197 
198 #ifdef NLM_GENERATED_CODE_PROTO
199 
200 NLM_EXTERN StringConstraintSetPtr LIBCALL StringConstraintSetFree PROTO ((StringConstraintSetPtr ));
201 NLM_EXTERN StringConstraintSetPtr LIBCALL StringConstraintSetNew PROTO (( void ));
202 NLM_EXTERN StringConstraintSetPtr LIBCALL StringConstraintSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
203 NLM_EXTERN Boolean LIBCALL StringConstraintSetAsnWrite PROTO (( StringConstraintSetPtr , AsnIoPtr, AsnTypePtr));
204 
205 #endif /* NLM_GENERATED_CODE_PROTO */
206 
207 /* following #defines are for enumerated type, not used by object loaders */
208 #define Strand_constraint_any 0
209 #define Strand_constraint_plus 1
210 #define Strand_constraint_minus 2
211 
212 /* following #defines are for enumerated type, not used by object loaders */
213 #define Seqtype_constraint_any 0
214 #define Seqtype_constraint_nuc 1
215 #define Seqtype_constraint_prot 2
216 
217 /* following #defines are for enumerated type, not used by object loaders */
218 #define Partial_constraint_either 0
219 #define Partial_constraint_partial 1
220 #define Partial_constraint_complete 2
221 
222 /* following #defines are for enumerated type, not used by object loaders */
223 #define Location_type_constraint_any 0
224 #define Location_type_constraint_single_interval 1
225 #define Location_type_constraint_joined 2
226 #define Location_type_constraint_ordered 3
227 
228 typedef ValNodePtr LocationPosConstraintPtr;
229 typedef ValNode LocationPosConstraint;
230 #define LocationPosConstraint_dist_from_end 1
231 #define LocationPosConstraint_max_dist_from_end 2
232 #define LocationPosConstraint_min_dist_from_end 3
233 
234 
235 NLM_EXTERN LocationPosConstraintPtr LIBCALL LocationPosConstraintFree PROTO ((LocationPosConstraintPtr ));
236 NLM_EXTERN LocationPosConstraintPtr LIBCALL LocationPosConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
237 NLM_EXTERN Boolean LIBCALL LocationPosConstraintAsnWrite PROTO (( LocationPosConstraintPtr , AsnIoPtr, AsnTypePtr));
238 
239 
240 
241 /**************************************************
242 *
243 *    LocationConstraint
244 *
245 **************************************************/
246 typedef struct struct_Location_constraint {
247    Uint2   strand;
248    Uint2   seq_type;
249    Uint2   partial5;
250    Uint2   partial3;
251    Uint2   location_type;
252    ValNodePtr   end5;
253    ValNodePtr   end3;
254 } LocationConstraint, PNTR LocationConstraintPtr;
255 
256 
257 NLM_EXTERN LocationConstraintPtr LIBCALL LocationConstraintFree PROTO ((LocationConstraintPtr ));
258 NLM_EXTERN LocationConstraintPtr LIBCALL LocationConstraintNew PROTO (( void ));
259 NLM_EXTERN LocationConstraintPtr LIBCALL LocationConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
260 NLM_EXTERN Boolean LIBCALL LocationConstraintAsnWrite PROTO (( LocationConstraintPtr , AsnIoPtr, AsnTypePtr));
261 
262 /* following #defines are for enumerated type, not used by object loaders */
263 #define Object_type_constraint_any 0
264 #define Object_type_constraint_feature 1
265 #define Object_type_constraint_descriptor 2
266 
267 /* following #defines are for enumerated type, not used by object loaders */
268 #define Macro_feature_type_any 0
269 #define Macro_feature_type_gene 1
270 #define Macro_feature_type_org 2
271 #define Macro_feature_type_cds 3
272 #define Macro_feature_type_prot 4
273 #define Macro_feature_type_preRNA 5
274 #define Macro_feature_type_mRNA 6
275 #define Macro_feature_type_tRNA 7
276 #define Macro_feature_type_rRNA 8
277 #define Macro_feature_type_snRNA 9
278 #define Macro_feature_type_scRNA 10
279 #define Macro_feature_type_otherRNA 11
280 #define Macro_feature_type_pub 12
281 #define Macro_feature_type_seq 13
282 #define Macro_feature_type_imp 14
283 #define Macro_feature_type_allele 15
284 #define Macro_feature_type_attenuator 16
285 #define Macro_feature_type_c_region 17
286 #define Macro_feature_type_caat_signal 18
287 #define Macro_feature_type_imp_CDS 19
288 #define Macro_feature_type_conflict 20
289 #define Macro_feature_type_d_loop 21
290 #define Macro_feature_type_d_segment 22
291 #define Macro_feature_type_enhancer 23
292 #define Macro_feature_type_exon 24
293 #define Macro_feature_type_gC_signal 25
294 #define Macro_feature_type_iDNA 26
295 #define Macro_feature_type_intron 27
296 #define Macro_feature_type_j_segment 28
297 #define Macro_feature_type_ltr 29
298 #define Macro_feature_type_mat_peptide 30
299 #define Macro_feature_type_misc_binding 31
300 #define Macro_feature_type_misc_difference 32
301 #define Macro_feature_type_misc_feature 33
302 #define Macro_feature_type_misc_recomb 34
303 #define Macro_feature_type_misc_RNA 35
304 #define Macro_feature_type_misc_signal 36
305 #define Macro_feature_type_misc_structure 37
306 #define Macro_feature_type_modified_base 38
307 #define Macro_feature_type_mutation 39
308 #define Macro_feature_type_n_region 40
309 #define Macro_feature_type_old_sequence 41
310 #define Macro_feature_type_polyA_signal 42
311 #define Macro_feature_type_polyA_site 43
312 #define Macro_feature_type_precursor_RNA 44
313 #define Macro_feature_type_prim_transcript 45
314 #define Macro_feature_type_primer_bind 46
315 #define Macro_feature_type_promoter 47
316 #define Macro_feature_type_protein_bind 48
317 #define Macro_feature_type_rbs 49
318 #define Macro_feature_type_repeat_region 50
319 #define Macro_feature_type_rep_origin 51
320 #define Macro_feature_type_s_region 52
321 #define Macro_feature_type_sig_peptide 53
322 #define Macro_feature_type_source 54
323 #define Macro_feature_type_stem_loop 55
324 #define Macro_feature_type_sts 56
325 #define Macro_feature_type_tata_signal 57
326 #define Macro_feature_type_terminator 58
327 #define Macro_feature_type_transit_peptide 59
328 #define Macro_feature_type_unsure 60
329 #define Macro_feature_type_v_region 61
330 #define Macro_feature_type_v_segment 62
331 #define Macro_feature_type_variation 63
332 #define Macro_feature_type_virion 64
333 #define Macro_feature_type_n3clip 65
334 #define Macro_feature_type_n3UTR 66
335 #define Macro_feature_type_n5clip 67
336 #define Macro_feature_type_n5UTR 68
337 #define Macro_feature_type_n10_signal 69
338 #define Macro_feature_type_n35_signal 70
339 #define Macro_feature_type_site_ref 71
340 #define Macro_feature_type_region 72
341 #define Macro_feature_type_comment 73
342 #define Macro_feature_type_bond 74
343 #define Macro_feature_type_site 75
344 #define Macro_feature_type_rsite 76
345 #define Macro_feature_type_user 77
346 #define Macro_feature_type_txinit 78
347 #define Macro_feature_type_num 79
348 #define Macro_feature_type_psec_str 80
349 #define Macro_feature_type_non_std_residue 81
350 #define Macro_feature_type_het 82
351 #define Macro_feature_type_biosrc 83
352 #define Macro_feature_type_preprotein 84
353 #define Macro_feature_type_mat_peptide_aa 85
354 #define Macro_feature_type_sig_peptide_aa 86
355 #define Macro_feature_type_transit_peptide_aa 87
356 #define Macro_feature_type_snoRNA 88
357 #define Macro_feature_type_gap 89
358 #define Macro_feature_type_operon 90
359 #define Macro_feature_type_oriT 91
360 #define Macro_feature_type_ncRNA 92
361 #define Macro_feature_type_tmRNA 93
362 #define Macro_feature_type_mobile_element 94
363 #define Macro_feature_type_regulatory 95
364 
365 /* following #defines are for enumerated type, not used by object loaders */
366 #define Feat_qual_legal_allele 1
367 #define Feat_qual_legal_activity 2
368 #define Feat_qual_legal_anticodon 3
369 #define Feat_qual_legal_bound_moiety 4
370 #define Feat_qual_legal_chromosome 5
371 #define Feat_qual_legal_citation 6
372 #define Feat_qual_legal_codon 7
373 #define Feat_qual_legal_codon_start 8
374 #define Feat_qual_legal_codons_recognized 9
375 #define Feat_qual_legal_compare 10
376 #define Feat_qual_legal_cons_splice 11
377 #define Feat_qual_legal_db_xref 12
378 #define Feat_qual_legal_description 13
379 #define Feat_qual_legal_direction 14
380 #define Feat_qual_legal_ec_number 15
381 #define Feat_qual_legal_environmental_sample 16
382 #define Feat_qual_legal_evidence 17
383 #define Feat_qual_legal_exception 18
384 #define Feat_qual_legal_experiment 19
385 #define Feat_qual_legal_focus 20
386 #define Feat_qual_legal_frequency 21
387 #define Feat_qual_legal_function 22
388 #define Feat_qual_legal_gene 23
389 #define Feat_qual_legal_gene_description 24
390 #define Feat_qual_legal_inference 25
391 #define Feat_qual_legal_label 26
392 #define Feat_qual_legal_locus_tag 27
393 #define Feat_qual_legal_map 28
394 #define Feat_qual_legal_mobile_element 29
395 #define Feat_qual_legal_mod_base 30
396 #define Feat_qual_legal_mol_type 31
397 #define Feat_qual_legal_ncRNA_class 32
398 #define Feat_qual_legal_note 33
399 #define Feat_qual_legal_number 34
400 #define Feat_qual_legal_old_locus_tag 35
401 #define Feat_qual_legal_operon 36
402 #define Feat_qual_legal_organism 37
403 #define Feat_qual_legal_organelle 38
404 #define Feat_qual_legal_partial 39
405 #define Feat_qual_legal_phenotype 40
406 #define Feat_qual_legal_plasmid 41
407 #define Feat_qual_legal_product 42
408 #define Feat_qual_legal_protein_id 43
409 #define Feat_qual_legal_pseudo 44
410 #define Feat_qual_legal_rearranged 45
411 #define Feat_qual_legal_replace 46
412 #define Feat_qual_legal_rpt_family 47
413 #define Feat_qual_legal_rpt_type 48
414 #define Feat_qual_legal_rpt_unit 49
415 #define Feat_qual_legal_rpt_unit_seq 50
416 #define Feat_qual_legal_rpt_unit_range 51
417 #define Feat_qual_legal_segment 52
418 #define Feat_qual_legal_sequenced_mol 53
419 #define Feat_qual_legal_standard_name 54
420 #define Feat_qual_legal_synonym 55
421 #define Feat_qual_legal_transcript_id 56
422 #define Feat_qual_legal_transgenic 57
423 #define Feat_qual_legal_translation 58
424 #define Feat_qual_legal_transl_except 59
425 #define Feat_qual_legal_transl_table 60
426 #define Feat_qual_legal_usedin 61
427 #define Feat_qual_legal_mobile_element_type 62
428 #define Feat_qual_legal_mobile_element_name 63
429 #define Feat_qual_legal_gene_comment 64
430 #define Feat_qual_legal_satellite 65
431 #define Feat_qual_legal_satellite_type 66
432 #define Feat_qual_legal_satellite_name 67
433 #define Feat_qual_legal_location 68
434 #define Feat_qual_legal_tag_peptide 69
435 #define Feat_qual_legal_mobile_element_type_type 70
436 #define Feat_qual_legal_name 71
437 #define Feat_qual_legal_pcr_conditions 72
438 #define Feat_qual_legal_regulatory_class 73
439 
440 
441 
442 /**************************************************
443 *
444 *    FeatQualLegalVal
445 *
446 **************************************************/
447 typedef struct struct_Feat_qual_legal_val {
448    Uint2   qual;
449    CharPtr   val;
450 } FeatQualLegalVal, PNTR FeatQualLegalValPtr;
451 
452 
453 NLM_EXTERN FeatQualLegalValPtr LIBCALL FeatQualLegalValFree PROTO ((FeatQualLegalValPtr ));
454 NLM_EXTERN FeatQualLegalValPtr LIBCALL FeatQualLegalValNew PROTO (( void ));
455 NLM_EXTERN FeatQualLegalValPtr LIBCALL FeatQualLegalValAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
456 NLM_EXTERN Boolean LIBCALL FeatQualLegalValAsnWrite PROTO (( FeatQualLegalValPtr , AsnIoPtr, AsnTypePtr));
457 
458 typedef ValNodePtr FeatQualLegalValChoicePtr;
459 typedef ValNode FeatQualLegalValChoice;
460 #define FeatQualLegalValChoice_qual 1
461 
462 
463 NLM_EXTERN FeatQualLegalValChoicePtr LIBCALL FeatQualLegalValChoiceFree PROTO ((FeatQualLegalValChoicePtr ));
464 NLM_EXTERN FeatQualLegalValChoicePtr LIBCALL FeatQualLegalValChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
465 NLM_EXTERN Boolean LIBCALL FeatQualLegalValChoiceAsnWrite PROTO (( FeatQualLegalValChoicePtr , AsnIoPtr, AsnTypePtr));
466 
467 
468 
469 /**************************************************
470 *
471 *    FeatQualLegalSet
472 *
473 **************************************************/
474 typedef ValNode FeatQualLegalSet;
475 typedef ValNodePtr FeatQualLegalSetPtr;
476 #define FeatQualLegalSetNew() ValNodeNew(NULL)
477 
478 #ifdef NLM_GENERATED_CODE_PROTO
479 
480 NLM_EXTERN FeatQualLegalSetPtr LIBCALL FeatQualLegalSetFree PROTO ((FeatQualLegalSetPtr ));
481 NLM_EXTERN FeatQualLegalSetPtr LIBCALL FeatQualLegalSetNew PROTO (( void ));
482 NLM_EXTERN FeatQualLegalSetPtr LIBCALL FeatQualLegalSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
483 NLM_EXTERN Boolean LIBCALL FeatQualLegalSetAsnWrite PROTO (( FeatQualLegalSetPtr , AsnIoPtr, AsnTypePtr));
484 
485 #endif /* NLM_GENERATED_CODE_PROTO */
486 
487 typedef ValNodePtr FeatQualChoicePtr;
488 typedef ValNode FeatQualChoice;
489 #define FeatQualChoice_legal_qual 1
490 #define FeatQualChoice_illegal_qual 2
491 
492 
493 NLM_EXTERN FeatQualChoicePtr LIBCALL FeatQualChoiceFree PROTO ((FeatQualChoicePtr ));
494 NLM_EXTERN FeatQualChoicePtr LIBCALL FeatQualChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
495 NLM_EXTERN Boolean LIBCALL FeatQualChoiceAsnWrite PROTO (( FeatQualChoicePtr , AsnIoPtr, AsnTypePtr));
496 
497 
498 
499 /**************************************************
500 *
501 *    FeatureField
502 *
503 **************************************************/
504 typedef struct struct_Feature_field {
505    Uint2   type;
506    ValNodePtr   field;
507 } FeatureField, PNTR FeatureFieldPtr;
508 
509 
510 NLM_EXTERN FeatureFieldPtr LIBCALL FeatureFieldFree PROTO ((FeatureFieldPtr ));
511 NLM_EXTERN FeatureFieldPtr LIBCALL FeatureFieldNew PROTO (( void ));
512 NLM_EXTERN FeatureFieldPtr LIBCALL FeatureFieldAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
513 NLM_EXTERN Boolean LIBCALL FeatureFieldAsnWrite PROTO (( FeatureFieldPtr , AsnIoPtr, AsnTypePtr));
514 
515 
516 
517 /**************************************************
518 *
519 *    FeatureFieldLegal
520 *
521 **************************************************/
522 typedef struct struct_Feature_field_legal {
523    Uint2   type;
524    Uint2   field;
525 } FeatureFieldLegal, PNTR FeatureFieldLegalPtr;
526 
527 
528 NLM_EXTERN FeatureFieldLegalPtr LIBCALL FeatureFieldLegalFree PROTO ((FeatureFieldLegalPtr ));
529 NLM_EXTERN FeatureFieldLegalPtr LIBCALL FeatureFieldLegalNew PROTO (( void ));
530 NLM_EXTERN FeatureFieldLegalPtr LIBCALL FeatureFieldLegalAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
531 NLM_EXTERN Boolean LIBCALL FeatureFieldLegalAsnWrite PROTO (( FeatureFieldLegalPtr , AsnIoPtr, AsnTypePtr));
532 
533 
534 
535 /**************************************************
536 *
537 *    FeatureFieldPair
538 *
539 **************************************************/
540 typedef struct struct_Feature_field_pair {
541    Uint2   type;
542    ValNodePtr   field_from;
543    ValNodePtr   field_to;
544 } FeatureFieldPair, PNTR FeatureFieldPairPtr;
545 
546 
547 NLM_EXTERN FeatureFieldPairPtr LIBCALL FeatureFieldPairFree PROTO ((FeatureFieldPairPtr ));
548 NLM_EXTERN FeatureFieldPairPtr LIBCALL FeatureFieldPairNew PROTO (( void ));
549 NLM_EXTERN FeatureFieldPairPtr LIBCALL FeatureFieldPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
550 NLM_EXTERN Boolean LIBCALL FeatureFieldPairAsnWrite PROTO (( FeatureFieldPairPtr , AsnIoPtr, AsnTypePtr));
551 
552 typedef ValNodePtr RnaFeatTypePtr;
553 typedef ValNode RnaFeatType;
554 #define RnaFeatType_any 1
555 #define RnaFeatType_preRNA 2
556 #define RnaFeatType_mRNA 3
557 #define RnaFeatType_tRNA 4
558 #define RnaFeatType_rRNA 5
559 #define RnaFeatType_ncRNA 6
560 #define RnaFeatType_tmRNA 7
561 #define RnaFeatType_miscRNA 8
562 
563 
564 NLM_EXTERN RnaFeatTypePtr LIBCALL RnaFeatTypeFree PROTO ((RnaFeatTypePtr ));
565 NLM_EXTERN RnaFeatTypePtr LIBCALL RnaFeatTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
566 NLM_EXTERN Boolean LIBCALL RnaFeatTypeAsnWrite PROTO (( RnaFeatTypePtr , AsnIoPtr, AsnTypePtr));
567 
568 /* following #defines are for enumerated type, not used by object loaders */
569 #define Rna_field_product 1
570 #define Rna_field_comment 2
571 #define Rna_field_codons_recognized 3
572 #define Rna_field_ncrna_class 4
573 #define Rna_field_anticodon 5
574 #define Rna_field_transcript_id 6
575 #define Rna_field_gene_locus 7
576 #define Rna_field_gene_description 8
577 #define Rna_field_gene_maploc 9
578 #define Rna_field_gene_locus_tag 10
579 #define Rna_field_gene_synonym 11
580 #define Rna_field_gene_comment 12
581 #define Rna_field_tag_peptide 13
582 
583 
584 
585 /**************************************************
586 *
587 *    RnaQual
588 *
589 **************************************************/
590 typedef struct struct_Rna_qual {
591    ValNodePtr   type;
592    Uint2   field;
593 } RnaQual, PNTR RnaQualPtr;
594 
595 
596 NLM_EXTERN RnaQualPtr LIBCALL RnaQualFree PROTO ((RnaQualPtr ));
597 NLM_EXTERN RnaQualPtr LIBCALL RnaQualNew PROTO (( void ));
598 NLM_EXTERN RnaQualPtr LIBCALL RnaQualAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
599 NLM_EXTERN Boolean LIBCALL RnaQualAsnWrite PROTO (( RnaQualPtr , AsnIoPtr, AsnTypePtr));
600 
601 
602 
603 /**************************************************
604 *
605 *    RnaQualPair
606 *
607 **************************************************/
608 typedef struct struct_Rna_qual_pair {
609    ValNodePtr   type;
610    Uint2   field_from;
611    Uint2   field_to;
612 } RnaQualPair, PNTR RnaQualPairPtr;
613 
614 
615 NLM_EXTERN RnaQualPairPtr LIBCALL RnaQualPairFree PROTO ((RnaQualPairPtr ));
616 NLM_EXTERN RnaQualPairPtr LIBCALL RnaQualPairNew PROTO (( void ));
617 NLM_EXTERN RnaQualPairPtr LIBCALL RnaQualPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
618 NLM_EXTERN Boolean LIBCALL RnaQualPairAsnWrite PROTO (( RnaQualPairPtr , AsnIoPtr, AsnTypePtr));
619 
620 /* following #defines are for enumerated type, not used by object loaders */
621 #define Source_qual_acronym 1
622 #define Source_qual_anamorph 2
623 #define Source_qual_authority 3
624 #define Source_qual_bio_material 4
625 #define Source_qual_biotype 5
626 #define Source_qual_biovar 6
627 #define Source_qual_breed 7
628 #define Source_qual_cell_line 8
629 #define Source_qual_cell_type 9
630 #define Source_qual_chemovar 10
631 #define Source_qual_chromosome 11
632 #define Source_qual_clone 12
633 #define Source_qual_clone_lib 13
634 #define Source_qual_collected_by 14
635 #define Source_qual_collection_date 15
636 #define Source_qual_common 16
637 #define Source_qual_common_name 17
638 #define Source_qual_country 18
639 #define Source_qual_cultivar 19
640 #define Source_qual_culture_collection 20
641 #define Source_qual_dev_stage 21
642 #define Source_qual_division 22
643 #define Source_qual_dosage 23
644 #define Source_qual_ecotype 24
645 #define Source_qual_endogenous_virus_name 25
646 #define Source_qual_environmental_sample 26
647 #define Source_qual_forma 27
648 #define Source_qual_forma_specialis 28
649 #define Source_qual_frequency 29
650 #define Source_qual_fwd_primer_name 30
651 #define Source_qual_fwd_primer_seq 31
652 #define Source_qual_gb_acronym 32
653 #define Source_qual_gb_anamorph 33
654 #define Source_qual_gb_synonym 34
655 #define Source_qual_genotype 35
656 #define Source_qual_germline 36
657 #define Source_qual_group 37
658 #define Source_qual_haplotype 38
659 #define Source_qual_identified_by 39
660 #define Source_qual_insertion_seq_name 40
661 #define Source_qual_isolate 41
662 #define Source_qual_isolation_source 42
663 #define Source_qual_lab_host 43
664 #define Source_qual_lat_lon 44
665 #define Source_qual_lineage 45
666 #define Source_qual_map 46
667 #define Source_qual_metagenome_source 47
668 #define Source_qual_metagenomic 48
669 #define Source_qual_old_lineage 49
670 #define Source_qual_old_name 50
671 #define Source_qual_orgmod_note 51
672 #define Source_qual_nat_host 52
673 #define Source_qual_pathovar 53
674 #define Source_qual_plasmid_name 54
675 #define Source_qual_plastid_name 55
676 #define Source_qual_pop_variant 56
677 #define Source_qual_rearranged 57
678 #define Source_qual_rev_primer_name 58
679 #define Source_qual_rev_primer_seq 59
680 #define Source_qual_segment 60
681 #define Source_qual_serogroup 61
682 #define Source_qual_serotype 62
683 #define Source_qual_serovar 63
684 #define Source_qual_sex 64
685 #define Source_qual_specimen_voucher 65
686 #define Source_qual_strain 66
687 #define Source_qual_subclone 67
688 #define Source_qual_subgroup 68
689 #define Source_qual_subsource_note 69
690 #define Source_qual_sub_species 70
691 #define Source_qual_substrain 71
692 #define Source_qual_subtype 72
693 #define Source_qual_synonym 73
694 #define Source_qual_taxname 74
695 #define Source_qual_teleomorph 75
696 #define Source_qual_tissue_lib 76
697 #define Source_qual_tissue_type 77
698 #define Source_qual_transgenic 78
699 #define Source_qual_transposon_name 79
700 #define Source_qual_type 80
701 #define Source_qual_variety 81
702 #define Source_qual_specimen_voucher_INST 82
703 #define Source_qual_specimen_voucher_COLL 83
704 #define Source_qual_specimen_voucher_SpecID 84
705 #define Source_qual_culture_collection_INST 85
706 #define Source_qual_culture_collection_COLL 86
707 #define Source_qual_culture_collection_SpecID 87
708 #define Source_qual_bio_material_INST 88
709 #define Source_qual_bio_material_COLL 89
710 #define Source_qual_bio_material_SpecID 90
711 #define Source_qual_all_notes 91
712 #define Source_qual_mating_type 92
713 #define Source_qual_linkage_group 93
714 #define Source_qual_haplogroup 94
715 #define Source_qual_all_quals 95
716 #define Source_qual_dbxref 96
717 #define Source_qual_taxid 97
718 #define Source_qual_all_primers 98
719 #define Source_qual_altitude 99
720 #define Source_qual_type_material 100
721 
722 
723 
724 /**************************************************
725 *
726 *    SourceQualPair
727 *
728 **************************************************/
729 typedef struct struct_Source_qual_pair {
730    Uint2   field_from;
731    Uint2   field_to;
732 } SourceQualPair, PNTR SourceQualPairPtr;
733 
734 
735 NLM_EXTERN SourceQualPairPtr LIBCALL SourceQualPairFree PROTO ((SourceQualPairPtr ));
736 NLM_EXTERN SourceQualPairPtr LIBCALL SourceQualPairNew PROTO (( void ));
737 NLM_EXTERN SourceQualPairPtr LIBCALL SourceQualPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
738 NLM_EXTERN Boolean LIBCALL SourceQualPairAsnWrite PROTO (( SourceQualPairPtr , AsnIoPtr, AsnTypePtr));
739 
740 /* following #defines are for enumerated type, not used by object loaders */
741 #define Source_location_unknown 0
742 #define Source_location_genomic 1
743 #define Source_location_chloroplast 2
744 #define Source_location_chromoplast 3
745 #define Source_location_kinetoplast 4
746 #define Source_location_mitochondrion 5
747 #define Source_location_plastid 6
748 #define Source_location_macronuclear 7
749 #define Source_location_extrachrom 8
750 #define Source_location_plasmid 9
751 #define Source_location_transposon 10
752 #define Source_location_insertion_seq 11
753 #define Source_location_cyanelle 12
754 #define Source_location_proviral 13
755 #define Source_location_virion 14
756 #define Source_location_nucleomorph 15
757 #define Source_location_apicoplast 16
758 #define Source_location_leucoplast 17
759 #define Source_location_proplastid 18
760 #define Source_location_endogenous_virus 19
761 #define Source_location_hydrogenosome 20
762 #define Source_location_chromosome 21
763 #define Source_location_chromatophore 22
764 
765 /* following #defines are for enumerated type, not used by object loaders */
766 #define Source_origin_unknown 0
767 #define Source_origin_natural 1
768 #define Source_origin_natmut 2
769 #define Source_origin_mut 3
770 #define Source_origin_artificial 4
771 #define Source_origin_synthetic 5
772 #define Source_origin_other 255
773 
774 typedef ValNodePtr SourceQualChoicePtr;
775 typedef ValNode SourceQualChoice;
776 #define SourceQualChoice_textqual 1
777 #define SourceQualChoice_location 2
778 #define SourceQualChoice_origin 3
779 #define SourceQualChoice_gcode 4
780 #define SourceQualChoice_mgcode 5
781 
782 
783 NLM_EXTERN SourceQualChoicePtr LIBCALL SourceQualChoiceFree PROTO ((SourceQualChoicePtr ));
784 NLM_EXTERN SourceQualChoicePtr LIBCALL SourceQualChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
785 NLM_EXTERN Boolean LIBCALL SourceQualChoiceAsnWrite PROTO (( SourceQualChoicePtr , AsnIoPtr, AsnTypePtr));
786 
787 
788 
789 /**************************************************
790 *
791 *    SourceQualTextVal
792 *
793 **************************************************/
794 typedef struct struct_Source_qual_text_val {
795    Uint2   srcqual;
796    CharPtr   val;
797 } SourceQualTextVal, PNTR SourceQualTextValPtr;
798 
799 
800 NLM_EXTERN SourceQualTextValPtr LIBCALL SourceQualTextValFree PROTO ((SourceQualTextValPtr ));
801 NLM_EXTERN SourceQualTextValPtr LIBCALL SourceQualTextValNew PROTO (( void ));
802 NLM_EXTERN SourceQualTextValPtr LIBCALL SourceQualTextValAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
803 NLM_EXTERN Boolean LIBCALL SourceQualTextValAsnWrite PROTO (( SourceQualTextValPtr , AsnIoPtr, AsnTypePtr));
804 
805 typedef ValNodePtr SourceQualValChoicePtr;
806 typedef ValNode SourceQualValChoice;
807 #define SourceQualValChoice_textqual 1
808 #define SourceQualValChoice_location 2
809 #define SourceQualValChoice_origin 3
810 #define SourceQualValChoice_gcode 4
811 #define SourceQualValChoice_mgcode 5
812 
813 
814 NLM_EXTERN SourceQualValChoicePtr LIBCALL SourceQualValChoiceFree PROTO ((SourceQualValChoicePtr ));
815 NLM_EXTERN SourceQualValChoicePtr LIBCALL SourceQualValChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
816 NLM_EXTERN Boolean LIBCALL SourceQualValChoiceAsnWrite PROTO (( SourceQualValChoicePtr , AsnIoPtr, AsnTypePtr));
817 
818 
819 
820 /**************************************************
821 *
822 *    SourceQualValSet
823 *
824 **************************************************/
825 typedef ValNode SourceQualValSet;
826 typedef ValNodePtr SourceQualValSetPtr;
827 #define SourceQualValSetNew() ValNodeNew(NULL)
828 
829 #ifdef NLM_GENERATED_CODE_PROTO
830 
831 NLM_EXTERN SourceQualValSetPtr LIBCALL SourceQualValSetFree PROTO ((SourceQualValSetPtr ));
832 NLM_EXTERN SourceQualValSetPtr LIBCALL SourceQualValSetNew PROTO (( void ));
833 NLM_EXTERN SourceQualValSetPtr LIBCALL SourceQualValSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
834 NLM_EXTERN Boolean LIBCALL SourceQualValSetAsnWrite PROTO (( SourceQualValSetPtr , AsnIoPtr, AsnTypePtr));
835 
836 #endif /* NLM_GENERATED_CODE_PROTO */
837 
838 /* following #defines are for enumerated type, not used by object loaders */
839 #define CDSGeneProt_field_cds_comment 1
840 #define CDSGeneProt_field_gene_locus 2
841 #define CDSGeneProt_field_gene_description 3
842 #define CDSGeneProt_field_gene_comment 4
843 #define CDSGeneProt_field_gene_allele 5
844 #define CDSGeneProt_field_gene_maploc 6
845 #define CDSGeneProt_field_gene_locus_tag 7
846 #define CDSGeneProt_field_gene_synonym 8
847 #define CDSGeneProt_field_gene_old_locus_tag 9
848 #define CDSGeneProt_field_mrna_product 10
849 #define CDSGeneProt_field_mrna_comment 11
850 #define CDSGeneProt_field_prot_name 12
851 #define CDSGeneProt_field_prot_description 13
852 #define CDSGeneProt_field_prot_ec_number 14
853 #define CDSGeneProt_field_prot_activity 15
854 #define CDSGeneProt_field_prot_comment 16
855 #define CDSGeneProt_field_mat_peptide_name 17
856 #define CDSGeneProt_field_mat_peptide_description 18
857 #define CDSGeneProt_field_mat_peptide_ec_number 19
858 #define CDSGeneProt_field_mat_peptide_activity 20
859 #define CDSGeneProt_field_mat_peptide_comment 21
860 #define CDSGeneProt_field_cds_inference 22
861 #define CDSGeneProt_field_gene_inference 23
862 #define CDSGeneProt_field_codon_start 24
863 
864 
865 
866 /**************************************************
867 *
868 *    CDSGeneProtFieldPair
869 *
870 **************************************************/
871 typedef struct struct_CDSGeneProt_field_pair {
872    Uint2   field_from;
873    Uint2   field_to;
874 } CDSGeneProtFieldPair, PNTR CDSGeneProtFieldPairPtr;
875 
876 
877 NLM_EXTERN CDSGeneProtFieldPairPtr LIBCALL CDSGeneProtFieldPairFree PROTO ((CDSGeneProtFieldPairPtr ));
878 NLM_EXTERN CDSGeneProtFieldPairPtr LIBCALL CDSGeneProtFieldPairNew PROTO (( void ));
879 NLM_EXTERN CDSGeneProtFieldPairPtr LIBCALL CDSGeneProtFieldPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
880 NLM_EXTERN Boolean LIBCALL CDSGeneProtFieldPairAsnWrite PROTO (( CDSGeneProtFieldPairPtr , AsnIoPtr, AsnTypePtr));
881 
882 /* following #defines are for enumerated type, not used by object loaders */
883 #define Molecule_type_unknown 0
884 #define Molecule_type_genomic 1
885 #define Molecule_type_precursor_RNA 2
886 #define Molecule_type_mRNA 3
887 #define Molecule_type_rRNA 4
888 #define Molecule_type_tRNA 5
889 #define Molecule_type_genomic_mRNA 6
890 #define Molecule_type_cRNA 7
891 #define Molecule_type_transcribed_RNA 8
892 #define Molecule_type_ncRNA 9
893 #define Molecule_type_transfer_messenger_RNA 10
894 #define Molecule_type_macro_other 11
895 
896 /* following #defines are for enumerated type, not used by object loaders */
897 #define Technique_type_unknown 0
898 #define Technique_type_standard 1
899 #define Technique_type_est 2
900 #define Technique_type_sts 3
901 #define Technique_type_survey 4
902 #define Technique_type_genetic_map 5
903 #define Technique_type_physical_map 6
904 #define Technique_type_derived 7
905 #define Technique_type_concept_trans 8
906 #define Technique_type_seq_pept 9
907 #define Technique_type_both 10
908 #define Technique_type_seq_pept_overlap 11
909 #define Technique_type_seq_pept_homol 12
910 #define Technique_type_concept_trans_a 13
911 #define Technique_type_htgs_1 14
912 #define Technique_type_htgs_2 15
913 #define Technique_type_htgs_3 16
914 #define Technique_type_fli_cDNA 17
915 #define Technique_type_htgs_0 18
916 #define Technique_type_htc 19
917 #define Technique_type_wgs 20
918 #define Technique_type_barcode 21
919 #define Technique_type_composite_wgs_htgs 22
920 #define Technique_type_tsa 23
921 #define Technique_type_targeted 24
922 #define Technique_type_other 25
923 
924 /* following #defines are for enumerated type, not used by object loaders */
925 #define Completedness_type_unknown 0
926 #define Completedness_type_complete 1
927 #define Completedness_type_partial 2
928 #define Completedness_type_no_left 3
929 #define Completedness_type_no_right 4
930 #define Completedness_type_no_ends 5
931 #define Completedness_type_has_left 6
932 #define Completedness_type_has_right 7
933 #define Completedness_type_other 6
934 
935 /* following #defines are for enumerated type, not used by object loaders */
936 #define Molecule_class_type_unknown 0
937 #define Molecule_class_type_dna 1
938 #define Molecule_class_type_rna 2
939 #define Molecule_class_type_protein 3
940 #define Molecule_class_type_nucleotide 4
941 #define Molecule_class_type_other 5
942 
943 /* following #defines are for enumerated type, not used by object loaders */
944 #define Topology_type_unknown 0
945 #define Topology_type_linear 1
946 #define Topology_type_circular 2
947 #define Topology_type_tandem 3
948 #define Topology_type_other 4
949 
950 /* following #defines are for enumerated type, not used by object loaders */
951 #define Strand_type_unknown 0
952 #define Strand_type_single 1
953 #define Strand_type_double__ 2
954 #define Strand_type_mixed 3
955 #define Strand_type_mixed_rev 4
956 #define Strand_type_other 5
957 
958 typedef ValNodePtr MolinfoFieldPtr;
959 typedef ValNode MolinfoField;
960 #define MolinfoField_molecule 1
961 #define MolinfoField_technique 2
962 #define MolinfoField_completedness 3
963 #define MolinfoField_mol_class 4
964 #define MolinfoField_topology 5
965 #define MolinfoField_strand 6
966 
967 
968 NLM_EXTERN MolinfoFieldPtr LIBCALL MolinfoFieldFree PROTO ((MolinfoFieldPtr ));
969 NLM_EXTERN MolinfoFieldPtr LIBCALL MolinfoFieldAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
970 NLM_EXTERN Boolean LIBCALL MolinfoFieldAsnWrite PROTO (( MolinfoFieldPtr , AsnIoPtr, AsnTypePtr));
971 
972 
973 
974 /**************************************************
975 *
976 *    MolinfoMoleculePair
977 *
978 **************************************************/
979 typedef struct struct_Molinfo_molecule_pair {
980    Uint2   from;
981    Uint2   to;
982 } MolinfoMoleculePair, PNTR MolinfoMoleculePairPtr;
983 
984 
985 NLM_EXTERN MolinfoMoleculePairPtr LIBCALL MolinfoMoleculePairFree PROTO ((MolinfoMoleculePairPtr ));
986 NLM_EXTERN MolinfoMoleculePairPtr LIBCALL MolinfoMoleculePairNew PROTO (( void ));
987 NLM_EXTERN MolinfoMoleculePairPtr LIBCALL MolinfoMoleculePairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
988 NLM_EXTERN Boolean LIBCALL MolinfoMoleculePairAsnWrite PROTO (( MolinfoMoleculePairPtr , AsnIoPtr, AsnTypePtr));
989 
990 
991 
992 /**************************************************
993 *
994 *    MolinfoTechniquePair
995 *
996 **************************************************/
997 typedef struct struct_Molinfo_technique_pair {
998    Uint2   from;
999    Uint2   to;
1000 } MolinfoTechniquePair, PNTR MolinfoTechniquePairPtr;
1001 
1002 
1003 NLM_EXTERN MolinfoTechniquePairPtr LIBCALL MolinfoTechniquePairFree PROTO ((MolinfoTechniquePairPtr ));
1004 NLM_EXTERN MolinfoTechniquePairPtr LIBCALL MolinfoTechniquePairNew PROTO (( void ));
1005 NLM_EXTERN MolinfoTechniquePairPtr LIBCALL MolinfoTechniquePairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1006 NLM_EXTERN Boolean LIBCALL MolinfoTechniquePairAsnWrite PROTO (( MolinfoTechniquePairPtr , AsnIoPtr, AsnTypePtr));
1007 
1008 
1009 
1010 /**************************************************
1011 *
1012 *    MolinfoCompletednessPair
1013 *
1014 **************************************************/
1015 typedef struct struct_Molinfo_completedness_pair {
1016    Uint2   from;
1017    Uint2   to;
1018 } MolinfoCompletednessPair, PNTR MolinfoCompletednessPairPtr;
1019 
1020 
1021 NLM_EXTERN MolinfoCompletednessPairPtr LIBCALL MolinfoCompletednessPairFree PROTO ((MolinfoCompletednessPairPtr ));
1022 NLM_EXTERN MolinfoCompletednessPairPtr LIBCALL MolinfoCompletednessPairNew PROTO (( void ));
1023 NLM_EXTERN MolinfoCompletednessPairPtr LIBCALL MolinfoCompletednessPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1024 NLM_EXTERN Boolean LIBCALL MolinfoCompletednessPairAsnWrite PROTO (( MolinfoCompletednessPairPtr , AsnIoPtr, AsnTypePtr));
1025 
1026 
1027 
1028 /**************************************************
1029 *
1030 *    MolinfoMolClassPair
1031 *
1032 **************************************************/
1033 typedef struct struct_Molinfo_mol_class_pair {
1034    Uint2   from;
1035    Uint2   to;
1036 } MolinfoMolClassPair, PNTR MolinfoMolClassPairPtr;
1037 
1038 
1039 NLM_EXTERN MolinfoMolClassPairPtr LIBCALL MolinfoMolClassPairFree PROTO ((MolinfoMolClassPairPtr ));
1040 NLM_EXTERN MolinfoMolClassPairPtr LIBCALL MolinfoMolClassPairNew PROTO (( void ));
1041 NLM_EXTERN MolinfoMolClassPairPtr LIBCALL MolinfoMolClassPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1042 NLM_EXTERN Boolean LIBCALL MolinfoMolClassPairAsnWrite PROTO (( MolinfoMolClassPairPtr , AsnIoPtr, AsnTypePtr));
1043 
1044 
1045 
1046 /**************************************************
1047 *
1048 *    MolinfoTopologyPair
1049 *
1050 **************************************************/
1051 typedef struct struct_Molinfo_topology_pair {
1052    Uint2   from;
1053    Uint2   to;
1054 } MolinfoTopologyPair, PNTR MolinfoTopologyPairPtr;
1055 
1056 
1057 NLM_EXTERN MolinfoTopologyPairPtr LIBCALL MolinfoTopologyPairFree PROTO ((MolinfoTopologyPairPtr ));
1058 NLM_EXTERN MolinfoTopologyPairPtr LIBCALL MolinfoTopologyPairNew PROTO (( void ));
1059 NLM_EXTERN MolinfoTopologyPairPtr LIBCALL MolinfoTopologyPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1060 NLM_EXTERN Boolean LIBCALL MolinfoTopologyPairAsnWrite PROTO (( MolinfoTopologyPairPtr , AsnIoPtr, AsnTypePtr));
1061 
1062 
1063 
1064 /**************************************************
1065 *
1066 *    MolinfoStrandPair
1067 *
1068 **************************************************/
1069 typedef struct struct_Molinfo_strand_pair {
1070    Uint2   from;
1071    Uint2   to;
1072 } MolinfoStrandPair, PNTR MolinfoStrandPairPtr;
1073 
1074 
1075 NLM_EXTERN MolinfoStrandPairPtr LIBCALL MolinfoStrandPairFree PROTO ((MolinfoStrandPairPtr ));
1076 NLM_EXTERN MolinfoStrandPairPtr LIBCALL MolinfoStrandPairNew PROTO (( void ));
1077 NLM_EXTERN MolinfoStrandPairPtr LIBCALL MolinfoStrandPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1078 NLM_EXTERN Boolean LIBCALL MolinfoStrandPairAsnWrite PROTO (( MolinfoStrandPairPtr , AsnIoPtr, AsnTypePtr));
1079 
1080 typedef ValNodePtr MolinfoFieldPairPtr;
1081 typedef ValNode MolinfoFieldPair;
1082 #define MolinfoFieldPair_molecule 1
1083 #define MolinfoFieldPair_technique 2
1084 #define MolinfoFieldPair_completedness 3
1085 #define MolinfoFieldPair_mol_class 4
1086 #define MolinfoFieldPair_topology 5
1087 #define MolinfoFieldPair_strand 6
1088 
1089 
1090 NLM_EXTERN MolinfoFieldPairPtr LIBCALL MolinfoFieldPairFree PROTO ((MolinfoFieldPairPtr ));
1091 NLM_EXTERN MolinfoFieldPairPtr LIBCALL MolinfoFieldPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1092 NLM_EXTERN Boolean LIBCALL MolinfoFieldPairAsnWrite PROTO (( MolinfoFieldPairPtr , AsnIoPtr, AsnTypePtr));
1093 
1094 
1095 
1096 /**************************************************
1097 *
1098 *    MolinfoFieldList
1099 *
1100 **************************************************/
1101 typedef ValNode MolinfoFieldList;
1102 typedef ValNodePtr MolinfoFieldListPtr;
1103 #define MolinfoFieldListNew() ValNodeNew(NULL)
1104 
1105 #ifdef NLM_GENERATED_CODE_PROTO
1106 
1107 NLM_EXTERN MolinfoFieldListPtr LIBCALL MolinfoFieldListFree PROTO ((MolinfoFieldListPtr ));
1108 NLM_EXTERN MolinfoFieldListPtr LIBCALL MolinfoFieldListNew PROTO (( void ));
1109 NLM_EXTERN MolinfoFieldListPtr LIBCALL MolinfoFieldListAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1110 NLM_EXTERN Boolean LIBCALL MolinfoFieldListAsnWrite PROTO (( MolinfoFieldListPtr , AsnIoPtr, AsnTypePtr));
1111 
1112 #endif /* NLM_GENERATED_CODE_PROTO */
1113 
1114 
1115 
1116 /**************************************************
1117 *
1118 *    MolinfoFieldConstraint
1119 *
1120 **************************************************/
1121 typedef struct struct_Molinfo_field_constraint {
1122    ValNodePtr   field;
1123    Uint1   is_not;
1124 } MolinfoFieldConstraint, PNTR MolinfoFieldConstraintPtr;
1125 
1126 
1127 NLM_EXTERN MolinfoFieldConstraintPtr LIBCALL MolinfoFieldConstraintFree PROTO ((MolinfoFieldConstraintPtr ));
1128 NLM_EXTERN MolinfoFieldConstraintPtr LIBCALL MolinfoFieldConstraintNew PROTO (( void ));
1129 NLM_EXTERN MolinfoFieldConstraintPtr LIBCALL MolinfoFieldConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1130 NLM_EXTERN Boolean LIBCALL MolinfoFieldConstraintAsnWrite PROTO (( MolinfoFieldConstraintPtr , AsnIoPtr, AsnTypePtr));
1131 
1132 /* following #defines are for enumerated type, not used by object loaders */
1133 #define Publication_field_cit 1
1134 #define Publication_field_authors 2
1135 #define Publication_field_journal 3
1136 #define Publication_field_volume 4
1137 #define Publication_field_issue 5
1138 #define Publication_field_pages 6
1139 #define Publication_field_date 7
1140 #define Publication_field_serial_number 8
1141 #define Publication_field_title 9
1142 #define Publication_field_affiliation 10
1143 #define Publication_field_affil_div 11
1144 #define Publication_field_affil_city 12
1145 #define Publication_field_affil_sub 13
1146 #define Publication_field_affil_country 14
1147 #define Publication_field_affil_street 15
1148 #define Publication_field_affil_email 16
1149 #define Publication_field_affil_fax 17
1150 #define Publication_field_affil_phone 18
1151 #define Publication_field_affil_zipcode 19
1152 #define Publication_field_authors_initials 20
1153 #define Publication_field_pmid 21
1154 #define Publication_field_pub_class 22
1155 
1156 typedef ValNodePtr StructuredCommentFieldPtr;
1157 typedef ValNode StructuredCommentField;
1158 #define StructuredCommentField_database 1
1159 #define StructuredCommentField_named 2
1160 #define StructuredCommentField_field_name 3
1161 
1162 
1163 NLM_EXTERN StructuredCommentFieldPtr LIBCALL StructuredCommentFieldFree PROTO ((StructuredCommentFieldPtr ));
1164 NLM_EXTERN StructuredCommentFieldPtr LIBCALL StructuredCommentFieldAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1165 NLM_EXTERN Boolean LIBCALL StructuredCommentFieldAsnWrite PROTO (( StructuredCommentFieldPtr , AsnIoPtr, AsnTypePtr));
1166 
1167 
1168 
1169 /**************************************************
1170 *
1171 *    StructuredCommentFieldPair
1172 *
1173 **************************************************/
1174 typedef struct struct_Structured_comment_field_pair {
1175    ValNodePtr   from;
1176    ValNodePtr   to;
1177 } StructuredCommentFieldPair, PNTR StructuredCommentFieldPairPtr;
1178 
1179 
1180 NLM_EXTERN StructuredCommentFieldPairPtr LIBCALL StructuredCommentFieldPairFree PROTO ((StructuredCommentFieldPairPtr ));
1181 NLM_EXTERN StructuredCommentFieldPairPtr LIBCALL StructuredCommentFieldPairNew PROTO (( void ));
1182 NLM_EXTERN StructuredCommentFieldPairPtr LIBCALL StructuredCommentFieldPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1183 NLM_EXTERN Boolean LIBCALL StructuredCommentFieldPairAsnWrite PROTO (( StructuredCommentFieldPairPtr , AsnIoPtr, AsnTypePtr));
1184 
1185 /* following #defines are for enumerated type, not used by object loaders */
1186 #define Misc_field_genome_project_id 1
1187 #define Misc_field_comment_descriptor 2
1188 #define Misc_field_defline 3
1189 #define Misc_field_keyword 4
1190 
1191 /* following #defines are for enumerated type, not used by object loaders */
1192 #define DBLink_field_type_trace_assembly 1
1193 #define DBLink_field_type_bio_sample 2
1194 #define DBLink_field_type_probe_db 3
1195 #define DBLink_field_type_sequence_read_archve 4
1196 #define DBLink_field_type_bio_project 5
1197 #define DBLink_field_type_assembly 6
1198 
1199 
1200 
1201 /**************************************************
1202 *
1203 *    DBLinkFieldPair
1204 *
1205 **************************************************/
1206 typedef struct struct_DBLink_field_pair {
1207    Uint2   from;
1208    Uint2   to;
1209 } DBLinkFieldPair, PNTR DBLinkFieldPairPtr;
1210 
1211 
1212 NLM_EXTERN DBLinkFieldPairPtr LIBCALL DBLinkFieldPairFree PROTO ((DBLinkFieldPairPtr ));
1213 NLM_EXTERN DBLinkFieldPairPtr LIBCALL DBLinkFieldPairNew PROTO (( void ));
1214 NLM_EXTERN DBLinkFieldPairPtr LIBCALL DBLinkFieldPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1215 NLM_EXTERN Boolean LIBCALL DBLinkFieldPairAsnWrite PROTO (( DBLinkFieldPairPtr , AsnIoPtr, AsnTypePtr));
1216 
1217 /* following #defines are for enumerated type, not used by object loaders */
1218 #define Pub_type_any 0
1219 #define Pub_type_published 1
1220 #define Pub_type_unpublished 2
1221 #define Pub_type_in_press 3
1222 #define Pub_type_submitter_block 4
1223 
1224 
1225 
1226 /**************************************************
1227 *
1228 *    PubFieldConstraint
1229 *
1230 **************************************************/
1231 typedef struct struct_Pub_field_constraint {
1232    Uint2   field;
1233    struct struct_String_constraint PNTR   constraint;
1234 } PubFieldConstraint, PNTR PubFieldConstraintPtr;
1235 
1236 
1237 NLM_EXTERN PubFieldConstraintPtr LIBCALL PubFieldConstraintFree PROTO ((PubFieldConstraintPtr ));
1238 NLM_EXTERN PubFieldConstraintPtr LIBCALL PubFieldConstraintNew PROTO (( void ));
1239 NLM_EXTERN PubFieldConstraintPtr LIBCALL PubFieldConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1240 NLM_EXTERN Boolean LIBCALL PubFieldConstraintAsnWrite PROTO (( PubFieldConstraintPtr , AsnIoPtr, AsnTypePtr));
1241 
1242 typedef ValNodePtr PubFieldSpecialConstraintTypePtr;
1243 typedef ValNode PubFieldSpecialConstraintType;
1244 #define PubFieldSpecialConstraintType_is_present 1
1245 #define PubFieldSpecialConstraintType_is_not_present 2
1246 #define PubFieldSpecialConstraintType_is_all_caps 3
1247 #define PubFieldSpecialConstraintType_is_all_lower 4
1248 #define PubFieldSpecialConstraintType_is_all_punct 5
1249 
1250 
1251 NLM_EXTERN PubFieldSpecialConstraintTypePtr LIBCALL PubFieldSpecialConstraintTypeFree PROTO ((PubFieldSpecialConstraintTypePtr ));
1252 NLM_EXTERN PubFieldSpecialConstraintTypePtr LIBCALL PubFieldSpecialConstraintTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1253 NLM_EXTERN Boolean LIBCALL PubFieldSpecialConstraintTypeAsnWrite PROTO (( PubFieldSpecialConstraintTypePtr , AsnIoPtr, AsnTypePtr));
1254 
1255 
1256 
1257 /**************************************************
1258 *
1259 *    PubFieldSpecialConstraint
1260 *
1261 **************************************************/
1262 typedef struct struct_Pub_field_special_constraint {
1263    Uint2   field;
1264    ValNodePtr   constraint;
1265 } PubFieldSpecialConstraint, PNTR PubFieldSpecialConstraintPtr;
1266 
1267 
1268 NLM_EXTERN PubFieldSpecialConstraintPtr LIBCALL PubFieldSpecialConstraintFree PROTO ((PubFieldSpecialConstraintPtr ));
1269 NLM_EXTERN PubFieldSpecialConstraintPtr LIBCALL PubFieldSpecialConstraintNew PROTO (( void ));
1270 NLM_EXTERN PubFieldSpecialConstraintPtr LIBCALL PubFieldSpecialConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1271 NLM_EXTERN Boolean LIBCALL PubFieldSpecialConstraintAsnWrite PROTO (( PubFieldSpecialConstraintPtr , AsnIoPtr, AsnTypePtr));
1272 
1273 
1274 
1275 /**************************************************
1276 *
1277 *    PublicationConstraint
1278 *
1279 **************************************************/
1280 typedef struct struct_Publication_constraint {
1281    Uint2   type;
1282    struct struct_Pub_field_constraint PNTR   field;
1283    struct struct_Pub_field_special_constraint PNTR   special_field;
1284 } PublicationConstraint, PNTR PublicationConstraintPtr;
1285 
1286 
1287 NLM_EXTERN PublicationConstraintPtr LIBCALL PublicationConstraintFree PROTO ((PublicationConstraintPtr ));
1288 NLM_EXTERN PublicationConstraintPtr LIBCALL PublicationConstraintNew PROTO (( void ));
1289 NLM_EXTERN PublicationConstraintPtr LIBCALL PublicationConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1290 NLM_EXTERN Boolean LIBCALL PublicationConstraintAsnWrite PROTO (( PublicationConstraintPtr , AsnIoPtr, AsnTypePtr));
1291 
1292 
1293 
1294 /**************************************************
1295 *
1296 *    SourceConstraint
1297 *
1298 **************************************************/
1299 typedef struct struct_Source_constraint {
1300    ValNodePtr   field1;
1301    ValNodePtr   field2;
1302    struct struct_String_constraint PNTR   constraint;
1303    Uint2   type_constraint;
1304 } SourceConstraint, PNTR SourceConstraintPtr;
1305 
1306 
1307 NLM_EXTERN SourceConstraintPtr LIBCALL SourceConstraintFree PROTO ((SourceConstraintPtr ));
1308 NLM_EXTERN SourceConstraintPtr LIBCALL SourceConstraintNew PROTO (( void ));
1309 NLM_EXTERN SourceConstraintPtr LIBCALL SourceConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1310 NLM_EXTERN Boolean LIBCALL SourceConstraintAsnWrite PROTO (( SourceConstraintPtr , AsnIoPtr, AsnTypePtr));
1311 
1312 /* following #defines are for enumerated type, not used by object loaders */
1313 #define CDSGeneProt_feature_type_constraint_gene 1
1314 #define CDSGeneProt_feature_type_constraint_mRNA 2
1315 #define CDSGeneProt_feature_type_constraint_cds 3
1316 #define CDSGeneProt_feature_type_constraint_prot 4
1317 #define CDSGeneProt_feature_type_constraint_exon 5
1318 #define CDSGeneProt_feature_type_constraint_mat_peptide 6
1319 
1320 
1321 
1322 /**************************************************
1323 *
1324 *    CDSGeneProtPseudoConstraint
1325 *
1326 **************************************************/
1327 typedef struct struct_CDSGeneProt_pseudo_constraint {
1328    Uint2   feature;
1329    Uint1   is_pseudo;
1330 } CDSGeneProtPseudoConstraint, PNTR CDSGeneProtPseudoConstraintPtr;
1331 
1332 
1333 NLM_EXTERN CDSGeneProtPseudoConstraintPtr LIBCALL CDSGeneProtPseudoConstraintFree PROTO ((CDSGeneProtPseudoConstraintPtr ));
1334 NLM_EXTERN CDSGeneProtPseudoConstraintPtr LIBCALL CDSGeneProtPseudoConstraintNew PROTO (( void ));
1335 NLM_EXTERN CDSGeneProtPseudoConstraintPtr LIBCALL CDSGeneProtPseudoConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1336 NLM_EXTERN Boolean LIBCALL CDSGeneProtPseudoConstraintAsnWrite PROTO (( CDSGeneProtPseudoConstraintPtr , AsnIoPtr, AsnTypePtr));
1337 
1338 typedef ValNodePtr CDSGeneProtConstraintFieldPtr;
1339 typedef ValNode CDSGeneProtConstraintField;
1340 #define CDSGeneProtConstraintField_field 1
1341 
1342 
1343 NLM_EXTERN CDSGeneProtConstraintFieldPtr LIBCALL CDSGeneProtConstraintFieldFree PROTO ((CDSGeneProtConstraintFieldPtr ));
1344 NLM_EXTERN CDSGeneProtConstraintFieldPtr LIBCALL CDSGeneProtConstraintFieldAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1345 NLM_EXTERN Boolean LIBCALL CDSGeneProtConstraintFieldAsnWrite PROTO (( CDSGeneProtConstraintFieldPtr , AsnIoPtr, AsnTypePtr));
1346 
1347 
1348 
1349 /**************************************************
1350 *
1351 *    CDSGeneProtQualConstraint
1352 *
1353 **************************************************/
1354 typedef struct struct_CDSGeneProt_qual_constraint {
1355    ValNodePtr   field1;
1356    ValNodePtr   field2;
1357    struct struct_String_constraint PNTR   constraint;
1358 } CDSGeneProtQualConstraint, PNTR CDSGeneProtQualConstraintPtr;
1359 
1360 
1361 NLM_EXTERN CDSGeneProtQualConstraintPtr LIBCALL CDSGeneProtQualConstraintFree PROTO ((CDSGeneProtQualConstraintPtr ));
1362 NLM_EXTERN CDSGeneProtQualConstraintPtr LIBCALL CDSGeneProtQualConstraintNew PROTO (( void ));
1363 NLM_EXTERN CDSGeneProtQualConstraintPtr LIBCALL CDSGeneProtQualConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1364 NLM_EXTERN Boolean LIBCALL CDSGeneProtQualConstraintAsnWrite PROTO (( CDSGeneProtQualConstraintPtr , AsnIoPtr, AsnTypePtr));
1365 
1366 
1367 
1368 /**************************************************
1369 *
1370 *    FieldConstraint
1371 *
1372 **************************************************/
1373 typedef struct struct_Field_constraint {
1374    ValNodePtr   field;
1375    struct struct_String_constraint PNTR   string_constraint;
1376 } FieldConstraint, PNTR FieldConstraintPtr;
1377 
1378 
1379 NLM_EXTERN FieldConstraintPtr LIBCALL FieldConstraintFree PROTO ((FieldConstraintPtr ));
1380 NLM_EXTERN FieldConstraintPtr LIBCALL FieldConstraintNew PROTO (( void ));
1381 NLM_EXTERN FieldConstraintPtr LIBCALL FieldConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1382 NLM_EXTERN Boolean LIBCALL FieldConstraintAsnWrite PROTO (( FieldConstraintPtr , AsnIoPtr, AsnTypePtr));
1383 
1384 typedef ValNodePtr FieldTypePtr;
1385 typedef ValNode FieldType;
1386 #define FieldType_source_qual 1
1387 #define FieldType_feature_field 2
1388 #define FieldType_rna_field 3
1389 #define FieldType_cds_gene_prot 4
1390 #define FieldType_molinfo_field 5
1391 #define FieldType_pub 6
1392 #define FieldType_struc_comment_field 7
1393 #define FieldType_misc 8
1394 #define FieldType_dblink 9
1395 
1396 
1397 NLM_EXTERN FieldTypePtr LIBCALL FieldTypeFree PROTO ((FieldTypePtr ));
1398 NLM_EXTERN FieldTypePtr LIBCALL FieldTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1399 NLM_EXTERN Boolean LIBCALL FieldTypeAsnWrite PROTO (( FieldTypePtr , AsnIoPtr, AsnTypePtr));
1400 
1401 /* following #defines are for enumerated type, not used by object loaders */
1402 #define Sequence_constraint_rnamol_any 0
1403 #define Sequence_constraint_rnamol_genomic 1
1404 #define Sequence_constraint_rnamol_precursor_RNA 2
1405 #define Sequence_constraint_rnamol_mRNA 3
1406 #define Sequence_constraint_rnamol_rRNA 4
1407 #define Sequence_constraint_rnamol_tRNA 5
1408 #define Sequence_constraint_rnamol_genomic_mRNA 6
1409 #define Sequence_constraint_rnamol_cRNA 7
1410 #define Sequence_constraint_rnamol_transcribed_RNA 8
1411 #define Sequence_constraint_rnamol_ncRNA 9
1412 #define Sequence_constraint_rnamol_transfer_messenger_RNA 10
1413 
1414 typedef ValNodePtr SequenceConstraintMolTypeConstraintPtr;
1415 typedef ValNode SequenceConstraintMolTypeConstraint;
1416 #define SequenceConstraintMolTypeConstraint_any 1
1417 #define SequenceConstraintMolTypeConstraint_nucleotide 2
1418 #define SequenceConstraintMolTypeConstraint_dna 3
1419 #define SequenceConstraintMolTypeConstraint_rna 4
1420 #define SequenceConstraintMolTypeConstraint_protein 5
1421 
1422 
1423 NLM_EXTERN SequenceConstraintMolTypeConstraintPtr LIBCALL SequenceConstraintMolTypeConstraintFree PROTO ((SequenceConstraintMolTypeConstraintPtr ));
1424 NLM_EXTERN SequenceConstraintMolTypeConstraintPtr LIBCALL SequenceConstraintMolTypeConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1425 NLM_EXTERN Boolean LIBCALL SequenceConstraintMolTypeConstraintAsnWrite PROTO (( SequenceConstraintMolTypeConstraintPtr , AsnIoPtr, AsnTypePtr));
1426 
1427 typedef ValNodePtr QuantityConstraintPtr;
1428 typedef ValNode QuantityConstraint;
1429 #define QuantityConstraint_equals 1
1430 #define QuantityConstraint_greater_than 2
1431 #define QuantityConstraint_less_than 3
1432 
1433 
1434 NLM_EXTERN QuantityConstraintPtr LIBCALL QuantityConstraintFree PROTO ((QuantityConstraintPtr ));
1435 NLM_EXTERN QuantityConstraintPtr LIBCALL QuantityConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1436 NLM_EXTERN Boolean LIBCALL QuantityConstraintAsnWrite PROTO (( QuantityConstraintPtr , AsnIoPtr, AsnTypePtr));
1437 
1438 /* following #defines are for enumerated type, not used by object loaders */
1439 #define Feature_strandedness_constraint_any 0
1440 #define Feature_strandedness_constraint_minus_only 1
1441 #define Feature_strandedness_constraint_plus_only 2
1442 #define Feature_strandedness_constraint_at_least_one_minus 3
1443 #define Feature_strandedness_constraint_at_least_one_plus 4
1444 #define Feature_strandedness_constraint_no_minus 5
1445 #define Feature_strandedness_constraint_no_plus 6
1446 
1447 
1448 
1449 /**************************************************
1450 *
1451 *    SequenceConstraint
1452 *
1453 **************************************************/
1454 typedef struct struct_Sequence_constraint {
1455    ValNodePtr   seqtype;
1456    struct struct_String_constraint PNTR   id;
1457    Uint2   feature;
1458    ValNodePtr   num_type_features;
1459    ValNodePtr   num_features;
1460    ValNodePtr   length;
1461    Uint2   strandedness;
1462 } SequenceConstraint, PNTR SequenceConstraintPtr;
1463 
1464 
1465 NLM_EXTERN SequenceConstraintPtr LIBCALL SequenceConstraintFree PROTO ((SequenceConstraintPtr ));
1466 NLM_EXTERN SequenceConstraintPtr LIBCALL SequenceConstraintNew PROTO (( void ));
1467 NLM_EXTERN SequenceConstraintPtr LIBCALL SequenceConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1468 NLM_EXTERN Boolean LIBCALL SequenceConstraintAsnWrite PROTO (( SequenceConstraintPtr , AsnIoPtr, AsnTypePtr));
1469 
1470 /* following #defines are for enumerated type, not used by object loaders */
1471 #define Match_type_constraint_dont_care 0
1472 #define Match_type_constraint_yes 1
1473 #define Match_type_constraint_no 2
1474 
1475 
1476 
1477 /**************************************************
1478 *
1479 *    TranslationConstraint
1480 *
1481 **************************************************/
1482 typedef struct struct_Translation_constraint {
1483    struct struct_String_constraint PNTR   actual_strings;
1484    struct struct_String_constraint PNTR   transl_strings;
1485    Uint2   internal_stops;
1486    ValNodePtr   num_mismatches;
1487 } TranslationConstraint, PNTR TranslationConstraintPtr;
1488 
1489 
1490 NLM_EXTERN TranslationConstraintPtr LIBCALL TranslationConstraintFree PROTO ((TranslationConstraintPtr ));
1491 NLM_EXTERN TranslationConstraintPtr LIBCALL TranslationConstraintNew PROTO (( void ));
1492 NLM_EXTERN TranslationConstraintPtr LIBCALL TranslationConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1493 NLM_EXTERN Boolean LIBCALL TranslationConstraintAsnWrite PROTO (( TranslationConstraintPtr , AsnIoPtr, AsnTypePtr));
1494 
1495 typedef ValNodePtr ConstraintChoicePtr;
1496 typedef ValNode ConstraintChoice;
1497 #define ConstraintChoice_string 1
1498 #define ConstraintChoice_location 2
1499 #define ConstraintChoice_field 3
1500 #define ConstraintChoice_source 4
1501 #define ConstraintChoice_cdsgeneprot_qual 5
1502 #define ConstraintChoice_cdsgeneprot_pseudo 6
1503 #define ConstraintChoice_sequence 7
1504 #define ConstraintChoice_pub 8
1505 #define ConstraintChoice_molinfo 9
1506 #define ConstraintChoice_field_missing 10
1507 #define ConstraintChoice_translation 11
1508 
1509 
1510 NLM_EXTERN ConstraintChoicePtr LIBCALL ConstraintChoiceFree PROTO ((ConstraintChoicePtr ));
1511 NLM_EXTERN ConstraintChoicePtr LIBCALL ConstraintChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1512 NLM_EXTERN Boolean LIBCALL ConstraintChoiceAsnWrite PROTO (( ConstraintChoicePtr , AsnIoPtr, AsnTypePtr));
1513 
1514 
1515 
1516 /**************************************************
1517 *
1518 *    ConstraintChoiceSet
1519 *
1520 **************************************************/
1521 typedef ValNode ConstraintChoiceSet;
1522 typedef ValNodePtr ConstraintChoiceSetPtr;
1523 #define ConstraintChoiceSetNew() ValNodeNew(NULL)
1524 
1525 #ifdef NLM_GENERATED_CODE_PROTO
1526 
1527 NLM_EXTERN ConstraintChoiceSetPtr LIBCALL ConstraintChoiceSetFree PROTO ((ConstraintChoiceSetPtr ));
1528 NLM_EXTERN ConstraintChoiceSetPtr LIBCALL ConstraintChoiceSetNew PROTO (( void ));
1529 NLM_EXTERN ConstraintChoiceSetPtr LIBCALL ConstraintChoiceSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1530 NLM_EXTERN Boolean LIBCALL ConstraintChoiceSetAsnWrite PROTO (( ConstraintChoiceSetPtr , AsnIoPtr, AsnTypePtr));
1531 
1532 #endif /* NLM_GENERATED_CODE_PROTO */
1533 
1534 typedef ValNodePtr TextMarkerPtr;
1535 typedef ValNode TextMarker;
1536 #define TextMarker_free_text 1
1537 #define TextMarker_digits 2
1538 #define TextMarker_letters 3
1539 
1540 
1541 NLM_EXTERN TextMarkerPtr LIBCALL TextMarkerFree PROTO ((TextMarkerPtr ));
1542 NLM_EXTERN TextMarkerPtr LIBCALL TextMarkerAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1543 NLM_EXTERN Boolean LIBCALL TextMarkerAsnWrite PROTO (( TextMarkerPtr , AsnIoPtr, AsnTypePtr));
1544 
1545 
1546 
1547 /**************************************************
1548 *
1549 *    TextPortion
1550 *
1551 **************************************************/
1552 typedef struct struct_Text_portion {
1553    ValNodePtr   left_marker;
1554    Uint1   include_left;
1555    ValNodePtr   right_marker;
1556    Uint1   include_right;
1557    Uint1   inside;
1558    Uint1   case_sensitive;
1559    Uint1   whole_word;
1560 } TextPortion, PNTR TextPortionPtr;
1561 
1562 
1563 NLM_EXTERN TextPortionPtr LIBCALL TextPortionFree PROTO ((TextPortionPtr ));
1564 NLM_EXTERN TextPortionPtr LIBCALL TextPortionNew PROTO (( void ));
1565 NLM_EXTERN TextPortionPtr LIBCALL TextPortionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1566 NLM_EXTERN Boolean LIBCALL TextPortionAsnWrite PROTO (( TextPortionPtr , AsnIoPtr, AsnTypePtr));
1567 
1568 /* following #defines are for enumerated type, not used by object loaders */
1569 #define Field_edit_location_anywhere 0
1570 #define Field_edit_location_beginning 1
1571 #define Field_edit_location_end 2
1572 
1573 
1574 
1575 /**************************************************
1576 *
1577 *    FieldEdit
1578 *
1579 **************************************************/
1580 typedef struct struct_Field_edit {
1581    CharPtr   find_txt;
1582    CharPtr   repl_txt;
1583    Uint2   location;
1584    Uint1   case_insensitive;
1585 } FieldEdit, PNTR FieldEditPtr;
1586 
1587 
1588 NLM_EXTERN FieldEditPtr LIBCALL FieldEditFree PROTO ((FieldEditPtr ));
1589 NLM_EXTERN FieldEditPtr LIBCALL FieldEditNew PROTO (( void ));
1590 NLM_EXTERN FieldEditPtr LIBCALL FieldEditAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1591 NLM_EXTERN Boolean LIBCALL FieldEditAsnWrite PROTO (( FieldEditPtr , AsnIoPtr, AsnTypePtr));
1592 
1593 typedef ValNodePtr FieldPairTypePtr;
1594 typedef ValNode FieldPairType;
1595 #define FieldPairType_source_qual 1
1596 #define FieldPairType_feature_field 2
1597 #define FieldPairType_rna_field 3
1598 #define FieldPairType_cds_gene_prot 4
1599 #define FieldPairType_molinfo_field 5
1600 #define FieldPairType_struc_comment_field 6
1601 #define FieldPairType_dblink 7
1602 
1603 
1604 NLM_EXTERN FieldPairTypePtr LIBCALL FieldPairTypeFree PROTO ((FieldPairTypePtr ));
1605 NLM_EXTERN FieldPairTypePtr LIBCALL FieldPairTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1606 NLM_EXTERN Boolean LIBCALL FieldPairTypeAsnWrite PROTO (( FieldPairTypePtr , AsnIoPtr, AsnTypePtr));
1607 
1608 /* following #defines are for enumerated type, not used by object loaders */
1609 #define ExistingTextOption_replace_old 1
1610 #define ExistingTextOption_append_semi 2
1611 #define ExistingTextOption_append_space 3
1612 #define ExistingTextOption_append_colon 4
1613 #define ExistingTextOption_append_comma 5
1614 #define ExistingTextOption_append_none 6
1615 #define ExistingTextOption_prefix_semi 7
1616 #define ExistingTextOption_prefix_space 8
1617 #define ExistingTextOption_prefix_colon 9
1618 #define ExistingTextOption_prefix_comma 10
1619 #define ExistingTextOption_prefix_none 11
1620 #define ExistingTextOption_leave_old 12
1621 #define ExistingTextOption_add_qual 13
1622 
1623 
1624 
1625 /**************************************************
1626 *
1627 *    ApplyAction
1628 *
1629 **************************************************/
1630 typedef struct struct_Apply_action {
1631    ValNodePtr   field;
1632    CharPtr   value;
1633    Uint2   existing_text;
1634 } ApplyAction, PNTR ApplyActionPtr;
1635 
1636 
1637 NLM_EXTERN ApplyActionPtr LIBCALL ApplyActionFree PROTO ((ApplyActionPtr ));
1638 NLM_EXTERN ApplyActionPtr LIBCALL ApplyActionNew PROTO (( void ));
1639 NLM_EXTERN ApplyActionPtr LIBCALL ApplyActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1640 NLM_EXTERN Boolean LIBCALL ApplyActionAsnWrite PROTO (( ApplyActionPtr , AsnIoPtr, AsnTypePtr));
1641 
1642 
1643 
1644 /**************************************************
1645 *
1646 *    EditAction
1647 *
1648 **************************************************/
1649 typedef struct struct_Edit_action {
1650    struct struct_Field_edit PNTR   edit;
1651    ValNodePtr   field;
1652 } EditAction, PNTR EditActionPtr;
1653 
1654 
1655 NLM_EXTERN EditActionPtr LIBCALL EditActionFree PROTO ((EditActionPtr ));
1656 NLM_EXTERN EditActionPtr LIBCALL EditActionNew PROTO (( void ));
1657 NLM_EXTERN EditActionPtr LIBCALL EditActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1658 NLM_EXTERN Boolean LIBCALL EditActionAsnWrite PROTO (( EditActionPtr , AsnIoPtr, AsnTypePtr));
1659 
1660 /* following #defines are for enumerated type, not used by object loaders */
1661 #define Cap_change_none 0
1662 #define Cap_change_tolower 1
1663 #define Cap_change_toupper 2
1664 #define Cap_change_firstcap 3
1665 #define Cap_change_firstcaprestnochange 4
1666 #define Cap_change_firstlower_restnochange 5
1667 #define Cap_change_cap_word_space 6
1668 #define Cap_change_cap_word_space_punc 7
1669 
1670 typedef ValNodePtr TextTransformPtr;
1671 typedef ValNode TextTransform;
1672 #define TextTransform_edit 1
1673 #define TextTransform_caps 2
1674 #define TextTransform_remove 3
1675 
1676 
1677 NLM_EXTERN TextTransformPtr LIBCALL TextTransformFree PROTO ((TextTransformPtr ));
1678 NLM_EXTERN TextTransformPtr LIBCALL TextTransformAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1679 NLM_EXTERN Boolean LIBCALL TextTransformAsnWrite PROTO (( TextTransformPtr , AsnIoPtr, AsnTypePtr));
1680 
1681 
1682 
1683 /**************************************************
1684 *
1685 *    TextTransformSet
1686 *
1687 **************************************************/
1688 typedef ValNode TextTransformSet;
1689 typedef ValNodePtr TextTransformSetPtr;
1690 #define TextTransformSetNew() ValNodeNew(NULL)
1691 
1692 #ifdef NLM_GENERATED_CODE_PROTO
1693 
1694 NLM_EXTERN TextTransformSetPtr LIBCALL TextTransformSetFree PROTO ((TextTransformSetPtr ));
1695 NLM_EXTERN TextTransformSetPtr LIBCALL TextTransformSetNew PROTO (( void ));
1696 NLM_EXTERN TextTransformSetPtr LIBCALL TextTransformSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1697 NLM_EXTERN Boolean LIBCALL TextTransformSetAsnWrite PROTO (( TextTransformSetPtr , AsnIoPtr, AsnTypePtr));
1698 
1699 #endif /* NLM_GENERATED_CODE_PROTO */
1700 
1701 
1702 
1703 /**************************************************
1704 *
1705 *    ConvertAction
1706 *
1707 **************************************************/
1708 typedef struct struct_Convert_action {
1709    ValNodePtr   fields;
1710    Uint1   strip_name;
1711    Uint1   keep_original;
1712    Uint2   capitalization;
1713    Uint2   existing_text;
1714 } ConvertAction, PNTR ConvertActionPtr;
1715 
1716 
1717 NLM_EXTERN ConvertActionPtr LIBCALL ConvertActionFree PROTO ((ConvertActionPtr ));
1718 NLM_EXTERN ConvertActionPtr LIBCALL ConvertActionNew PROTO (( void ));
1719 NLM_EXTERN ConvertActionPtr LIBCALL ConvertActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1720 NLM_EXTERN Boolean LIBCALL ConvertActionAsnWrite PROTO (( ConvertActionPtr , AsnIoPtr, AsnTypePtr));
1721 
1722 
1723 
1724 /**************************************************
1725 *
1726 *    CopyAction
1727 *
1728 **************************************************/
1729 typedef struct struct_Copy_action {
1730    ValNodePtr   fields;
1731    Uint2   existing_text;
1732 } CopyAction, PNTR CopyActionPtr;
1733 
1734 
1735 NLM_EXTERN CopyActionPtr LIBCALL CopyActionFree PROTO ((CopyActionPtr ));
1736 NLM_EXTERN CopyActionPtr LIBCALL CopyActionNew PROTO (( void ));
1737 NLM_EXTERN CopyActionPtr LIBCALL CopyActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1738 NLM_EXTERN Boolean LIBCALL CopyActionAsnWrite PROTO (( CopyActionPtr , AsnIoPtr, AsnTypePtr));
1739 
1740 
1741 
1742 /**************************************************
1743 *
1744 *    SwapAction
1745 *
1746 **************************************************/
1747 typedef struct struct_Swap_action {
1748    ValNodePtr   fields;
1749 } SwapAction, PNTR SwapActionPtr;
1750 
1751 
1752 NLM_EXTERN SwapActionPtr LIBCALL SwapActionFree PROTO ((SwapActionPtr ));
1753 NLM_EXTERN SwapActionPtr LIBCALL SwapActionNew PROTO (( void ));
1754 NLM_EXTERN SwapActionPtr LIBCALL SwapActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1755 NLM_EXTERN Boolean LIBCALL SwapActionAsnWrite PROTO (( SwapActionPtr , AsnIoPtr, AsnTypePtr));
1756 
1757 
1758 
1759 /**************************************************
1760 *
1761 *    AECRParseAction
1762 *
1763 **************************************************/
1764 typedef struct struct_AECRParse_action {
1765    struct struct_Text_portion PNTR   portion;
1766    ValNodePtr   fields;
1767    Uint1   remove_from_parsed;
1768    Uint1   remove_left;
1769    Uint1   remove_right;
1770    ValNodePtr   transform;
1771    Uint2   existing_text;
1772 } AECRParseAction, PNTR AECRParseActionPtr;
1773 
1774 
1775 NLM_EXTERN AECRParseActionPtr LIBCALL AECRParseActionFree PROTO ((AECRParseActionPtr ));
1776 NLM_EXTERN AECRParseActionPtr LIBCALL AECRParseActionNew PROTO (( void ));
1777 NLM_EXTERN AECRParseActionPtr LIBCALL AECRParseActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1778 NLM_EXTERN Boolean LIBCALL AECRParseActionAsnWrite PROTO (( AECRParseActionPtr , AsnIoPtr, AsnTypePtr));
1779 
1780 
1781 
1782 /**************************************************
1783 *
1784 *    RemoveAction
1785 *
1786 **************************************************/
1787 typedef struct struct_Remove_action {
1788    ValNodePtr   field;
1789 } RemoveAction, PNTR RemoveActionPtr;
1790 
1791 
1792 NLM_EXTERN RemoveActionPtr LIBCALL RemoveActionFree PROTO ((RemoveActionPtr ));
1793 NLM_EXTERN RemoveActionPtr LIBCALL RemoveActionNew PROTO (( void ));
1794 NLM_EXTERN RemoveActionPtr LIBCALL RemoveActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1795 NLM_EXTERN Boolean LIBCALL RemoveActionAsnWrite PROTO (( RemoveActionPtr , AsnIoPtr, AsnTypePtr));
1796 
1797 
1798 
1799 /**************************************************
1800 *
1801 *    RemoveOutsideAction
1802 *
1803 **************************************************/
1804 typedef struct struct_Remove_outside_action {
1805    struct struct_Text_portion PNTR   portion;
1806    ValNodePtr   field;
1807    Uint1   remove_if_not_found;
1808 } RemoveOutsideAction, PNTR RemoveOutsideActionPtr;
1809 
1810 
1811 NLM_EXTERN RemoveOutsideActionPtr LIBCALL RemoveOutsideActionFree PROTO ((RemoveOutsideActionPtr ));
1812 NLM_EXTERN RemoveOutsideActionPtr LIBCALL RemoveOutsideActionNew PROTO (( void ));
1813 NLM_EXTERN RemoveOutsideActionPtr LIBCALL RemoveOutsideActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1814 NLM_EXTERN Boolean LIBCALL RemoveOutsideActionAsnWrite PROTO (( RemoveOutsideActionPtr , AsnIoPtr, AsnTypePtr));
1815 
1816 typedef ValNodePtr ActionChoicePtr;
1817 typedef ValNode ActionChoice;
1818 #define ActionChoice_apply 1
1819 #define ActionChoice_edit 2
1820 #define ActionChoice_convert 3
1821 #define ActionChoice_copy 4
1822 #define ActionChoice_swap 5
1823 #define ActionChoice_remove 6
1824 #define ActionChoice_parse 7
1825 #define ActionChoice_remove_outside 8
1826 
1827 
1828 NLM_EXTERN ActionChoicePtr LIBCALL ActionChoiceFree PROTO ((ActionChoicePtr ));
1829 NLM_EXTERN ActionChoicePtr LIBCALL ActionChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1830 NLM_EXTERN Boolean LIBCALL ActionChoiceAsnWrite PROTO (( ActionChoicePtr , AsnIoPtr, AsnTypePtr));
1831 
1832 typedef ValNodePtr ParseSrcOrgChoicePtr;
1833 typedef ValNode ParseSrcOrgChoice;
1834 #define ParseSrcOrgChoice_source_qual 1
1835 #define ParseSrcOrgChoice_taxname_after_binomial 2
1836 
1837 
1838 NLM_EXTERN ParseSrcOrgChoicePtr LIBCALL ParseSrcOrgChoiceFree PROTO ((ParseSrcOrgChoicePtr ));
1839 NLM_EXTERN ParseSrcOrgChoicePtr LIBCALL ParseSrcOrgChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1840 NLM_EXTERN Boolean LIBCALL ParseSrcOrgChoiceAsnWrite PROTO (( ParseSrcOrgChoicePtr , AsnIoPtr, AsnTypePtr));
1841 
1842 
1843 
1844 /**************************************************
1845 *
1846 *    ParseSrcOrg
1847 *
1848 **************************************************/
1849 typedef struct struct_Parse_src_org {
1850    ValNodePtr   field;
1851    Uint2   type;
1852 } ParseSrcOrg, PNTR ParseSrcOrgPtr;
1853 
1854 
1855 NLM_EXTERN ParseSrcOrgPtr LIBCALL ParseSrcOrgFree PROTO ((ParseSrcOrgPtr ));
1856 NLM_EXTERN ParseSrcOrgPtr LIBCALL ParseSrcOrgNew PROTO (( void ));
1857 NLM_EXTERN ParseSrcOrgPtr LIBCALL ParseSrcOrgAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1858 NLM_EXTERN Boolean LIBCALL ParseSrcOrgAsnWrite PROTO (( ParseSrcOrgPtr , AsnIoPtr, AsnTypePtr));
1859 
1860 typedef ValNodePtr ParseSrcGeneralIdPtr;
1861 typedef ValNode ParseSrcGeneralId;
1862 #define ParseSrcGeneralId_whole_text 1
1863 #define ParseSrcGeneralId_db 2
1864 #define ParseSrcGeneralId_tag 3
1865 
1866 
1867 NLM_EXTERN ParseSrcGeneralIdPtr LIBCALL ParseSrcGeneralIdFree PROTO ((ParseSrcGeneralIdPtr ));
1868 NLM_EXTERN ParseSrcGeneralIdPtr LIBCALL ParseSrcGeneralIdAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1869 NLM_EXTERN Boolean LIBCALL ParseSrcGeneralIdAsnWrite PROTO (( ParseSrcGeneralIdPtr , AsnIoPtr, AsnTypePtr));
1870 
1871 typedef ValNodePtr ParseSrcPtr;
1872 typedef ValNode ParseSrc;
1873 #define ParseSrc_defline 1
1874 #define ParseSrc_flatfile 2
1875 #define ParseSrc_local_id 3
1876 #define ParseSrc_org 4
1877 #define ParseSrc_comment 5
1878 #define ParseSrc_bankit_comment 6
1879 #define ParseSrc_structured_comment 7
1880 #define ParseSrc_file_id 8
1881 #define ParseSrc_general_id 9
1882 
1883 
1884 NLM_EXTERN ParseSrcPtr LIBCALL ParseSrcFree PROTO ((ParseSrcPtr ));
1885 NLM_EXTERN ParseSrcPtr LIBCALL ParseSrcAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1886 NLM_EXTERN Boolean LIBCALL ParseSrcAsnWrite PROTO (( ParseSrcPtr , AsnIoPtr, AsnTypePtr));
1887 
1888 
1889 
1890 /**************************************************
1891 *
1892 *    ParseDstOrg
1893 *
1894 **************************************************/
1895 typedef struct struct_Parse_dst_org {
1896    ValNodePtr   field;
1897    Uint2   type;
1898 } ParseDstOrg, PNTR ParseDstOrgPtr;
1899 
1900 
1901 NLM_EXTERN ParseDstOrgPtr LIBCALL ParseDstOrgFree PROTO ((ParseDstOrgPtr ));
1902 NLM_EXTERN ParseDstOrgPtr LIBCALL ParseDstOrgNew PROTO (( void ));
1903 NLM_EXTERN ParseDstOrgPtr LIBCALL ParseDstOrgAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1904 NLM_EXTERN Boolean LIBCALL ParseDstOrgAsnWrite PROTO (( ParseDstOrgPtr , AsnIoPtr, AsnTypePtr));
1905 
1906 typedef ValNodePtr ParseDestPtr;
1907 typedef ValNode ParseDest;
1908 #define ParseDest_defline 1
1909 #define ParseDest_org 2
1910 #define ParseDest_featqual 3
1911 #define ParseDest_comment_descriptor 4
1912 #define ParseDest_dbxref 5
1913 
1914 
1915 NLM_EXTERN ParseDestPtr LIBCALL ParseDestFree PROTO ((ParseDestPtr ));
1916 NLM_EXTERN ParseDestPtr LIBCALL ParseDestAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1917 NLM_EXTERN Boolean LIBCALL ParseDestAsnWrite PROTO (( ParseDestPtr , AsnIoPtr, AsnTypePtr));
1918 
1919 
1920 
1921 /**************************************************
1922 *
1923 *    LocationInterval
1924 *
1925 **************************************************/
1926 typedef struct struct_Location_interval {
1927    Int4   from;
1928    Int4   to;
1929 } LocationInterval, PNTR LocationIntervalPtr;
1930 
1931 
1932 NLM_EXTERN LocationIntervalPtr LIBCALL LocationIntervalFree PROTO ((LocationIntervalPtr ));
1933 NLM_EXTERN LocationIntervalPtr LIBCALL LocationIntervalNew PROTO (( void ));
1934 NLM_EXTERN LocationIntervalPtr LIBCALL LocationIntervalAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1935 NLM_EXTERN Boolean LIBCALL LocationIntervalAsnWrite PROTO (( LocationIntervalPtr , AsnIoPtr, AsnTypePtr));
1936 
1937 typedef ValNodePtr LocationChoicePtr;
1938 typedef ValNode LocationChoice;
1939 #define LocationChoice_interval 1
1940 #define LocationChoice_whole_sequence 2
1941 #define LocationChoice_point 3
1942 
1943 
1944 NLM_EXTERN LocationChoicePtr LIBCALL LocationChoiceFree PROTO ((LocationChoicePtr ));
1945 NLM_EXTERN LocationChoicePtr LIBCALL LocationChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1946 NLM_EXTERN Boolean LIBCALL LocationChoiceAsnWrite PROTO (( LocationChoicePtr , AsnIoPtr, AsnTypePtr));
1947 
1948 
1949 
1950 /**************************************************
1951 *
1952 *    SequenceList
1953 *
1954 **************************************************/
1955 typedef ValNode SequenceList;
1956 typedef ValNodePtr SequenceListPtr;
1957 #define SequenceListNew() ValNodeNew(NULL)
1958 
1959 #ifdef NLM_GENERATED_CODE_PROTO
1960 
1961 NLM_EXTERN SequenceListPtr LIBCALL SequenceListFree PROTO ((SequenceListPtr ));
1962 NLM_EXTERN SequenceListPtr LIBCALL SequenceListNew PROTO (( void ));
1963 NLM_EXTERN SequenceListPtr LIBCALL SequenceListAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1964 NLM_EXTERN Boolean LIBCALL SequenceListAsnWrite PROTO (( SequenceListPtr , AsnIoPtr, AsnTypePtr));
1965 
1966 #endif /* NLM_GENERATED_CODE_PROTO */
1967 
1968 typedef ValNodePtr SequenceListChoicePtr;
1969 typedef ValNode SequenceListChoice;
1970 #define SequenceListChoice_list 1
1971 #define SequenceListChoice_all 2
1972 
1973 
1974 NLM_EXTERN SequenceListChoicePtr LIBCALL SequenceListChoiceFree PROTO ((SequenceListChoicePtr ));
1975 NLM_EXTERN SequenceListChoicePtr LIBCALL SequenceListChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1976 NLM_EXTERN Boolean LIBCALL SequenceListChoiceAsnWrite PROTO (( SequenceListChoicePtr , AsnIoPtr, AsnTypePtr));
1977 
1978 
1979 
1980 /**************************************************
1981 *
1982 *    ApplyFeatureAction
1983 *
1984 **************************************************/
1985 typedef struct struct_Apply_feature_action {
1986    Uint2   type;
1987    Uint1   partial5;
1988    Uint1   partial3;
1989    Uint1   plus_strand;
1990    ValNodePtr   location;
1991    ValNodePtr   seq_list;
1992    Uint1   add_redundant;
1993    Uint1   add_mrna;
1994    Uint1   apply_to_parts;
1995    Int4   only_seg_num;
1996    ValNodePtr   fields;
1997    ValNodePtr   src_fields;
1998 } ApplyFeatureAction, PNTR ApplyFeatureActionPtr;
1999 
2000 
2001 NLM_EXTERN ApplyFeatureActionPtr LIBCALL ApplyFeatureActionFree PROTO ((ApplyFeatureActionPtr ));
2002 NLM_EXTERN ApplyFeatureActionPtr LIBCALL ApplyFeatureActionNew PROTO (( void ));
2003 NLM_EXTERN ApplyFeatureActionPtr LIBCALL ApplyFeatureActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2004 NLM_EXTERN Boolean LIBCALL ApplyFeatureActionAsnWrite PROTO (( ApplyFeatureActionPtr , AsnIoPtr, AsnTypePtr));
2005 
2006 
2007 
2008 /**************************************************
2009 *
2010 *    RemoveFeatureAction
2011 *
2012 **************************************************/
2013 typedef struct struct_Remove_feature_action {
2014    Uint2   type;
2015    ValNodePtr   constraint;
2016 } RemoveFeatureAction, PNTR RemoveFeatureActionPtr;
2017 
2018 
2019 NLM_EXTERN RemoveFeatureActionPtr LIBCALL RemoveFeatureActionFree PROTO ((RemoveFeatureActionPtr ));
2020 NLM_EXTERN RemoveFeatureActionPtr LIBCALL RemoveFeatureActionNew PROTO (( void ));
2021 NLM_EXTERN RemoveFeatureActionPtr LIBCALL RemoveFeatureActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2022 NLM_EXTERN Boolean LIBCALL RemoveFeatureActionAsnWrite PROTO (( RemoveFeatureActionPtr , AsnIoPtr, AsnTypePtr));
2023 
2024 
2025 
2026 /**************************************************
2027 *
2028 *    ConvertFromCDSOptions
2029 *
2030 **************************************************/
2031 typedef struct struct_Convert_from_CDS_options {
2032    Uint1   remove_mRNA;
2033    Uint1   remove_gene;
2034    Uint1   remove_transcript_id;
2035 } ConvertFromCDSOptions, PNTR ConvertFromCDSOptionsPtr;
2036 
2037 
2038 NLM_EXTERN ConvertFromCDSOptionsPtr LIBCALL ConvertFromCDSOptionsFree PROTO ((ConvertFromCDSOptionsPtr ));
2039 NLM_EXTERN ConvertFromCDSOptionsPtr LIBCALL ConvertFromCDSOptionsNew PROTO (( void ));
2040 NLM_EXTERN ConvertFromCDSOptionsPtr LIBCALL ConvertFromCDSOptionsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2041 NLM_EXTERN Boolean LIBCALL ConvertFromCDSOptionsAsnWrite PROTO (( ConvertFromCDSOptionsPtr , AsnIoPtr, AsnTypePtr));
2042 
2043 typedef ValNodePtr ConvertFeatureSrcOptionsPtr;
2044 typedef ValNode ConvertFeatureSrcOptions;
2045 #define ConvertFeatureSrcOptions_cds 1
2046 
2047 
2048 NLM_EXTERN ConvertFeatureSrcOptionsPtr LIBCALL ConvertFeatureSrcOptionsFree PROTO ((ConvertFeatureSrcOptionsPtr ));
2049 NLM_EXTERN ConvertFeatureSrcOptionsPtr LIBCALL ConvertFeatureSrcOptionsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2050 NLM_EXTERN Boolean LIBCALL ConvertFeatureSrcOptionsAsnWrite PROTO (( ConvertFeatureSrcOptionsPtr , AsnIoPtr, AsnTypePtr));
2051 
2052 /* following #defines are for enumerated type, not used by object loaders */
2053 #define Bond_type_disulfide 1
2054 #define Bond_type_thioester 2
2055 #define Bond_type_crosslink 3
2056 #define Bond_type_thioether 4
2057 #define Bond_type_other 5
2058 
2059 /* following #defines are for enumerated type, not used by object loaders */
2060 #define Site_type_active 1
2061 #define Site_type_binding 2
2062 #define Site_type_cleavage 3
2063 #define Site_type_inhibit 4
2064 #define Site_type_modified 5
2065 #define Site_type_glycosylation 6
2066 #define Site_type_myristoylation 7
2067 #define Site_type_mutagenized 8
2068 #define Site_type_metal_binding 9
2069 #define Site_type_phosphorylation 10
2070 #define Site_type_acetylation 11
2071 #define Site_type_amidation 12
2072 #define Site_type_methylation 13
2073 #define Site_type_hydroxylation 14
2074 #define Site_type_sulfatation 15
2075 #define Site_type_oxidative_deamination 16
2076 #define Site_type_pyrrolidone_carboxylic_acid 17
2077 #define Site_type_gamma_carboxyglutamic_acid 18
2078 #define Site_type_blocked 19
2079 #define Site_type_lipid_binding 20
2080 #define Site_type_np_binding 21
2081 #define Site_type_dna_binding 22
2082 #define Site_type_signal_peptide 23
2083 #define Site_type_transit_peptide 24
2084 #define Site_type_transmembrane_region 25
2085 #define Site_type_nitrosylation 26
2086 #define Site_type_other 27
2087 
2088 
2089 
2090 /**************************************************
2091 *
2092 *    RegionType
2093 *
2094 **************************************************/
2095 typedef struct struct_Region_type {
2096    Uint1   create_nucleotide;
2097 } RegionType, PNTR RegionTypePtr;
2098 
2099 
2100 NLM_EXTERN RegionTypePtr LIBCALL RegionTypeFree PROTO ((RegionTypePtr ));
2101 NLM_EXTERN RegionTypePtr LIBCALL RegionTypeNew PROTO (( void ));
2102 NLM_EXTERN RegionTypePtr LIBCALL RegionTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2103 NLM_EXTERN Boolean LIBCALL RegionTypeAsnWrite PROTO (( RegionTypePtr , AsnIoPtr, AsnTypePtr));
2104 
2105 typedef ValNodePtr ConvertFeatureDstOptionsPtr;
2106 typedef ValNode ConvertFeatureDstOptions;
2107 #define ConvertFeatureDstOptions_bond 1
2108 #define ConvertFeatureDstOptions_site 2
2109 #define ConvertFeatureDstOptions_region 3
2110 #define ConvertFeatureDstOptions_ncrna_class 4
2111 #define ConvertFeatureDstOptions_remove_original 5
2112 
2113 
2114 NLM_EXTERN ConvertFeatureDstOptionsPtr LIBCALL ConvertFeatureDstOptionsFree PROTO ((ConvertFeatureDstOptionsPtr ));
2115 NLM_EXTERN ConvertFeatureDstOptionsPtr LIBCALL ConvertFeatureDstOptionsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2116 NLM_EXTERN Boolean LIBCALL ConvertFeatureDstOptionsAsnWrite PROTO (( ConvertFeatureDstOptionsPtr , AsnIoPtr, AsnTypePtr));
2117 
2118 
2119 
2120 /**************************************************
2121 *
2122 *    ConvertFeatureAction
2123 *
2124 **************************************************/
2125 typedef struct struct_Convert_feature_action {
2126    Uint2   type_from;
2127    Uint2   type_to;
2128    ValNodePtr   src_options;
2129    ValNodePtr   dst_options;
2130    Uint1   leave_original;
2131    ValNodePtr   src_feat_constraint;
2132 } ConvertFeatureAction, PNTR ConvertFeatureActionPtr;
2133 
2134 
2135 NLM_EXTERN ConvertFeatureActionPtr LIBCALL ConvertFeatureActionFree PROTO ((ConvertFeatureActionPtr ));
2136 NLM_EXTERN ConvertFeatureActionPtr LIBCALL ConvertFeatureActionNew PROTO (( void ));
2137 NLM_EXTERN ConvertFeatureActionPtr LIBCALL ConvertFeatureActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2138 NLM_EXTERN Boolean LIBCALL ConvertFeatureActionAsnWrite PROTO (( ConvertFeatureActionPtr , AsnIoPtr, AsnTypePtr));
2139 
2140 /* following #defines are for enumerated type, not used by object loaders */
2141 #define Feature_location_strand_from_any 0
2142 #define Feature_location_strand_from_plus 1
2143 #define Feature_location_strand_from_minus 2
2144 #define Feature_location_strand_from_unknown 3
2145 #define Feature_location_strand_from_both 4
2146 
2147 /* following #defines are for enumerated type, not used by object loaders */
2148 #define Feature_location_strand_to_plus 1
2149 #define Feature_location_strand_to_minus 2
2150 #define Feature_location_strand_to_unknown 3
2151 #define Feature_location_strand_to_both 4
2152 #define Feature_location_strand_to_reverse 5
2153 
2154 
2155 
2156 /**************************************************
2157 *
2158 *    EditLocationStrand
2159 *
2160 **************************************************/
2161 typedef struct struct_Edit_location_strand {
2162    Uint2   strand_from;
2163    Uint2   strand_to;
2164 } EditLocationStrand, PNTR EditLocationStrandPtr;
2165 
2166 
2167 NLM_EXTERN EditLocationStrandPtr LIBCALL EditLocationStrandFree PROTO ((EditLocationStrandPtr ));
2168 NLM_EXTERN EditLocationStrandPtr LIBCALL EditLocationStrandNew PROTO (( void ));
2169 NLM_EXTERN EditLocationStrandPtr LIBCALL EditLocationStrandAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2170 NLM_EXTERN Boolean LIBCALL EditLocationStrandAsnWrite PROTO (( EditLocationStrandPtr , AsnIoPtr, AsnTypePtr));
2171 
2172 /* following #defines are for enumerated type, not used by object loaders */
2173 #define Partial_5_set_constraint_all 0
2174 #define Partial_5_set_constraint_at_end 1
2175 #define Partial_5_set_constraint_bad_start 2
2176 #define Partial_5_set_constraint_frame_not_one 3
2177 
2178 
2179 
2180 /**************************************************
2181 *
2182 *    Partial5SetAction
2183 *
2184 **************************************************/
2185 typedef struct struct_Partial_5_set_action {
2186    Uint2   constraint;
2187    Uint1   extend;
2188 } Partial5SetAction, PNTR Partial5SetActionPtr;
2189 
2190 
2191 NLM_EXTERN Partial5SetActionPtr LIBCALL Partial5SetActionFree PROTO ((Partial5SetActionPtr ));
2192 NLM_EXTERN Partial5SetActionPtr LIBCALL Partial5SetActionNew PROTO (( void ));
2193 NLM_EXTERN Partial5SetActionPtr LIBCALL Partial5SetActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2194 NLM_EXTERN Boolean LIBCALL Partial5SetActionAsnWrite PROTO (( Partial5SetActionPtr , AsnIoPtr, AsnTypePtr));
2195 
2196 /* following #defines are for enumerated type, not used by object loaders */
2197 #define Partial_5_clear_constraint_all 0
2198 #define Partial_5_clear_constraint_not_at_end 1
2199 #define Partial_5_clear_constraint_good_start 2
2200 
2201 /* following #defines are for enumerated type, not used by object loaders */
2202 #define Partial_3_set_constraint_all 0
2203 #define Partial_3_set_constraint_at_end 1
2204 #define Partial_3_set_constraint_bad_end 2
2205 
2206 
2207 
2208 /**************************************************
2209 *
2210 *    Partial3SetAction
2211 *
2212 **************************************************/
2213 typedef struct struct_Partial_3_set_action {
2214    Uint2   constraint;
2215    Uint1   extend;
2216 } Partial3SetAction, PNTR Partial3SetActionPtr;
2217 
2218 
2219 NLM_EXTERN Partial3SetActionPtr LIBCALL Partial3SetActionFree PROTO ((Partial3SetActionPtr ));
2220 NLM_EXTERN Partial3SetActionPtr LIBCALL Partial3SetActionNew PROTO (( void ));
2221 NLM_EXTERN Partial3SetActionPtr LIBCALL Partial3SetActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2222 NLM_EXTERN Boolean LIBCALL Partial3SetActionAsnWrite PROTO (( Partial3SetActionPtr , AsnIoPtr, AsnTypePtr));
2223 
2224 /* following #defines are for enumerated type, not used by object loaders */
2225 #define Partial_3_clear_constraint_all 0
2226 #define Partial_3_clear_constraint_not_at_end 1
2227 #define Partial_3_clear_constraint_good_end 2
2228 
2229 /* following #defines are for enumerated type, not used by object loaders */
2230 #define Partial_both_set_constraint_all 0
2231 #define Partial_both_set_constraint_at_end 1
2232 
2233 
2234 
2235 /**************************************************
2236 *
2237 *    PartialBothSetAction
2238 *
2239 **************************************************/
2240 typedef struct struct_Partial_both_set_action {
2241    Uint2   constraint;
2242    Uint1   extend;
2243 } PartialBothSetAction, PNTR PartialBothSetActionPtr;
2244 
2245 
2246 NLM_EXTERN PartialBothSetActionPtr LIBCALL PartialBothSetActionFree PROTO ((PartialBothSetActionPtr ));
2247 NLM_EXTERN PartialBothSetActionPtr LIBCALL PartialBothSetActionNew PROTO (( void ));
2248 NLM_EXTERN PartialBothSetActionPtr LIBCALL PartialBothSetActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2249 NLM_EXTERN Boolean LIBCALL PartialBothSetActionAsnWrite PROTO (( PartialBothSetActionPtr , AsnIoPtr, AsnTypePtr));
2250 
2251 /* following #defines are for enumerated type, not used by object loaders */
2252 #define Partial_both_clear_constraint_all 0
2253 #define Partial_both_clear_constraint_not_at_end 1
2254 
2255 /* following #defines are for enumerated type, not used by object loaders */
2256 #define Convert_location_type_join 1
2257 #define Convert_location_type_order 2
2258 #define Convert_location_type_merge 3
2259 
2260 
2261 
2262 /**************************************************
2263 *
2264 *    ExtendToFeature
2265 *
2266 **************************************************/
2267 typedef struct struct_Extend_to_feature {
2268    Uint2   type;
2269    Uint1   include_feat;
2270    ValNodePtr   distance;
2271 } ExtendToFeature, PNTR ExtendToFeaturePtr;
2272 
2273 
2274 NLM_EXTERN ExtendToFeaturePtr LIBCALL ExtendToFeatureFree PROTO ((ExtendToFeaturePtr ));
2275 NLM_EXTERN ExtendToFeaturePtr LIBCALL ExtendToFeatureNew PROTO (( void ));
2276 NLM_EXTERN ExtendToFeaturePtr LIBCALL ExtendToFeatureAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2277 NLM_EXTERN Boolean LIBCALL ExtendToFeatureAsnWrite PROTO (( ExtendToFeaturePtr , AsnIoPtr, AsnTypePtr));
2278 
2279 typedef ValNodePtr LocationEditTypePtr;
2280 typedef ValNode LocationEditType;
2281 #define LocationEditType_strand 1
2282 #define LocationEditType_set_5_partial 2
2283 #define LocationEditType_clear_5_partial 3
2284 #define LocationEditType_set_3_partial 4
2285 #define LocationEditType_clear_3_partial 5
2286 #define LocationEditType_set_both_partial 6
2287 #define LocationEditType_clear_both_partial 7
2288 #define LocationEditType_convert 8
2289 #define LocationEditType_extend_5 9
2290 #define LocationEditType_extend_3 10
2291 #define LocationEditType_extend_5_to_feat 11
2292 #define LocationEditType_extend_3_to_feat 12
2293 
2294 
2295 NLM_EXTERN LocationEditTypePtr LIBCALL LocationEditTypeFree PROTO ((LocationEditTypePtr ));
2296 NLM_EXTERN LocationEditTypePtr LIBCALL LocationEditTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2297 NLM_EXTERN Boolean LIBCALL LocationEditTypeAsnWrite PROTO (( LocationEditTypePtr , AsnIoPtr, AsnTypePtr));
2298 
2299 
2300 
2301 /**************************************************
2302 *
2303 *    EditFeatureLocationAction
2304 *
2305 **************************************************/
2306 typedef struct struct_Edit_feature_location_action {
2307    Uint2   type;
2308    ValNodePtr   action;
2309    Uint1   retranslate_cds;
2310    Uint1   also_edit_gene;
2311    ValNodePtr   constraint;
2312 } EditFeatureLocationAction, PNTR EditFeatureLocationActionPtr;
2313 
2314 
2315 NLM_EXTERN EditFeatureLocationActionPtr LIBCALL EditFeatureLocationActionFree PROTO ((EditFeatureLocationActionPtr ));
2316 NLM_EXTERN EditFeatureLocationActionPtr LIBCALL EditFeatureLocationActionNew PROTO (( void ));
2317 NLM_EXTERN EditFeatureLocationActionPtr LIBCALL EditFeatureLocationActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2318 NLM_EXTERN Boolean LIBCALL EditFeatureLocationActionAsnWrite PROTO (( EditFeatureLocationActionPtr , AsnIoPtr, AsnTypePtr));
2319 
2320 
2321 
2322 /**************************************************
2323 *
2324 *    MolinfoBlock
2325 *
2326 **************************************************/
2327 typedef struct struct_Molinfo_block {
2328    ValNodePtr   to_list;
2329    ValNodePtr   from_list;
2330    ValNodePtr   constraint;
2331 } MolinfoBlock, PNTR MolinfoBlockPtr;
2332 
2333 
2334 NLM_EXTERN MolinfoBlockPtr LIBCALL MolinfoBlockFree PROTO ((MolinfoBlockPtr ));
2335 NLM_EXTERN MolinfoBlockPtr LIBCALL MolinfoBlockNew PROTO (( void ));
2336 NLM_EXTERN MolinfoBlockPtr LIBCALL MolinfoBlockAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2337 NLM_EXTERN Boolean LIBCALL MolinfoBlockAsnWrite PROTO (( MolinfoBlockPtr , AsnIoPtr, AsnTypePtr));
2338 
2339 /* following #defines are for enumerated type, not used by object loaders */
2340 #define Descriptor_type_all 0
2341 #define Descriptor_type_title 1
2342 #define Descriptor_type_source 2
2343 #define Descriptor_type_publication 3
2344 #define Descriptor_type_comment 4
2345 #define Descriptor_type_genbank 5
2346 #define Descriptor_type_user 6
2347 #define Descriptor_type_create_date 7
2348 #define Descriptor_type_update_date 8
2349 #define Descriptor_type_mol_info 9
2350 #define Descriptor_type_structured_comment 10
2351 #define Descriptor_type_genome_project_id 11
2352 
2353 
2354 
2355 /**************************************************
2356 *
2357 *    RemoveDescriptorAction
2358 *
2359 **************************************************/
2360 typedef struct struct_Remove_descriptor_action {
2361    Uint2   type;
2362    ValNodePtr   constraint;
2363 } RemoveDescriptorAction, PNTR RemoveDescriptorActionPtr;
2364 
2365 
2366 NLM_EXTERN RemoveDescriptorActionPtr LIBCALL RemoveDescriptorActionFree PROTO ((RemoveDescriptorActionPtr ));
2367 NLM_EXTERN RemoveDescriptorActionPtr LIBCALL RemoveDescriptorActionNew PROTO (( void ));
2368 NLM_EXTERN RemoveDescriptorActionPtr LIBCALL RemoveDescriptorActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2369 NLM_EXTERN Boolean LIBCALL RemoveDescriptorActionAsnWrite PROTO (( RemoveDescriptorActionPtr , AsnIoPtr, AsnTypePtr));
2370 
2371 /* following #defines are for enumerated type, not used by object loaders */
2372 #define Autodef_list_type_feature_list 1
2373 #define Autodef_list_type_complete_sequence 2
2374 #define Autodef_list_type_complete_genome 3
2375 #define Autodef_list_type_sequence 4
2376 
2377 /* following #defines are for enumerated type, not used by object loaders */
2378 #define Autodef_misc_feat_parse_rule_use_comment_before_first_semicolon 1
2379 #define Autodef_misc_feat_parse_rule_look_for_noncoding_products 2
2380 
2381 
2382 
2383 /**************************************************
2384 *
2385 *    AutodefAction
2386 *
2387 **************************************************/
2388 typedef struct struct_Autodef_action {
2389    ValNodePtr   modifiers;
2390    Uint2   clause_list_type;
2391    Uint2   misc_feat_parse_rule;
2392 } AutodefAction, PNTR AutodefActionPtr;
2393 
2394 
2395 NLM_EXTERN AutodefActionPtr LIBCALL AutodefActionFree PROTO ((AutodefActionPtr ));
2396 NLM_EXTERN AutodefActionPtr LIBCALL AutodefActionNew PROTO (( void ));
2397 NLM_EXTERN AutodefActionPtr LIBCALL AutodefActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2398 NLM_EXTERN Boolean LIBCALL AutodefActionAsnWrite PROTO (( AutodefActionPtr , AsnIoPtr, AsnTypePtr));
2399 
2400 
2401 
2402 /**************************************************
2403 *
2404 *    FixPubCapsAction
2405 *
2406 **************************************************/
2407 typedef struct struct_Fix_pub_caps_action {
2408    Uint1   title;
2409    Uint1   authors;
2410    Uint1   affiliation;
2411    Uint1   affil_country;
2412    Uint1   punct_only;
2413    ValNodePtr   constraint;
2414 } FixPubCapsAction, PNTR FixPubCapsActionPtr;
2415 
2416 
2417 NLM_EXTERN FixPubCapsActionPtr LIBCALL FixPubCapsActionFree PROTO ((FixPubCapsActionPtr ));
2418 NLM_EXTERN FixPubCapsActionPtr LIBCALL FixPubCapsActionNew PROTO (( void ));
2419 NLM_EXTERN FixPubCapsActionPtr LIBCALL FixPubCapsActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2420 NLM_EXTERN Boolean LIBCALL FixPubCapsActionAsnWrite PROTO (( FixPubCapsActionPtr , AsnIoPtr, AsnTypePtr));
2421 
2422 /* following #defines are for enumerated type, not used by object loaders */
2423 #define Sort_order_short_to_long 1
2424 #define Sort_order_long_to_short 2
2425 #define Sort_order_alphabetical 3
2426 
2427 
2428 
2429 /**************************************************
2430 *
2431 *    SortFieldsAction
2432 *
2433 **************************************************/
2434 typedef struct struct_Sort_fields_action {
2435    ValNodePtr   field;
2436    Uint2   order;
2437    ValNodePtr   constraint;
2438 } SortFieldsAction, PNTR SortFieldsActionPtr;
2439 
2440 
2441 NLM_EXTERN SortFieldsActionPtr LIBCALL SortFieldsActionFree PROTO ((SortFieldsActionPtr ));
2442 NLM_EXTERN SortFieldsActionPtr LIBCALL SortFieldsActionNew PROTO (( void ));
2443 NLM_EXTERN SortFieldsActionPtr LIBCALL SortFieldsActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2444 NLM_EXTERN Boolean LIBCALL SortFieldsActionAsnWrite PROTO (( SortFieldsActionPtr , AsnIoPtr, AsnTypePtr));
2445 
2446 
2447 
2448 /**************************************************
2449 *
2450 *    FixAuthorCaps
2451 *
2452 **************************************************/
2453 typedef struct struct_Fix_author_caps {
2454    Uint1   last_name_only;
2455 } FixAuthorCaps, PNTR FixAuthorCapsPtr;
2456 
2457 
2458 NLM_EXTERN FixAuthorCapsPtr LIBCALL FixAuthorCapsFree PROTO ((FixAuthorCapsPtr ));
2459 NLM_EXTERN FixAuthorCapsPtr LIBCALL FixAuthorCapsNew PROTO (( void ));
2460 NLM_EXTERN FixAuthorCapsPtr LIBCALL FixAuthorCapsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2461 NLM_EXTERN Boolean LIBCALL FixAuthorCapsAsnWrite PROTO (( FixAuthorCapsPtr , AsnIoPtr, AsnTypePtr));
2462 
2463 typedef ValNodePtr FixCapsActionPtr;
2464 typedef ValNode FixCapsAction;
2465 #define FixCapsAction_pub 1
2466 #define FixCapsAction_src_country 2
2467 #define FixCapsAction_mouse_strain 3
2468 #define FixCapsAction_src_qual 4
2469 #define FixCapsAction_author 5
2470 
2471 
2472 NLM_EXTERN FixCapsActionPtr LIBCALL FixCapsActionFree PROTO ((FixCapsActionPtr ));
2473 NLM_EXTERN FixCapsActionPtr LIBCALL FixCapsActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2474 NLM_EXTERN Boolean LIBCALL FixCapsActionAsnWrite PROTO (( FixCapsActionPtr , AsnIoPtr, AsnTypePtr));
2475 
2476 typedef ValNodePtr FixFormatActionPtr;
2477 typedef ValNode FixFormatAction;
2478 #define FixFormatAction_collection_date 1
2479 #define FixFormatAction_lat_lon 2
2480 #define FixFormatAction_primers 3
2481 #define FixFormatAction_protein_name 4
2482 
2483 
2484 NLM_EXTERN FixFormatActionPtr LIBCALL FixFormatActionFree PROTO ((FixFormatActionPtr ));
2485 NLM_EXTERN FixFormatActionPtr LIBCALL FixFormatActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2486 NLM_EXTERN Boolean LIBCALL FixFormatActionAsnWrite PROTO (( FixFormatActionPtr , AsnIoPtr, AsnTypePtr));
2487 
2488 
2489 
2490 /**************************************************
2491 *
2492 *    RemoveDuplicateFeatureAction
2493 *
2494 **************************************************/
2495 typedef struct struct_Remove_duplicate_feature_action {
2496    Uint2   type;
2497    Uint1   ignore_partials;
2498    Uint1   case_sensitive;
2499    Uint1   remove_proteins;
2500    ValNodePtr   rd_constraint;
2501 } RemoveDuplicateFeatureAction, PNTR RemoveDuplicateFeatureActionPtr;
2502 
2503 
2504 NLM_EXTERN RemoveDuplicateFeatureActionPtr LIBCALL RemoveDuplicateFeatureActionFree PROTO ((RemoveDuplicateFeatureActionPtr ));
2505 NLM_EXTERN RemoveDuplicateFeatureActionPtr LIBCALL RemoveDuplicateFeatureActionNew PROTO (( void ));
2506 NLM_EXTERN RemoveDuplicateFeatureActionPtr LIBCALL RemoveDuplicateFeatureActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2507 NLM_EXTERN Boolean LIBCALL RemoveDuplicateFeatureActionAsnWrite PROTO (( RemoveDuplicateFeatureActionPtr , AsnIoPtr, AsnTypePtr));
2508 
2509 /* following #defines are for enumerated type, not used by object loaders */
2510 #define Gene_xref_suppression_type_any 0
2511 #define Gene_xref_suppression_type_suppressing 1
2512 #define Gene_xref_suppression_type_non_suppressing 2
2513 
2514 /* following #defines are for enumerated type, not used by object loaders */
2515 #define Gene_xref_necessary_type_any 0
2516 #define Gene_xref_necessary_type_necessary 1
2517 #define Gene_xref_necessary_type_unnecessary 2
2518 
2519 
2520 
2521 /**************************************************
2522 *
2523 *    GeneXrefType
2524 *
2525 **************************************************/
2526 typedef struct struct_Gene_xref_type {
2527    Uint2   feature;
2528    Uint2   suppression;
2529    Uint2   necessary;
2530 } GeneXrefType, PNTR GeneXrefTypePtr;
2531 
2532 
2533 NLM_EXTERN GeneXrefTypePtr LIBCALL GeneXrefTypeFree PROTO ((GeneXrefTypePtr ));
2534 NLM_EXTERN GeneXrefTypePtr LIBCALL GeneXrefTypeNew PROTO (( void ));
2535 NLM_EXTERN GeneXrefTypePtr LIBCALL GeneXrefTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2536 NLM_EXTERN Boolean LIBCALL GeneXrefTypeAsnWrite PROTO (( GeneXrefTypePtr , AsnIoPtr, AsnTypePtr));
2537 
2538 typedef ValNodePtr XrefTypePtr;
2539 typedef ValNode XrefType;
2540 #define XrefType_gene 1
2541 
2542 
2543 NLM_EXTERN XrefTypePtr LIBCALL XrefTypeFree PROTO ((XrefTypePtr ));
2544 NLM_EXTERN XrefTypePtr LIBCALL XrefTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2545 NLM_EXTERN Boolean LIBCALL XrefTypeAsnWrite PROTO (( XrefTypePtr , AsnIoPtr, AsnTypePtr));
2546 
2547 
2548 
2549 /**************************************************
2550 *
2551 *    RemoveXrefsAction
2552 *
2553 **************************************************/
2554 typedef struct struct_Remove_xrefs_action {
2555    ValNodePtr   xref_type;
2556    ValNodePtr   constraint;
2557 } RemoveXrefsAction, PNTR RemoveXrefsActionPtr;
2558 
2559 
2560 NLM_EXTERN RemoveXrefsActionPtr LIBCALL RemoveXrefsActionFree PROTO ((RemoveXrefsActionPtr ));
2561 NLM_EXTERN RemoveXrefsActionPtr LIBCALL RemoveXrefsActionNew PROTO (( void ));
2562 NLM_EXTERN RemoveXrefsActionPtr LIBCALL RemoveXrefsActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2563 NLM_EXTERN Boolean LIBCALL RemoveXrefsActionAsnWrite PROTO (( RemoveXrefsActionPtr , AsnIoPtr, AsnTypePtr));
2564 
2565 
2566 
2567 /**************************************************
2568 *
2569 *    MakeGeneXrefAction
2570 *
2571 **************************************************/
2572 typedef struct struct_Make_gene_xref_action {
2573    Uint2   feature;
2574    ValNodePtr   constraint;
2575 } MakeGeneXrefAction, PNTR MakeGeneXrefActionPtr;
2576 
2577 
2578 NLM_EXTERN MakeGeneXrefActionPtr LIBCALL MakeGeneXrefActionFree PROTO ((MakeGeneXrefActionPtr ));
2579 NLM_EXTERN MakeGeneXrefActionPtr LIBCALL MakeGeneXrefActionNew PROTO (( void ));
2580 NLM_EXTERN MakeGeneXrefActionPtr LIBCALL MakeGeneXrefActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2581 NLM_EXTERN Boolean LIBCALL MakeGeneXrefActionAsnWrite PROTO (( MakeGeneXrefActionPtr , AsnIoPtr, AsnTypePtr));
2582 
2583 /* following #defines are for enumerated type, not used by object loaders */
2584 #define Author_fix_type_truncate_middle_initials 1
2585 #define Author_fix_type_strip_suffix 2
2586 #define Author_fix_type_move_middle_to_first 3
2587 
2588 
2589 
2590 /**************************************************
2591 *
2592 *    AuthorFixAction
2593 *
2594 **************************************************/
2595 typedef struct struct_Author_fix_action {
2596    Uint2   fix_type;
2597    ValNodePtr   constraint;
2598 } AuthorFixAction, PNTR AuthorFixActionPtr;
2599 
2600 
2601 NLM_EXTERN AuthorFixActionPtr LIBCALL AuthorFixActionFree PROTO ((AuthorFixActionPtr ));
2602 NLM_EXTERN AuthorFixActionPtr LIBCALL AuthorFixActionNew PROTO (( void ));
2603 NLM_EXTERN AuthorFixActionPtr LIBCALL AuthorFixActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2604 NLM_EXTERN Boolean LIBCALL AuthorFixActionAsnWrite PROTO (( AuthorFixActionPtr , AsnIoPtr, AsnTypePtr));
2605 
2606 
2607 
2608 /**************************************************
2609 *
2610 *    UpdateSequencesAction
2611 *
2612 **************************************************/
2613 typedef struct struct_Update_sequences_action {
2614    CharPtr   filename;
2615    Uint1   add_cit_subs;
2616 } UpdateSequencesAction, PNTR UpdateSequencesActionPtr;
2617 
2618 
2619 NLM_EXTERN UpdateSequencesActionPtr LIBCALL UpdateSequencesActionFree PROTO ((UpdateSequencesActionPtr ));
2620 NLM_EXTERN UpdateSequencesActionPtr LIBCALL UpdateSequencesActionNew PROTO (( void ));
2621 NLM_EXTERN UpdateSequencesActionPtr LIBCALL UpdateSequencesActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2622 NLM_EXTERN Boolean LIBCALL UpdateSequencesActionAsnWrite PROTO (( UpdateSequencesActionPtr , AsnIoPtr, AsnTypePtr));
2623 
2624 typedef ValNodePtr CreateTSAIdsSrcPtr;
2625 typedef ValNode CreateTSAIdsSrc;
2626 #define CreateTSAIdsSrc_local_id 1
2627 #define CreateTSAIdsSrc_defline 2
2628 
2629 
2630 NLM_EXTERN CreateTSAIdsSrcPtr LIBCALL CreateTSAIdsSrcFree PROTO ((CreateTSAIdsSrcPtr ));
2631 NLM_EXTERN CreateTSAIdsSrcPtr LIBCALL CreateTSAIdsSrcAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2632 NLM_EXTERN Boolean LIBCALL CreateTSAIdsSrcAsnWrite PROTO (( CreateTSAIdsSrcPtr , AsnIoPtr, AsnTypePtr));
2633 
2634 
2635 
2636 /**************************************************
2637 *
2638 *    CreateTSAIdsAction
2639 *
2640 **************************************************/
2641 typedef struct struct_Create_TSA_ids_action {
2642    ValNodePtr   src;
2643    CharPtr   suffix;
2644    struct struct_Text_portion PNTR   id_text_portion;
2645 } CreateTSAIdsAction, PNTR CreateTSAIdsActionPtr;
2646 
2647 
2648 NLM_EXTERN CreateTSAIdsActionPtr LIBCALL CreateTSAIdsActionFree PROTO ((CreateTSAIdsActionPtr ));
2649 NLM_EXTERN CreateTSAIdsActionPtr LIBCALL CreateTSAIdsActionNew PROTO (( void ));
2650 NLM_EXTERN CreateTSAIdsActionPtr LIBCALL CreateTSAIdsActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2651 NLM_EXTERN Boolean LIBCALL CreateTSAIdsActionAsnWrite PROTO (( CreateTSAIdsActionPtr , AsnIoPtr, AsnTypePtr));
2652 
2653 
2654 
2655 /**************************************************
2656 *
2657 *    AutofixAction
2658 *
2659 **************************************************/
2660 typedef struct struct_Autofix_action {
2661    CharPtr   test_name;
2662 } AutofixAction, PNTR AutofixActionPtr;
2663 
2664 
2665 NLM_EXTERN AutofixActionPtr LIBCALL AutofixActionFree PROTO ((AutofixActionPtr ));
2666 NLM_EXTERN AutofixActionPtr LIBCALL AutofixActionNew PROTO (( void ));
2667 NLM_EXTERN AutofixActionPtr LIBCALL AutofixActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2668 NLM_EXTERN Boolean LIBCALL AutofixActionAsnWrite PROTO (( AutofixActionPtr , AsnIoPtr, AsnTypePtr));
2669 
2670 typedef ValNodePtr FixSetsActionPtr;
2671 typedef ValNode FixSetsAction;
2672 #define FixSetsAction_remove_single_item_set 1
2673 #define FixSetsAction_renormalize_nuc_prot_sets 2
2674 #define FixSetsAction_fix_pop_to_phy 3
2675 
2676 
2677 NLM_EXTERN FixSetsActionPtr LIBCALL FixSetsActionFree PROTO ((FixSetsActionPtr ));
2678 NLM_EXTERN FixSetsActionPtr LIBCALL FixSetsActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2679 NLM_EXTERN Boolean LIBCALL FixSetsActionAsnWrite PROTO (( FixSetsActionPtr , AsnIoPtr, AsnTypePtr));
2680 
2681 typedef ValNodePtr TableMatchTypePtr;
2682 typedef ValNode TableMatchType;
2683 #define TableMatchType_feature_id 1
2684 #define TableMatchType_gene_locus_tag 2
2685 #define TableMatchType_protein_id 3
2686 #define TableMatchType_dbxref 4
2687 #define TableMatchType_nuc_id 5
2688 #define TableMatchType_src_qual 6
2689 #define TableMatchType_protein_name 7
2690 #define TableMatchType_bioproject 8
2691 #define TableMatchType_any 9
2692 
2693 
2694 NLM_EXTERN TableMatchTypePtr LIBCALL TableMatchTypeFree PROTO ((TableMatchTypePtr ));
2695 NLM_EXTERN TableMatchTypePtr LIBCALL TableMatchTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2696 NLM_EXTERN Boolean LIBCALL TableMatchTypeAsnWrite PROTO (( TableMatchTypePtr , AsnIoPtr, AsnTypePtr));
2697 
2698 
2699 
2700 /**************************************************
2701 *
2702 *    TableMatch
2703 *
2704 **************************************************/
2705 typedef struct struct_Table_match {
2706    ValNodePtr   match_type;
2707    Uint2   match_location;
2708 } TableMatch, PNTR TableMatchPtr;
2709 
2710 
2711 NLM_EXTERN TableMatchPtr LIBCALL TableMatchFree PROTO ((TableMatchPtr ));
2712 NLM_EXTERN TableMatchPtr LIBCALL TableMatchNew PROTO (( void ));
2713 NLM_EXTERN TableMatchPtr LIBCALL TableMatchAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2714 NLM_EXTERN Boolean LIBCALL TableMatchAsnWrite PROTO (( TableMatchPtr , AsnIoPtr, AsnTypePtr));
2715 
2716 typedef ValNodePtr ApplyTableExtraDataPtr;
2717 typedef ValNode ApplyTableExtraData;
2718 #define ApplyTableExtraData_table 1
2719 
2720 
2721 NLM_EXTERN ApplyTableExtraDataPtr LIBCALL ApplyTableExtraDataFree PROTO ((ApplyTableExtraDataPtr ));
2722 NLM_EXTERN ApplyTableExtraDataPtr LIBCALL ApplyTableExtraDataAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2723 NLM_EXTERN Boolean LIBCALL ApplyTableExtraDataAsnWrite PROTO (( ApplyTableExtraDataPtr , AsnIoPtr, AsnTypePtr));
2724 
2725 
2726 
2727 /**************************************************
2728 *
2729 *    ApplyTableAction
2730 *
2731 **************************************************/
2732 typedef struct struct_Apply_table_action {
2733    CharPtr   filename;
2734    struct struct_Table_match PNTR   match_type;
2735    ValNodePtr   in_memory_table;
2736    Uint1   also_change_mrna;
2737    Uint1   skip_blanks;
2738 } ApplyTableAction, PNTR ApplyTableActionPtr;
2739 
2740 
2741 NLM_EXTERN ApplyTableActionPtr LIBCALL ApplyTableActionFree PROTO ((ApplyTableActionPtr ));
2742 NLM_EXTERN ApplyTableActionPtr LIBCALL ApplyTableActionNew PROTO (( void ));
2743 NLM_EXTERN ApplyTableActionPtr LIBCALL ApplyTableActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2744 NLM_EXTERN Boolean LIBCALL ApplyTableActionAsnWrite PROTO (( ApplyTableActionPtr , AsnIoPtr, AsnTypePtr));
2745 
2746 
2747 
2748 /**************************************************
2749 *
2750 *    AddFileAction
2751 *
2752 **************************************************/
2753 typedef struct struct_Add_file_action {
2754    CharPtr   filename;
2755    ValNodePtr   in_memory_table;
2756 } AddFileAction, PNTR AddFileActionPtr;
2757 
2758 
2759 NLM_EXTERN AddFileActionPtr LIBCALL AddFileActionFree PROTO ((AddFileActionPtr ));
2760 NLM_EXTERN AddFileActionPtr LIBCALL AddFileActionNew PROTO (( void ));
2761 NLM_EXTERN AddFileActionPtr LIBCALL AddFileActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2762 NLM_EXTERN Boolean LIBCALL AddFileActionAsnWrite PROTO (( AddFileActionPtr , AsnIoPtr, AsnTypePtr));
2763 
2764 
2765 
2766 /**************************************************
2767 *
2768 *    AddDescriptorListAction
2769 *
2770 **************************************************/
2771 typedef struct struct_Add_descriptor_list_action {
2772    struct struct_Add_file_action PNTR   descriptor_list;
2773    ValNodePtr   constraint;
2774 } AddDescriptorListAction, PNTR AddDescriptorListActionPtr;
2775 
2776 
2777 NLM_EXTERN AddDescriptorListActionPtr LIBCALL AddDescriptorListActionFree PROTO ((AddDescriptorListActionPtr ));
2778 NLM_EXTERN AddDescriptorListActionPtr LIBCALL AddDescriptorListActionNew PROTO (( void ));
2779 NLM_EXTERN AddDescriptorListActionPtr LIBCALL AddDescriptorListActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2780 NLM_EXTERN Boolean LIBCALL AddDescriptorListActionAsnWrite PROTO (( AddDescriptorListActionPtr , AsnIoPtr, AsnTypePtr));
2781 
2782 
2783 
2784 /**************************************************
2785 *
2786 *    RemoveSequencesAction
2787 *
2788 **************************************************/
2789 typedef struct struct_Remove_sequences_action {
2790    ValNodePtr   constraint;
2791 } RemoveSequencesAction, PNTR RemoveSequencesActionPtr;
2792 
2793 
2794 NLM_EXTERN RemoveSequencesActionPtr LIBCALL RemoveSequencesActionFree PROTO ((RemoveSequencesActionPtr ));
2795 NLM_EXTERN RemoveSequencesActionPtr LIBCALL RemoveSequencesActionNew PROTO (( void ));
2796 NLM_EXTERN RemoveSequencesActionPtr LIBCALL RemoveSequencesActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2797 NLM_EXTERN Boolean LIBCALL RemoveSequencesActionAsnWrite PROTO (( RemoveSequencesActionPtr , AsnIoPtr, AsnTypePtr));
2798 
2799 
2800 
2801 /**************************************************
2802 *
2803 *    UpdateReplacedEcNumbersAction
2804 *
2805 **************************************************/
2806 typedef struct struct_Update_replaced_ec_numbers_action {
2807    Uint1   delete_improper_format;
2808    Uint1   delete_unrecognized;
2809    Uint1   delete_multiple_replacement;
2810 } UpdateReplacedEcNumbersAction, PNTR UpdateReplacedEcNumbersActionPtr;
2811 
2812 
2813 NLM_EXTERN UpdateReplacedEcNumbersActionPtr LIBCALL UpdateReplacedEcNumbersActionFree PROTO ((UpdateReplacedEcNumbersActionPtr ));
2814 NLM_EXTERN UpdateReplacedEcNumbersActionPtr LIBCALL UpdateReplacedEcNumbersActionNew PROTO (( void ));
2815 NLM_EXTERN UpdateReplacedEcNumbersActionPtr LIBCALL UpdateReplacedEcNumbersActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2816 NLM_EXTERN Boolean LIBCALL UpdateReplacedEcNumbersActionAsnWrite PROTO (( UpdateReplacedEcNumbersActionPtr , AsnIoPtr, AsnTypePtr));
2817 
2818 
2819 
2820 /**************************************************
2821 *
2822 *    RetranslateCdsAction
2823 *
2824 **************************************************/
2825 typedef struct struct_Retranslate_cds_action {
2826    Uint1   obey_stop_codon;
2827 } RetranslateCdsAction, PNTR RetranslateCdsActionPtr;
2828 
2829 
2830 NLM_EXTERN RetranslateCdsActionPtr LIBCALL RetranslateCdsActionFree PROTO ((RetranslateCdsActionPtr ));
2831 NLM_EXTERN RetranslateCdsActionPtr LIBCALL RetranslateCdsActionNew PROTO (( void ));
2832 NLM_EXTERN RetranslateCdsActionPtr LIBCALL RetranslateCdsActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2833 NLM_EXTERN Boolean LIBCALL RetranslateCdsActionAsnWrite PROTO (( RetranslateCdsActionPtr , AsnIoPtr, AsnTypePtr));
2834 
2835 /* following #defines are for enumerated type, not used by object loaders */
2836 #define Truncated_ends_partial_type_always 1
2837 #define Truncated_ends_partial_type_unless_pseudo 2
2838 #define Truncated_ends_partial_type_never 3
2839 
2840 
2841 
2842 /**************************************************
2843 *
2844 *    AdjustFeaturesForGapsAction
2845 *
2846 **************************************************/
2847 typedef struct struct_Adjust_features_for_gaps_action {
2848    Uint2   type;
2849    Uint1   adjust_for_unknown_length_gaps;
2850    Uint1   adjust_for_known_length_gaps;
2851    Uint2   make_truncated_ends_partial;
2852    Uint1   trim_ends_in_gaps;
2853    Uint1   split_for_internal_gaps;
2854    Uint1   even_when_gaps_are_in_introns;
2855 } AdjustFeaturesForGapsAction, PNTR AdjustFeaturesForGapsActionPtr;
2856 
2857 
2858 NLM_EXTERN AdjustFeaturesForGapsActionPtr LIBCALL AdjustFeaturesForGapsActionFree PROTO ((AdjustFeaturesForGapsActionPtr ));
2859 NLM_EXTERN AdjustFeaturesForGapsActionPtr LIBCALL AdjustFeaturesForGapsActionNew PROTO (( void ));
2860 NLM_EXTERN AdjustFeaturesForGapsActionPtr LIBCALL AdjustFeaturesForGapsActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2861 NLM_EXTERN Boolean LIBCALL AdjustFeaturesForGapsActionAsnWrite PROTO (( AdjustFeaturesForGapsActionPtr , AsnIoPtr, AsnTypePtr));
2862 
2863 typedef ValNodePtr MacroActionChoicePtr;
2864 typedef ValNode MacroActionChoice;
2865 #define MacroActionChoice_aecr 1
2866 #define MacroActionChoice_parse 2
2867 #define MacroActionChoice_add_feature 3
2868 #define MacroActionChoice_remove_feature 4
2869 #define MacroActionChoice_convert_feature 5
2870 #define MacroActionChoice_edit_location 6
2871 #define MacroActionChoice_remove_descriptor 7
2872 #define MacroActionChoice_autodef 8
2873 #define MacroActionChoice_removesets 9
2874 #define MacroActionChoice_trim_junk_from_primer_seq 10
2875 #define MacroActionChoice_trim_stop_from_complete_cds 11
2876 #define MacroActionChoice_fix_usa_and_states 12
2877 #define MacroActionChoice_synchronize_cds_partials 13
2878 #define MacroActionChoice_adjust_for_consensus_splice 14
2879 #define MacroActionChoice_fix_pub_caps 15
2880 #define MacroActionChoice_remove_seg_gaps 16
2881 #define MacroActionChoice_sort_fields 17
2882 #define MacroActionChoice_apply_molinfo_block 18
2883 #define MacroActionChoice_fix_caps 19
2884 #define MacroActionChoice_fix_format 20
2885 #define MacroActionChoice_fix_spell 21
2886 #define MacroActionChoice_remove_duplicate_features 22
2887 #define MacroActionChoice_remove_lineage_notes 23
2888 #define MacroActionChoice_remove_xrefs 24
2889 #define MacroActionChoice_make_gene_xrefs 25
2890 #define MacroActionChoice_make_bold_xrefs 26
2891 #define MacroActionChoice_fix_author 27
2892 #define MacroActionChoice_update_sequences 28
2893 #define MacroActionChoice_add_trans_splicing 29
2894 #define MacroActionChoice_remove_invalid_ecnumbers 30
2895 #define MacroActionChoice_create_tsa_ids 31
2896 #define MacroActionChoice_perform_autofix 32
2897 #define MacroActionChoice_fix_sets 33
2898 #define MacroActionChoice_apply_table 34
2899 #define MacroActionChoice_remove_sequences 35
2900 #define MacroActionChoice_propagate_sequence_technology 36
2901 #define MacroActionChoice_add_file_descriptors 37
2902 #define MacroActionChoice_propagate_missing_old_name 38
2903 #define MacroActionChoice_autoapply_structured_comments 39
2904 #define MacroActionChoice_reorder_structured_comments 40
2905 #define MacroActionChoice_remove_duplicate_structured_comments 41
2906 #define MacroActionChoice_lookup_taxonomy 42
2907 #define MacroActionChoice_lookup_pubs 43
2908 #define MacroActionChoice_trim_terminal_ns 44
2909 #define MacroActionChoice_update_replaced_ecnumbers 45
2910 #define MacroActionChoice_instantiate_protein_titles 46
2911 #define MacroActionChoice_retranslate_cds 47
2912 #define MacroActionChoice_add_selenocysteine_except 48
2913 #define MacroActionChoice_join_short_trnas 49
2914 #define MacroActionChoice_adjust_features_for_gaps 50
2915 
2916 
2917 NLM_EXTERN MacroActionChoicePtr LIBCALL MacroActionChoiceFree PROTO ((MacroActionChoicePtr ));
2918 NLM_EXTERN MacroActionChoicePtr LIBCALL MacroActionChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2919 NLM_EXTERN Boolean LIBCALL MacroActionChoiceAsnWrite PROTO (( MacroActionChoicePtr , AsnIoPtr, AsnTypePtr));
2920 
2921 typedef ValNodePtr SearchFuncPtr;
2922 typedef ValNode SearchFunc;
2923 #define SearchFunc_string_constraint 1
2924 #define SearchFunc_contains_plural 2
2925 #define SearchFunc_n_or_more_brackets_or_parentheses 3
2926 #define SearchFunc_three_numbers 4
2927 #define SearchFunc_underscore 5
2928 #define SearchFunc_prefix_and_numbers 6
2929 #define SearchFunc_all_caps 7
2930 #define SearchFunc_unbalanced_paren 8
2931 #define SearchFunc_too_long 9
2932 #define SearchFunc_has_term 10
2933 
2934 
2935 NLM_EXTERN SearchFuncPtr LIBCALL SearchFuncFree PROTO ((SearchFuncPtr ));
2936 NLM_EXTERN SearchFuncPtr LIBCALL SearchFuncAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2937 NLM_EXTERN Boolean LIBCALL SearchFuncAsnWrite PROTO (( SearchFuncPtr , AsnIoPtr, AsnTypePtr));
2938 
2939 
2940 
2941 /**************************************************
2942 *
2943 *    SimpleReplace
2944 *
2945 **************************************************/
2946 typedef struct struct_Simple_replace {
2947    CharPtr   replace;
2948    Uint1   whole_string;
2949    Uint1   weasel_to_putative;
2950 } SimpleReplace, PNTR SimpleReplacePtr;
2951 
2952 
2953 NLM_EXTERN SimpleReplacePtr LIBCALL SimpleReplaceFree PROTO ((SimpleReplacePtr ));
2954 NLM_EXTERN SimpleReplacePtr LIBCALL SimpleReplaceNew PROTO (( void ));
2955 NLM_EXTERN SimpleReplacePtr LIBCALL SimpleReplaceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2956 NLM_EXTERN Boolean LIBCALL SimpleReplaceAsnWrite PROTO (( SimpleReplacePtr , AsnIoPtr, AsnTypePtr));
2957 
2958 typedef ValNodePtr ReplaceFuncPtr;
2959 typedef ValNode ReplaceFunc;
2960 #define ReplaceFunc_simple_replace 1
2961 #define ReplaceFunc_haem_replace 2
2962 
2963 
2964 NLM_EXTERN ReplaceFuncPtr LIBCALL ReplaceFuncFree PROTO ((ReplaceFuncPtr ));
2965 NLM_EXTERN ReplaceFuncPtr LIBCALL ReplaceFuncAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2966 NLM_EXTERN Boolean LIBCALL ReplaceFuncAsnWrite PROTO (( ReplaceFuncPtr , AsnIoPtr, AsnTypePtr));
2967 
2968 
2969 
2970 /**************************************************
2971 *
2972 *    ReplaceRule
2973 *
2974 **************************************************/
2975 typedef struct struct_Replace_rule {
2976    ValNodePtr   replace_func;
2977    Uint1   move_to_note;
2978 } ReplaceRule, PNTR ReplaceRulePtr;
2979 
2980 
2981 NLM_EXTERN ReplaceRulePtr LIBCALL ReplaceRuleFree PROTO ((ReplaceRulePtr ));
2982 NLM_EXTERN ReplaceRulePtr LIBCALL ReplaceRuleNew PROTO (( void ));
2983 NLM_EXTERN ReplaceRulePtr LIBCALL ReplaceRuleAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2984 NLM_EXTERN Boolean LIBCALL ReplaceRuleAsnWrite PROTO (( ReplaceRulePtr , AsnIoPtr, AsnTypePtr));
2985 
2986 /* following #defines are for enumerated type, not used by object loaders */
2987 #define Fix_type_none 0
2988 #define Fix_type_typo 1
2989 #define Fix_type_putative_typo 2
2990 #define Fix_type_quickfix 3
2991 #define Fix_type_no_organelle_for_prokaryote 4
2992 #define Fix_type_might_be_nonfunctional 5
2993 #define Fix_type_database 6
2994 #define Fix_type_remove_organism_name 7
2995 #define Fix_type_inappropriate_symbol 8
2996 #define Fix_type_evolutionary_relationship 9
2997 #define Fix_type_use_protein 10
2998 #define Fix_type_hypothetical 11
2999 #define Fix_type_british 12
3000 #define Fix_type_description 13
3001 #define Fix_type_gene 14
3002 
3003 
3004 
3005 /**************************************************
3006 *
3007 *    SuspectRule
3008 *
3009 **************************************************/
3010 typedef struct struct_Suspect_rule {
3011    struct struct_Suspect_rule PNTR next;
3012    ValNodePtr   find;
3013    ValNodePtr   except;
3014    ValNodePtr   feat_constraint;
3015    Uint2   rule_type;
3016    struct struct_Replace_rule PNTR   replace;
3017    CharPtr   description;
3018    Uint1   fatal;
3019 } SuspectRule, PNTR SuspectRulePtr;
3020 
3021 
3022 NLM_EXTERN SuspectRulePtr LIBCALL SuspectRuleFree PROTO ((SuspectRulePtr ));
3023 NLM_EXTERN SuspectRulePtr LIBCALL SuspectRuleNew PROTO (( void ));
3024 NLM_EXTERN SuspectRulePtr LIBCALL SuspectRuleAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
3025 NLM_EXTERN Boolean LIBCALL SuspectRuleAsnWrite PROTO (( SuspectRulePtr , AsnIoPtr, AsnTypePtr));
3026 
3027 #ifdef __cplusplus
3028 /* { */ }
3029 #endif
3030 
3031 #endif /* _objmacro_ */
3032 
3033 #undef NLM_EXTERN
3034 #ifdef NLM_EXPORT
3035 #define NLM_EXTERN NLM_EXPORT
3036 #else
3037 #define NLM_EXTERN
3038 #endif
3039 
3040