|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/object/objmacro.h |
source navigation diff markup identifier search freetext search file search |
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.16 at Nov 17, 2009 10:05 AM
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 Uint2 existing_text;
59 } ParseAction, PNTR ParseActionPtr;
60
61
62 NLM_EXTERN ParseActionPtr LIBCALL ParseActionFree PROTO ((ParseActionPtr ));
63 NLM_EXTERN ParseActionPtr LIBCALL ParseActionNew PROTO (( void ));
64 NLM_EXTERN ParseActionPtr LIBCALL ParseActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
65 NLM_EXTERN Boolean LIBCALL ParseActionAsnWrite PROTO (( ParseActionPtr , AsnIoPtr, AsnTypePtr));
66
67
68
69 /**************************************************
70 *
71 * MacroActionList
72 *
73 **************************************************/
74 typedef ValNode MacroActionList;
75 typedef ValNodePtr MacroActionListPtr;
76 #define MacroActionListNew() ValNodeNew(NULL)
77
78 #ifdef NLM_GENERATED_CODE_PROTO
79
80 NLM_EXTERN MacroActionListPtr LIBCALL MacroActionListFree PROTO ((MacroActionListPtr ));
81 NLM_EXTERN MacroActionListPtr LIBCALL MacroActionListNew PROTO (( void ));
82 NLM_EXTERN MacroActionListPtr LIBCALL MacroActionListAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
83 NLM_EXTERN Boolean LIBCALL MacroActionListAsnWrite PROTO (( MacroActionListPtr , AsnIoPtr, AsnTypePtr));
84
85 #endif /* NLM_GENERATED_CODE_PROTO */
86
87 /* following #defines are for enumerated type, not used by object loaders */
88 #define String_location_contains 1
89 #define String_location_equals 2
90 #define String_location_starts 3
91 #define String_location_ends 4
92 #define String_location_inlist 5
93
94
95
96 /**************************************************
97 *
98 * StringConstraint
99 *
100 **************************************************/
101 typedef struct struct_String_constraint {
102 CharPtr match_text;
103 Uint2 match_location;
104 Uint1 case_sensitive;
105 Uint1 whole_word;
106 Uint1 not_present;
107 } StringConstraint, PNTR StringConstraintPtr;
108
109
110 NLM_EXTERN StringConstraintPtr LIBCALL StringConstraintFree PROTO ((StringConstraintPtr ));
111 NLM_EXTERN StringConstraintPtr LIBCALL StringConstraintNew PROTO (( void ));
112 NLM_EXTERN StringConstraintPtr LIBCALL StringConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
113 NLM_EXTERN Boolean LIBCALL StringConstraintAsnWrite PROTO (( StringConstraintPtr , AsnIoPtr, AsnTypePtr));
114
115 /* following #defines are for enumerated type, not used by object loaders */
116 #define Strand_constraint_any 0
117 #define Strand_constraint_plus 1
118 #define Strand_constraint_minus 2
119
120 /* following #defines are for enumerated type, not used by object loaders */
121 #define Seqtype_constraint_any 0
122 #define Seqtype_constraint_nuc 1
123 #define Seqtype_constraint_prot 2
124
125 /* following #defines are for enumerated type, not used by object loaders */
126 #define Partial_constraint_either 0
127 #define Partial_constraint_partial 1
128 #define Partial_constraint_complete 2
129
130
131
132 /**************************************************
133 *
134 * LocationConstraint
135 *
136 **************************************************/
137 typedef struct struct_Location_constraint {
138 Uint2 strand;
139 Uint2 seq_type;
140 Uint2 partial5;
141 Uint2 partial3;
142 } LocationConstraint, PNTR LocationConstraintPtr;
143
144
145 NLM_EXTERN LocationConstraintPtr LIBCALL LocationConstraintFree PROTO ((LocationConstraintPtr ));
146 NLM_EXTERN LocationConstraintPtr LIBCALL LocationConstraintNew PROTO (( void ));
147 NLM_EXTERN LocationConstraintPtr LIBCALL LocationConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
148 NLM_EXTERN Boolean LIBCALL LocationConstraintAsnWrite PROTO (( LocationConstraintPtr , AsnIoPtr, AsnTypePtr));
149
150 /* following #defines are for enumerated type, not used by object loaders */
151 #define Object_type_constraint_any 0
152 #define Object_type_constraint_feature 1
153 #define Object_type_constraint_descriptor 2
154
155 /* following #defines are for enumerated type, not used by object loaders */
156 #define Feature_type_any 0
157 #define Feature_type_gene 1
158 #define Feature_type_org 2
159 #define Feature_type_cds 3
160 #define Feature_type_prot 4
161 #define Feature_type_preRNA 5
162 #define Feature_type_mRNA 6
163 #define Feature_type_tRNA 7
164 #define Feature_type_rRNA 8
165 #define Feature_type_snRNA 9
166 #define Feature_type_scRNA 10
167 #define Feature_type_otherRNA 11
168 #define Feature_type_pub 12
169 #define Feature_type_seq 13
170 #define Feature_type_imp 14
171 #define Feature_type_allele 15
172 #define Feature_type_attenuator 16
173 #define Feature_type_c_region 17
174 #define Feature_type_caat_signal 18
175 #define Feature_type_imp_CDS 19
176 #define Feature_type_conflict 20
177 #define Feature_type_d_loop 21
178 #define Feature_type_d_segment 22
179 #define Feature_type_enhancer 23
180 #define Feature_type_exon 24
181 #define Feature_type_gC_signal 25
182 #define Feature_type_iDNA 26
183 #define Feature_type_intron 27
184 #define Feature_type_j_segment 28
185 #define Feature_type_ltr 29
186 #define Feature_type_mat_peptide 30
187 #define Feature_type_misc_binding 31
188 #define Feature_type_misc_difference 32
189 #define Feature_type_misc_feature 33
190 #define Feature_type_misc_recomb 34
191 #define Feature_type_misc_RNA 35
192 #define Feature_type_misc_signal 36
193 #define Feature_type_misc_structure 37
194 #define Feature_type_modified_base 38
195 #define Feature_type_mutation 39
196 #define Feature_type_n_region 40
197 #define Feature_type_old_sequence 41
198 #define Feature_type_polyA_signal 42
199 #define Feature_type_polyA_site 43
200 #define Feature_type_precursor_RNA 44
201 #define Feature_type_prim_transcript 45
202 #define Feature_type_primer_bind 46
203 #define Feature_type_promoter 47
204 #define Feature_type_protein_bind 48
205 #define Feature_type_rbs 49
206 #define Feature_type_repeat_region 50
207 #define Feature_type_rep_origin 51
208 #define Feature_type_s_region 52
209 #define Feature_type_sig_peptide 53
210 #define Feature_type_source 54
211 #define Feature_type_stem_loop 55
212 #define Feature_type_sts 56
213 #define Feature_type_tata_signal 57
214 #define Feature_type_terminator 58
215 #define Feature_type_transit_peptide 59
216 #define Feature_type_unsure 60
217 #define Feature_type_v_region 61
218 #define Feature_type_v_segment 62
219 #define Feature_type_variation 63
220 #define Feature_type_virion 64
221 #define Feature_type_n3clip 65
222 #define Feature_type_n3UTR 66
223 #define Feature_type_n5clip 67
224 #define Feature_type_n5UTR 68
225 #define Feature_type_n10_signal 69
226 #define Feature_type_n35_signal 70
227 #define Feature_type_site_ref 71
228 #define Feature_type_region 72
229 #define Feature_type_comment 73
230 #define Feature_type_bond 74
231 #define Feature_type_site 75
232 #define Feature_type_rsite 76
233 #define Feature_type_user 77
234 #define Feature_type_txinit 78
235 #define Feature_type_num 79
236 #define Feature_type_psec_str 80
237 #define Feature_type_non_std_residue 81
238 #define Feature_type_het 82
239 #define Feature_type_biosrc 83
240 #define Feature_type_preprotein 84
241 #define Feature_type_mat_peptide_aa 85
242 #define Feature_type_sig_peptide_aa 86
243 #define Feature_type_transit_peptide_aa 87
244 #define Feature_type_snoRNA 88
245 #define Feature_type_gap 89
246 #define Feature_type_operon 90
247 #define Feature_type_oriT 91
248 #define Feature_type_ncRNA 92
249 #define Feature_type_tmRNA 93
250
251 /* following #defines are for enumerated type, not used by object loaders */
252 #define Feat_qual_legal_allele 1
253 #define Feat_qual_legal_activity 2
254 #define Feat_qual_legal_anticodon 3
255 #define Feat_qual_legal_bound_moiety 4
256 #define Feat_qual_legal_chromosome 5
257 #define Feat_qual_legal_citation 6
258 #define Feat_qual_legal_codon 7
259 #define Feat_qual_legal_codon_start 8
260 #define Feat_qual_legal_codons_recognized 9
261 #define Feat_qual_legal_compare 10
262 #define Feat_qual_legal_cons_splice 11
263 #define Feat_qual_legal_db_xref 12
264 #define Feat_qual_legal_description 13
265 #define Feat_qual_legal_direction 14
266 #define Feat_qual_legal_ec_number 15
267 #define Feat_qual_legal_environmental_sample 16
268 #define Feat_qual_legal_evidence 17
269 #define Feat_qual_legal_exception 18
270 #define Feat_qual_legal_experiment 19
271 #define Feat_qual_legal_focus 20
272 #define Feat_qual_legal_frequency 21
273 #define Feat_qual_legal_function 22
274 #define Feat_qual_legal_gene 23
275 #define Feat_qual_legal_gene_description 24
276 #define Feat_qual_legal_inference 25
277 #define Feat_qual_legal_label 26
278 #define Feat_qual_legal_locus_tag 27
279 #define Feat_qual_legal_map 28
280 #define Feat_qual_legal_mobile_element 29
281 #define Feat_qual_legal_mod_base 30
282 #define Feat_qual_legal_mol_type 31
283 #define Feat_qual_legal_ncRNA_class 32
284 #define Feat_qual_legal_note 33
285 #define Feat_qual_legal_number 34
286 #define Feat_qual_legal_old_locus_tag 35
287 #define Feat_qual_legal_operon 36
288 #define Feat_qual_legal_organism 37
289 #define Feat_qual_legal_organelle 38
290 #define Feat_qual_legal_partial 39
291 #define Feat_qual_legal_phenotype 40
292 #define Feat_qual_legal_plasmid 41
293 #define Feat_qual_legal_product 42
294 #define Feat_qual_legal_protein_id 43
295 #define Feat_qual_legal_pseudo 44
296 #define Feat_qual_legal_rearranged 45
297 #define Feat_qual_legal_replace 46
298 #define Feat_qual_legal_rpt_family 47
299 #define Feat_qual_legal_rpt_type 48
300 #define Feat_qual_legal_rpt_unit 49
301 #define Feat_qual_legal_rpt_unit_seq 50
302 #define Feat_qual_legal_rpt_unit_range 51
303 #define Feat_qual_legal_segment 52
304 #define Feat_qual_legal_sequenced_mol 53
305 #define Feat_qual_legal_standard_name 54
306 #define Feat_qual_legal_synonym 55
307 #define Feat_qual_legal_transcript_id 56
308 #define Feat_qual_legal_transgenic 57
309 #define Feat_qual_legal_translation 58
310 #define Feat_qual_legal_transl_except 59
311 #define Feat_qual_legal_transl_table 60
312 #define Feat_qual_legal_usedin 61
313 #define Feat_qual_legal_mobile_element_type 62
314 #define Feat_qual_legal_mobile_element_name 63
315 #define Feat_qual_legal_gene_comment 64
316 #define Feat_qual_legal_satellite 65
317 #define Feat_qual_legal_satellite_type 66
318 #define Feat_qual_legal_satellite_name 67
319 #define Feat_qual_legal_location 68
320 #define Feat_qual_legal_tag_peptide 69
321
322
323
324 /**************************************************
325 *
326 * FeatQualLegalVal
327 *
328 **************************************************/
329 typedef struct struct_Feat_qual_legal_val {
330 Uint2 qual;
331 CharPtr val;
332 } FeatQualLegalVal, PNTR FeatQualLegalValPtr;
333
334
335 NLM_EXTERN FeatQualLegalValPtr LIBCALL FeatQualLegalValFree PROTO ((FeatQualLegalValPtr ));
336 NLM_EXTERN FeatQualLegalValPtr LIBCALL FeatQualLegalValNew PROTO (( void ));
337 NLM_EXTERN FeatQualLegalValPtr LIBCALL FeatQualLegalValAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
338 NLM_EXTERN Boolean LIBCALL FeatQualLegalValAsnWrite PROTO (( FeatQualLegalValPtr , AsnIoPtr, AsnTypePtr));
339
340 typedef ValNodePtr FeatQualLegalValChoicePtr;
341 typedef ValNode FeatQualLegalValChoice;
342 #define FeatQualLegalValChoice_qual 1
343
344
345 NLM_EXTERN FeatQualLegalValChoicePtr LIBCALL FeatQualLegalValChoiceFree PROTO ((FeatQualLegalValChoicePtr ));
346 NLM_EXTERN FeatQualLegalValChoicePtr LIBCALL FeatQualLegalValChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
347 NLM_EXTERN Boolean LIBCALL FeatQualLegalValChoiceAsnWrite PROTO (( FeatQualLegalValChoicePtr , AsnIoPtr, AsnTypePtr));
348
349
350
351 /**************************************************
352 *
353 * FeatQualLegalSet
354 *
355 **************************************************/
356 typedef ValNode FeatQualLegalSet;
357 typedef ValNodePtr FeatQualLegalSetPtr;
358 #define FeatQualLegalSetNew() ValNodeNew(NULL)
359
360 #ifdef NLM_GENERATED_CODE_PROTO
361
362 NLM_EXTERN FeatQualLegalSetPtr LIBCALL FeatQualLegalSetFree PROTO ((FeatQualLegalSetPtr ));
363 NLM_EXTERN FeatQualLegalSetPtr LIBCALL FeatQualLegalSetNew PROTO (( void ));
364 NLM_EXTERN FeatQualLegalSetPtr LIBCALL FeatQualLegalSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
365 NLM_EXTERN Boolean LIBCALL FeatQualLegalSetAsnWrite PROTO (( FeatQualLegalSetPtr , AsnIoPtr, AsnTypePtr));
366
367 #endif /* NLM_GENERATED_CODE_PROTO */
368
369 typedef ValNodePtr FeatQualChoicePtr;
370 typedef ValNode FeatQualChoice;
371 #define FeatQualChoice_legal_qual 1
372 #define FeatQualChoice_illegal_qual 2
373
374
375 NLM_EXTERN FeatQualChoicePtr LIBCALL FeatQualChoiceFree PROTO ((FeatQualChoicePtr ));
376 NLM_EXTERN FeatQualChoicePtr LIBCALL FeatQualChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
377 NLM_EXTERN Boolean LIBCALL FeatQualChoiceAsnWrite PROTO (( FeatQualChoicePtr , AsnIoPtr, AsnTypePtr));
378
379
380
381 /**************************************************
382 *
383 * FeatureField
384 *
385 **************************************************/
386 typedef struct struct_Feature_field {
387 Uint2 type;
388 ValNodePtr field;
389 } FeatureField, PNTR FeatureFieldPtr;
390
391
392 NLM_EXTERN FeatureFieldPtr LIBCALL FeatureFieldFree PROTO ((FeatureFieldPtr ));
393 NLM_EXTERN FeatureFieldPtr LIBCALL FeatureFieldNew PROTO (( void ));
394 NLM_EXTERN FeatureFieldPtr LIBCALL FeatureFieldAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
395 NLM_EXTERN Boolean LIBCALL FeatureFieldAsnWrite PROTO (( FeatureFieldPtr , AsnIoPtr, AsnTypePtr));
396
397
398
399 /**************************************************
400 *
401 * FeatureFieldLegal
402 *
403 **************************************************/
404 typedef struct struct_Feature_field_legal {
405 Uint2 type;
406 Uint2 field;
407 } FeatureFieldLegal, PNTR FeatureFieldLegalPtr;
408
409
410 NLM_EXTERN FeatureFieldLegalPtr LIBCALL FeatureFieldLegalFree PROTO ((FeatureFieldLegalPtr ));
411 NLM_EXTERN FeatureFieldLegalPtr LIBCALL FeatureFieldLegalNew PROTO (( void ));
412 NLM_EXTERN FeatureFieldLegalPtr LIBCALL FeatureFieldLegalAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
413 NLM_EXTERN Boolean LIBCALL FeatureFieldLegalAsnWrite PROTO (( FeatureFieldLegalPtr , AsnIoPtr, AsnTypePtr));
414
415
416
417 /**************************************************
418 *
419 * FeatureFieldPair
420 *
421 **************************************************/
422 typedef struct struct_Feature_field_pair {
423 Uint2 type;
424 ValNodePtr field_from;
425 ValNodePtr field_to;
426 } FeatureFieldPair, PNTR FeatureFieldPairPtr;
427
428
429 NLM_EXTERN FeatureFieldPairPtr LIBCALL FeatureFieldPairFree PROTO ((FeatureFieldPairPtr ));
430 NLM_EXTERN FeatureFieldPairPtr LIBCALL FeatureFieldPairNew PROTO (( void ));
431 NLM_EXTERN FeatureFieldPairPtr LIBCALL FeatureFieldPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
432 NLM_EXTERN Boolean LIBCALL FeatureFieldPairAsnWrite PROTO (( FeatureFieldPairPtr , AsnIoPtr, AsnTypePtr));
433
434 typedef ValNodePtr RnaFeatTypePtr;
435 typedef ValNode RnaFeatType;
436 #define RnaFeatType_preRNA 1
437 #define RnaFeatType_mRNA 2
438 #define RnaFeatType_tRNA 3
439 #define RnaFeatType_rRNA 4
440 #define RnaFeatType_ncRNA 5
441 #define RnaFeatType_tmRNA 6
442 #define RnaFeatType_miscRNA 7
443
444
445 NLM_EXTERN RnaFeatTypePtr LIBCALL RnaFeatTypeFree PROTO ((RnaFeatTypePtr ));
446 NLM_EXTERN RnaFeatTypePtr LIBCALL RnaFeatTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
447 NLM_EXTERN Boolean LIBCALL RnaFeatTypeAsnWrite PROTO (( RnaFeatTypePtr , AsnIoPtr, AsnTypePtr));
448
449 /* following #defines are for enumerated type, not used by object loaders */
450 #define Rna_field_product 1
451 #define Rna_field_comment 2
452 #define Rna_field_codons_recognized 3
453 #define Rna_field_ncrna_class 4
454 #define Rna_field_anticodon 5
455 #define Rna_field_transcript_id 6
456 #define Rna_field_gene_locus 7
457 #define Rna_field_gene_description 8
458 #define Rna_field_gene_maploc 9
459 #define Rna_field_gene_locus_tag 10
460 #define Rna_field_gene_synonym 11
461 #define Rna_field_gene_comment 12
462 #define Rna_field_tag_peptide 13
463
464
465
466 /**************************************************
467 *
468 * RnaQual
469 *
470 **************************************************/
471 typedef struct struct_Rna_qual {
472 ValNodePtr type;
473 Uint2 field;
474 } RnaQual, PNTR RnaQualPtr;
475
476
477 NLM_EXTERN RnaQualPtr LIBCALL RnaQualFree PROTO ((RnaQualPtr ));
478 NLM_EXTERN RnaQualPtr LIBCALL RnaQualNew PROTO (( void ));
479 NLM_EXTERN RnaQualPtr LIBCALL RnaQualAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
480 NLM_EXTERN Boolean LIBCALL RnaQualAsnWrite PROTO (( RnaQualPtr , AsnIoPtr, AsnTypePtr));
481
482
483
484 /**************************************************
485 *
486 * RnaQualPair
487 *
488 **************************************************/
489 typedef struct struct_Rna_qual_pair {
490 ValNodePtr type;
491 Uint2 field_from;
492 Uint2 field_to;
493 } RnaQualPair, PNTR RnaQualPairPtr;
494
495
496 NLM_EXTERN RnaQualPairPtr LIBCALL RnaQualPairFree PROTO ((RnaQualPairPtr ));
497 NLM_EXTERN RnaQualPairPtr LIBCALL RnaQualPairNew PROTO (( void ));
498 NLM_EXTERN RnaQualPairPtr LIBCALL RnaQualPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
499 NLM_EXTERN Boolean LIBCALL RnaQualPairAsnWrite PROTO (( RnaQualPairPtr , AsnIoPtr, AsnTypePtr));
500
501 /* following #defines are for enumerated type, not used by object loaders */
502 #define Source_qual_acronym 1
503 #define Source_qual_anamorph 2
504 #define Source_qual_authority 3
505 #define Source_qual_bio_material 4
506 #define Source_qual_biotype 5
507 #define Source_qual_biovar 6
508 #define Source_qual_breed 7
509 #define Source_qual_cell_line 8
510 #define Source_qual_cell_type 9
511 #define Source_qual_chemovar 10
512 #define Source_qual_chromosome 11
513 #define Source_qual_clone 12
514 #define Source_qual_clone_lib 13
515 #define Source_qual_collected_by 14
516 #define Source_qual_collection_date 15
517 #define Source_qual_common 16
518 #define Source_qual_common_name 17
519 #define Source_qual_country 18
520 #define Source_qual_cultivar 19
521 #define Source_qual_culture_collection 20
522 #define Source_qual_dev_stage 21
523 #define Source_qual_division 22
524 #define Source_qual_dosage 23
525 #define Source_qual_ecotype 24
526 #define Source_qual_endogenous_virus_name 25
527 #define Source_qual_environmental_sample 26
528 #define Source_qual_forma 27
529 #define Source_qual_forma_specialis 28
530 #define Source_qual_frequency 29
531 #define Source_qual_fwd_primer_name 30
532 #define Source_qual_fwd_primer_seq 31
533 #define Source_qual_gb_acronym 32
534 #define Source_qual_gb_anamorph 33
535 #define Source_qual_gb_synonym 34
536 #define Source_qual_genotype 35
537 #define Source_qual_germline 36
538 #define Source_qual_group 37
539 #define Source_qual_haplotype 38
540 #define Source_qual_identified_by 39
541 #define Source_qual_insertion_seq_name 40
542 #define Source_qual_isolate 41
543 #define Source_qual_isolation_source 42
544 #define Source_qual_lab_host 43
545 #define Source_qual_lat_lon 44
546 #define Source_qual_lineage 45
547 #define Source_qual_map 46
548 #define Source_qual_metagenome_source 47
549 #define Source_qual_metagenomic 48
550 #define Source_qual_old_lineage 49
551 #define Source_qual_old_name 50
552 #define Source_qual_orgmod_note 51
553 #define Source_qual_nat_host 52
554 #define Source_qual_pathovar 53
555 #define Source_qual_plasmid_name 54
556 #define Source_qual_plastid_name 55
557 #define Source_qual_pop_variant 56
558 #define Source_qual_rearranged 57
559 #define Source_qual_rev_primer_name 58
560 #define Source_qual_rev_primer_seq 59
561 #define Source_qual_segment 60
562 #define Source_qual_serogroup 61
563 #define Source_qual_serotype 62
564 #define Source_qual_serovar 63
565 #define Source_qual_sex 64
566 #define Source_qual_specimen_voucher 65
567 #define Source_qual_strain 66
568 #define Source_qual_subclone 67
569 #define Source_qual_subgroup 68
570 #define Source_qual_subsource_note 69
571 #define Source_qual_sub_species 70
572 #define Source_qual_substrain 71
573 #define Source_qual_subtype 72
574 #define Source_qual_synonym 73
575 #define Source_qual_taxname 74
576 #define Source_qual_teleomorph 75
577 #define Source_qual_tissue_lib 76
578 #define Source_qual_tissue_type 77
579 #define Source_qual_transgenic 78
580 #define Source_qual_transposon_name 79
581 #define Source_qual_type 80
582 #define Source_qual_variety 81
583 #define Source_qual_specimen_voucher_INST 82
584 #define Source_qual_specimen_voucher_COLL 83
585 #define Source_qual_specimen_voucher_SpecID 84
586 #define Source_qual_culture_collection_INST 85
587 #define Source_qual_culture_collection_COLL 86
588 #define Source_qual_culture_collection_SpecID 87
589 #define Source_qual_bio_material_INST 88
590 #define Source_qual_bio_material_COLL 89
591 #define Source_qual_bio_material_SpecID 90
592 #define Source_qual_all_notes 91
593 #define Source_qual_mating_type 92
594 #define Source_qual_linkage_group 93
595 #define Source_qual_haplogroup 94
596 #define Source_qual_all_quals 95
597 #define Source_qual_dbxref 96
598
599
600
601 /**************************************************
602 *
603 * SourceQualPair
604 *
605 **************************************************/
606 typedef struct struct_Source_qual_pair {
607 Uint2 field_from;
608 Uint2 field_to;
609 } SourceQualPair, PNTR SourceQualPairPtr;
610
611
612 NLM_EXTERN SourceQualPairPtr LIBCALL SourceQualPairFree PROTO ((SourceQualPairPtr ));
613 NLM_EXTERN SourceQualPairPtr LIBCALL SourceQualPairNew PROTO (( void ));
614 NLM_EXTERN SourceQualPairPtr LIBCALL SourceQualPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
615 NLM_EXTERN Boolean LIBCALL SourceQualPairAsnWrite PROTO (( SourceQualPairPtr , AsnIoPtr, AsnTypePtr));
616
617 /* following #defines are for enumerated type, not used by object loaders */
618 #define Source_location_unknown 0
619 #define Source_location_genomic 1
620 #define Source_location_chloroplast 2
621 #define Source_location_chromoplast 3
622 #define Source_location_kinetoplast 4
623 #define Source_location_mitochondrion 5
624 #define Source_location_plastid 6
625 #define Source_location_macronuclear 7
626 #define Source_location_extrachrom 8
627 #define Source_location_plasmid 9
628 #define Source_location_transposon 10
629 #define Source_location_insertion_seq 11
630 #define Source_location_cyanelle 12
631 #define Source_location_proviral 13
632 #define Source_location_virion 14
633 #define Source_location_nucleomorph 15
634 #define Source_location_apicoplast 16
635 #define Source_location_leucoplast 17
636 #define Source_location_proplastid 18
637 #define Source_location_endogenous_virus 19
638 #define Source_location_hydrogenosome 20
639 #define Source_location_chromosome 21
640 #define Source_location_chromatophore 22
641
642 /* following #defines are for enumerated type, not used by object loaders */
643 #define Source_origin_unknown 0
644 #define Source_origin_natural 1
645 #define Source_origin_natmut 2
646 #define Source_origin_mut 3
647 #define Source_origin_artificial 4
648 #define Source_origin_synthetic 5
649 #define Source_origin_other 255
650
651 typedef ValNodePtr SourceQualChoicePtr;
652 typedef ValNode SourceQualChoice;
653 #define SourceQualChoice_textqual 1
654 #define SourceQualChoice_location 2
655 #define SourceQualChoice_origin 3
656 #define SourceQualChoice_gcode 4
657 #define SourceQualChoice_mgcode 5
658
659
660 NLM_EXTERN SourceQualChoicePtr LIBCALL SourceQualChoiceFree PROTO ((SourceQualChoicePtr ));
661 NLM_EXTERN SourceQualChoicePtr LIBCALL SourceQualChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
662 NLM_EXTERN Boolean LIBCALL SourceQualChoiceAsnWrite PROTO (( SourceQualChoicePtr , AsnIoPtr, AsnTypePtr));
663
664
665
666 /**************************************************
667 *
668 * SourceQualTextVal
669 *
670 **************************************************/
671 typedef struct struct_Source_qual_text_val {
672 Uint2 srcqual;
673 CharPtr val;
674 } SourceQualTextVal, PNTR SourceQualTextValPtr;
675
676
677 NLM_EXTERN SourceQualTextValPtr LIBCALL SourceQualTextValFree PROTO ((SourceQualTextValPtr ));
678 NLM_EXTERN SourceQualTextValPtr LIBCALL SourceQualTextValNew PROTO (( void ));
679 NLM_EXTERN SourceQualTextValPtr LIBCALL SourceQualTextValAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
680 NLM_EXTERN Boolean LIBCALL SourceQualTextValAsnWrite PROTO (( SourceQualTextValPtr , AsnIoPtr, AsnTypePtr));
681
682 typedef ValNodePtr SourceQualValChoicePtr;
683 typedef ValNode SourceQualValChoice;
684 #define SourceQualValChoice_textqual 1
685 #define SourceQualValChoice_location 2
686 #define SourceQualValChoice_origin 3
687 #define SourceQualValChoice_gcode 4
688 #define SourceQualValChoice_mgcode 5
689
690
691 NLM_EXTERN SourceQualValChoicePtr LIBCALL SourceQualValChoiceFree PROTO ((SourceQualValChoicePtr ));
692 NLM_EXTERN SourceQualValChoicePtr LIBCALL SourceQualValChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
693 NLM_EXTERN Boolean LIBCALL SourceQualValChoiceAsnWrite PROTO (( SourceQualValChoicePtr , AsnIoPtr, AsnTypePtr));
694
695
696
697 /**************************************************
698 *
699 * SourceQualValSet
700 *
701 **************************************************/
702 typedef ValNode SourceQualValSet;
703 typedef ValNodePtr SourceQualValSetPtr;
704 #define SourceQualValSetNew() ValNodeNew(NULL)
705
706 #ifdef NLM_GENERATED_CODE_PROTO
707
708 NLM_EXTERN SourceQualValSetPtr LIBCALL SourceQualValSetFree PROTO ((SourceQualValSetPtr ));
709 NLM_EXTERN SourceQualValSetPtr LIBCALL SourceQualValSetNew PROTO (( void ));
710 NLM_EXTERN SourceQualValSetPtr LIBCALL SourceQualValSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
711 NLM_EXTERN Boolean LIBCALL SourceQualValSetAsnWrite PROTO (( SourceQualValSetPtr , AsnIoPtr, AsnTypePtr));
712
713 #endif /* NLM_GENERATED_CODE_PROTO */
714
715 /* following #defines are for enumerated type, not used by object loaders */
716 #define CDSGeneProt_field_cds_comment 1
717 #define CDSGeneProt_field_gene_locus 2
718 #define CDSGeneProt_field_gene_description 3
719 #define CDSGeneProt_field_gene_comment 4
720 #define CDSGeneProt_field_gene_allele 5
721 #define CDSGeneProt_field_gene_maploc 6
722 #define CDSGeneProt_field_gene_locus_tag 7
723 #define CDSGeneProt_field_gene_synonym 8
724 #define CDSGeneProt_field_gene_old_locus_tag 9
725 #define CDSGeneProt_field_mrna_product 10
726 #define CDSGeneProt_field_mrna_comment 11
727 #define CDSGeneProt_field_prot_name 12
728 #define CDSGeneProt_field_prot_description 13
729 #define CDSGeneProt_field_prot_ec_number 14
730 #define CDSGeneProt_field_prot_activity 15
731 #define CDSGeneProt_field_prot_comment 16
732 #define CDSGeneProt_field_mat_peptide_name 17
733 #define CDSGeneProt_field_mat_peptide_description 18
734 #define CDSGeneProt_field_mat_peptide_ec_number 19
735 #define CDSGeneProt_field_mat_peptide_activity 20
736 #define CDSGeneProt_field_mat_peptide_comment 21
737 #define CDSGeneProt_field_cds_inference 22
738 #define CDSGeneProt_field_gene_inference 23
739 #define CDSGeneProt_field_codon_start 24
740
741
742
743 /**************************************************
744 *
745 * CDSGeneProtFieldPair
746 *
747 **************************************************/
748 typedef struct struct_CDSGeneProt_field_pair {
749 Uint2 field_from;
750 Uint2 field_to;
751 } CDSGeneProtFieldPair, PNTR CDSGeneProtFieldPairPtr;
752
753
754 NLM_EXTERN CDSGeneProtFieldPairPtr LIBCALL CDSGeneProtFieldPairFree PROTO ((CDSGeneProtFieldPairPtr ));
755 NLM_EXTERN CDSGeneProtFieldPairPtr LIBCALL CDSGeneProtFieldPairNew PROTO (( void ));
756 NLM_EXTERN CDSGeneProtFieldPairPtr LIBCALL CDSGeneProtFieldPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
757 NLM_EXTERN Boolean LIBCALL CDSGeneProtFieldPairAsnWrite PROTO (( CDSGeneProtFieldPairPtr , AsnIoPtr, AsnTypePtr));
758
759 /* following #defines are for enumerated type, not used by object loaders */
760 #define Molecule_type_unknown 0
761 #define Molecule_type_genomic 1
762 #define Molecule_type_precursor_RNA 2
763 #define Molecule_type_mRNA 3
764 #define Molecule_type_rRNA 4
765 #define Molecule_type_tRNA 5
766 #define Molecule_type_genomic_mRNA 6
767 #define Molecule_type_cRNA 7
768 #define Molecule_type_transcribed_RNA 8
769 #define Molecule_type_ncRNA 9
770 #define Molecule_type_transfer_messenger_RNA 10
771 #define Molecule_type_other 11
772
773 /* following #defines are for enumerated type, not used by object loaders */
774 #define Technique_type_unknown 0
775 #define Technique_type_standard 1
776 #define Technique_type_est 2
777 #define Technique_type_sts 3
778 #define Technique_type_survey 4
779 #define Technique_type_genetic_map 5
780 #define Technique_type_physical_map 6
781 #define Technique_type_derived 7
782 #define Technique_type_concept_trans 8
783 #define Technique_type_seq_pept 9
784 #define Technique_type_both 10
785 #define Technique_type_seq_pept_overlap 11
786 #define Technique_type_seq_pept_homol 12
787 #define Technique_type_concept_trans_a 13
788 #define Technique_type_htgs_1 14
789 #define Technique_type_htgs_2 15
790 #define Technique_type_htgs_3 16
791 #define Technique_type_fli_cDNA 17
792 #define Technique_type_htgs_0 18
793 #define Technique_type_htc 19
794 #define Technique_type_wgs 20
795 #define Technique_type_barcode 21
796 #define Technique_type_composite_wgs_htgs 22
797 #define Technique_type_tsa 23
798 #define Technique_type_other 24
799
800 /* following #defines are for enumerated type, not used by object loaders */
801 #define Completedness_type_unknown 0
802 #define Completedness_type_complete 1
803 #define Completedness_type_partial 2
804 #define Completedness_type_no_left 3
805 #define Completedness_type_no_right 4
806 #define Completedness_type_no_ends 5
807 #define Completedness_type_has_left 6
808 #define Completedness_type_has_right 7
809 #define Completedness_type_other 6
810
811 /* following #defines are for enumerated type, not used by object loaders */
812 #define Molecule_class_type_unknown 0
813 #define Molecule_class_type_dna 1
814 #define Molecule_class_type_rna 2
815 #define Molecule_class_type_protein 3
816 #define Molecule_class_type_nucleotide 4
817 #define Molecule_class_type_other 5
818
819 /* following #defines are for enumerated type, not used by object loaders */
820 #define Topology_type_unknown 0
821 #define Topology_type_linear 1
822 #define Topology_type_circular 2
823 #define Topology_type_tandem 3
824 #define Topology_type_other 4
825
826 /* following #defines are for enumerated type, not used by object loaders */
827 #define Strand_type_unknown 0
828 #define Strand_type_single 1
829 #define Strand_type_double__ 2
830 #define Strand_type_mixed 3
831 #define Strand_type_mixed_rev 4
832 #define Strand_type_other 5
833
834 typedef ValNodePtr MolinfoFieldPtr;
835 typedef ValNode MolinfoField;
836 #define MolinfoField_molecule 1
837 #define MolinfoField_technique 2
838 #define MolinfoField_completedness 3
839 #define MolinfoField_mol_class 4
840 #define MolinfoField_topology 5
841 #define MolinfoField_strand 6
842
843
844 NLM_EXTERN MolinfoFieldPtr LIBCALL MolinfoFieldFree PROTO ((MolinfoFieldPtr ));
845 NLM_EXTERN MolinfoFieldPtr LIBCALL MolinfoFieldAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
846 NLM_EXTERN Boolean LIBCALL MolinfoFieldAsnWrite PROTO (( MolinfoFieldPtr , AsnIoPtr, AsnTypePtr));
847
848
849
850 /**************************************************
851 *
852 * MolinfoMoleculePair
853 *
854 **************************************************/
855 typedef struct struct_Molinfo_molecule_pair {
856 Uint2 from;
857 Uint2 to;
858 } MolinfoMoleculePair, PNTR MolinfoMoleculePairPtr;
859
860
861 NLM_EXTERN MolinfoMoleculePairPtr LIBCALL MolinfoMoleculePairFree PROTO ((MolinfoMoleculePairPtr ));
862 NLM_EXTERN MolinfoMoleculePairPtr LIBCALL MolinfoMoleculePairNew PROTO (( void ));
863 NLM_EXTERN MolinfoMoleculePairPtr LIBCALL MolinfoMoleculePairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
864 NLM_EXTERN Boolean LIBCALL MolinfoMoleculePairAsnWrite PROTO (( MolinfoMoleculePairPtr , AsnIoPtr, AsnTypePtr));
865
866
867
868 /**************************************************
869 *
870 * MolinfoTechniquePair
871 *
872 **************************************************/
873 typedef struct struct_Molinfo_technique_pair {
874 Uint2 from;
875 Uint2 to;
876 } MolinfoTechniquePair, PNTR MolinfoTechniquePairPtr;
877
878
879 NLM_EXTERN MolinfoTechniquePairPtr LIBCALL MolinfoTechniquePairFree PROTO ((MolinfoTechniquePairPtr ));
880 NLM_EXTERN MolinfoTechniquePairPtr LIBCALL MolinfoTechniquePairNew PROTO (( void ));
881 NLM_EXTERN MolinfoTechniquePairPtr LIBCALL MolinfoTechniquePairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
882 NLM_EXTERN Boolean LIBCALL MolinfoTechniquePairAsnWrite PROTO (( MolinfoTechniquePairPtr , AsnIoPtr, AsnTypePtr));
883
884
885
886 /**************************************************
887 *
888 * MolinfoCompletednessPair
889 *
890 **************************************************/
891 typedef struct struct_Molinfo_completedness_pair {
892 Uint2 from;
893 Uint2 to;
894 } MolinfoCompletednessPair, PNTR MolinfoCompletednessPairPtr;
895
896
897 NLM_EXTERN MolinfoCompletednessPairPtr LIBCALL MolinfoCompletednessPairFree PROTO ((MolinfoCompletednessPairPtr ));
898 NLM_EXTERN MolinfoCompletednessPairPtr LIBCALL MolinfoCompletednessPairNew PROTO (( void ));
899 NLM_EXTERN MolinfoCompletednessPairPtr LIBCALL MolinfoCompletednessPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
900 NLM_EXTERN Boolean LIBCALL MolinfoCompletednessPairAsnWrite PROTO (( MolinfoCompletednessPairPtr , AsnIoPtr, AsnTypePtr));
901
902
903
904 /**************************************************
905 *
906 * MolinfoMolClassPair
907 *
908 **************************************************/
909 typedef struct struct_Molinfo_mol_class_pair {
910 Uint2 from;
911 Uint2 to;
912 } MolinfoMolClassPair, PNTR MolinfoMolClassPairPtr;
913
914
915 NLM_EXTERN MolinfoMolClassPairPtr LIBCALL MolinfoMolClassPairFree PROTO ((MolinfoMolClassPairPtr ));
916 NLM_EXTERN MolinfoMolClassPairPtr LIBCALL MolinfoMolClassPairNew PROTO (( void ));
917 NLM_EXTERN MolinfoMolClassPairPtr LIBCALL MolinfoMolClassPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
918 NLM_EXTERN Boolean LIBCALL MolinfoMolClassPairAsnWrite PROTO (( MolinfoMolClassPairPtr , AsnIoPtr, AsnTypePtr));
919
920
921
922 /**************************************************
923 *
924 * MolinfoTopologyPair
925 *
926 **************************************************/
927 typedef struct struct_Molinfo_topology_pair {
928 Uint2 from;
929 Uint2 to;
930 } MolinfoTopologyPair, PNTR MolinfoTopologyPairPtr;
931
932
933 NLM_EXTERN MolinfoTopologyPairPtr LIBCALL MolinfoTopologyPairFree PROTO ((MolinfoTopologyPairPtr ));
934 NLM_EXTERN MolinfoTopologyPairPtr LIBCALL MolinfoTopologyPairNew PROTO (( void ));
935 NLM_EXTERN MolinfoTopologyPairPtr LIBCALL MolinfoTopologyPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
936 NLM_EXTERN Boolean LIBCALL MolinfoTopologyPairAsnWrite PROTO (( MolinfoTopologyPairPtr , AsnIoPtr, AsnTypePtr));
937
938
939
940 /**************************************************
941 *
942 * MolinfoStrandPair
943 *
944 **************************************************/
945 typedef struct struct_Molinfo_strand_pair {
946 Uint2 from;
947 Uint2 to;
948 } MolinfoStrandPair, PNTR MolinfoStrandPairPtr;
949
950
951 NLM_EXTERN MolinfoStrandPairPtr LIBCALL MolinfoStrandPairFree PROTO ((MolinfoStrandPairPtr ));
952 NLM_EXTERN MolinfoStrandPairPtr LIBCALL MolinfoStrandPairNew PROTO (( void ));
953 NLM_EXTERN MolinfoStrandPairPtr LIBCALL MolinfoStrandPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
954 NLM_EXTERN Boolean LIBCALL MolinfoStrandPairAsnWrite PROTO (( MolinfoStrandPairPtr , AsnIoPtr, AsnTypePtr));
955
956 typedef ValNodePtr MolinfoFieldPairPtr;
957 typedef ValNode MolinfoFieldPair;
958 #define MolinfoFieldPair_molecule 1
959 #define MolinfoFieldPair_technique 2
960 #define MolinfoFieldPair_completedness 3
961 #define MolinfoFieldPair_mol_class 4
962 #define MolinfoFieldPair_topology 5
963 #define MolinfoFieldPair_strand 6
964
965
966 NLM_EXTERN MolinfoFieldPairPtr LIBCALL MolinfoFieldPairFree PROTO ((MolinfoFieldPairPtr ));
967 NLM_EXTERN MolinfoFieldPairPtr LIBCALL MolinfoFieldPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
968 NLM_EXTERN Boolean LIBCALL MolinfoFieldPairAsnWrite PROTO (( MolinfoFieldPairPtr , AsnIoPtr, AsnTypePtr));
969
970
971
972 /**************************************************
973 *
974 * MolinfoFieldList
975 *
976 **************************************************/
977 typedef ValNode MolinfoFieldList;
978 typedef ValNodePtr MolinfoFieldListPtr;
979 #define MolinfoFieldListNew() ValNodeNew(NULL)
980
981 #ifdef NLM_GENERATED_CODE_PROTO
982
983 NLM_EXTERN MolinfoFieldListPtr LIBCALL MolinfoFieldListFree PROTO ((MolinfoFieldListPtr ));
984 NLM_EXTERN MolinfoFieldListPtr LIBCALL MolinfoFieldListNew PROTO (( void ));
985 NLM_EXTERN MolinfoFieldListPtr LIBCALL MolinfoFieldListAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
986 NLM_EXTERN Boolean LIBCALL MolinfoFieldListAsnWrite PROTO (( MolinfoFieldListPtr , AsnIoPtr, AsnTypePtr));
987
988 #endif /* NLM_GENERATED_CODE_PROTO */
989
990 /* following #defines are for enumerated type, not used by object loaders */
991 #define Publication_field_cit 1
992 #define Publication_field_authors 2
993 #define Publication_field_journal 3
994 #define Publication_field_volume 4
995 #define Publication_field_issue 5
996 #define Publication_field_pages 6
997 #define Publication_field_date 7
998 #define Publication_field_serial_number 8
999 #define Publication_field_title 9
1000 #define Publication_field_affiliation 10
1001 #define Publication_field_affil_div 11
1002 #define Publication_field_affil_city 12
1003 #define Publication_field_affil_sub 13
1004 #define Publication_field_affil_country 14
1005 #define Publication_field_affil_street 15
1006 #define Publication_field_affil_email 16
1007 #define Publication_field_affil_fax 17
1008 #define Publication_field_affil_phone 18
1009 #define Publication_field_affil_zipcode 19
1010 #define Publication_field_authors_initials 20
1011
1012 typedef ValNodePtr StructuredCommentFieldPtr;
1013 typedef ValNode StructuredCommentField;
1014 #define StructuredCommentField_database 1
1015 #define StructuredCommentField_named 2
1016 #define StructuredCommentField_field_name 3
1017
1018
1019 NLM_EXTERN StructuredCommentFieldPtr LIBCALL StructuredCommentFieldFree PROTO ((StructuredCommentFieldPtr ));
1020 NLM_EXTERN StructuredCommentFieldPtr LIBCALL StructuredCommentFieldAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1021 NLM_EXTERN Boolean LIBCALL StructuredCommentFieldAsnWrite PROTO (( StructuredCommentFieldPtr , AsnIoPtr, AsnTypePtr));
1022
1023
1024
1025 /**************************************************
1026 *
1027 * StructuredCommentFieldPair
1028 *
1029 **************************************************/
1030 typedef struct struct_Structured_comment_field_pair {
1031 ValNodePtr from;
1032 ValNodePtr to;
1033 } StructuredCommentFieldPair, PNTR StructuredCommentFieldPairPtr;
1034
1035
1036 NLM_EXTERN StructuredCommentFieldPairPtr LIBCALL StructuredCommentFieldPairFree PROTO ((StructuredCommentFieldPairPtr ));
1037 NLM_EXTERN StructuredCommentFieldPairPtr LIBCALL StructuredCommentFieldPairNew PROTO (( void ));
1038 NLM_EXTERN StructuredCommentFieldPairPtr LIBCALL StructuredCommentFieldPairAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1039 NLM_EXTERN Boolean LIBCALL StructuredCommentFieldPairAsnWrite PROTO (( StructuredCommentFieldPairPtr , AsnIoPtr, AsnTypePtr));
1040
1041 /* following #defines are for enumerated type, not used by object loaders */
1042 #define Misc_field_genome_project_id 1
1043 #define Misc_field_comment_descriptor 2
1044 #define Misc_field_defline 3
1045 #define Misc_field_keyword 4
1046
1047 /* following #defines are for enumerated type, not used by object loaders */
1048 #define Pub_type_any 0
1049 #define Pub_type_published 1
1050 #define Pub_type_unpublished 2
1051 #define Pub_type_in_press 3
1052 #define Pub_type_submitter_block 4
1053
1054
1055
1056 /**************************************************
1057 *
1058 * PubFieldConstraint
1059 *
1060 **************************************************/
1061 typedef struct struct_Pub_field_constraint {
1062 Uint2 field;
1063 struct struct_String_constraint PNTR constraint;
1064 } PubFieldConstraint, PNTR PubFieldConstraintPtr;
1065
1066
1067 NLM_EXTERN PubFieldConstraintPtr LIBCALL PubFieldConstraintFree PROTO ((PubFieldConstraintPtr ));
1068 NLM_EXTERN PubFieldConstraintPtr LIBCALL PubFieldConstraintNew PROTO (( void ));
1069 NLM_EXTERN PubFieldConstraintPtr LIBCALL PubFieldConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1070 NLM_EXTERN Boolean LIBCALL PubFieldConstraintAsnWrite PROTO (( PubFieldConstraintPtr , AsnIoPtr, AsnTypePtr));
1071
1072
1073
1074 /**************************************************
1075 *
1076 * PublicationConstraint
1077 *
1078 **************************************************/
1079 typedef struct struct_Publication_constraint {
1080 Uint2 type;
1081 struct struct_Pub_field_constraint PNTR field;
1082 } PublicationConstraint, PNTR PublicationConstraintPtr;
1083
1084
1085 NLM_EXTERN PublicationConstraintPtr LIBCALL PublicationConstraintFree PROTO ((PublicationConstraintPtr ));
1086 NLM_EXTERN PublicationConstraintPtr LIBCALL PublicationConstraintNew PROTO (( void ));
1087 NLM_EXTERN PublicationConstraintPtr LIBCALL PublicationConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1088 NLM_EXTERN Boolean LIBCALL PublicationConstraintAsnWrite PROTO (( PublicationConstraintPtr , AsnIoPtr, AsnTypePtr));
1089
1090
1091
1092 /**************************************************
1093 *
1094 * SourceConstraint
1095 *
1096 **************************************************/
1097 typedef struct struct_Source_constraint {
1098 ValNodePtr field1;
1099 ValNodePtr field2;
1100 struct struct_String_constraint PNTR constraint;
1101 Uint2 type_constraint;
1102 } SourceConstraint, PNTR SourceConstraintPtr;
1103
1104
1105 NLM_EXTERN SourceConstraintPtr LIBCALL SourceConstraintFree PROTO ((SourceConstraintPtr ));
1106 NLM_EXTERN SourceConstraintPtr LIBCALL SourceConstraintNew PROTO (( void ));
1107 NLM_EXTERN SourceConstraintPtr LIBCALL SourceConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1108 NLM_EXTERN Boolean LIBCALL SourceConstraintAsnWrite PROTO (( SourceConstraintPtr , AsnIoPtr, AsnTypePtr));
1109
1110 /* following #defines are for enumerated type, not used by object loaders */
1111 #define CDSGeneProt_feature_type_constraint_gene 1
1112 #define CDSGeneProt_feature_type_constraint_mRNA 2
1113 #define CDSGeneProt_feature_type_constraint_cds 3
1114 #define CDSGeneProt_feature_type_constraint_prot 4
1115 #define CDSGeneProt_feature_type_constraint_exon 5
1116 #define CDSGeneProt_feature_type_constraint_mat_peptide 6
1117
1118
1119
1120 /**************************************************
1121 *
1122 * CDSGeneProtPseudoConstraint
1123 *
1124 **************************************************/
1125 typedef struct struct_CDSGeneProt_pseudo_constraint {
1126 Uint2 feature;
1127 Uint1 is_pseudo;
1128 } CDSGeneProtPseudoConstraint, PNTR CDSGeneProtPseudoConstraintPtr;
1129
1130
1131 NLM_EXTERN CDSGeneProtPseudoConstraintPtr LIBCALL CDSGeneProtPseudoConstraintFree PROTO ((CDSGeneProtPseudoConstraintPtr ));
1132 NLM_EXTERN CDSGeneProtPseudoConstraintPtr LIBCALL CDSGeneProtPseudoConstraintNew PROTO (( void ));
1133 NLM_EXTERN CDSGeneProtPseudoConstraintPtr LIBCALL CDSGeneProtPseudoConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1134 NLM_EXTERN Boolean LIBCALL CDSGeneProtPseudoConstraintAsnWrite PROTO (( CDSGeneProtPseudoConstraintPtr , AsnIoPtr, AsnTypePtr));
1135
1136 typedef ValNodePtr CDSGeneProtConstraintFieldPtr;
1137 typedef ValNode CDSGeneProtConstraintField;
1138 #define CDSGeneProtConstraintField_field 1
1139
1140
1141 NLM_EXTERN CDSGeneProtConstraintFieldPtr LIBCALL CDSGeneProtConstraintFieldFree PROTO ((CDSGeneProtConstraintFieldPtr ));
1142 NLM_EXTERN CDSGeneProtConstraintFieldPtr LIBCALL CDSGeneProtConstraintFieldAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1143 NLM_EXTERN Boolean LIBCALL CDSGeneProtConstraintFieldAsnWrite PROTO (( CDSGeneProtConstraintFieldPtr , AsnIoPtr, AsnTypePtr));
1144
1145
1146
1147 /**************************************************
1148 *
1149 * CDSGeneProtQualConstraint
1150 *
1151 **************************************************/
1152 typedef struct struct_CDSGeneProt_qual_constraint {
1153 ValNodePtr field1;
1154 ValNodePtr field2;
1155 struct struct_String_constraint PNTR constraint;
1156 } CDSGeneProtQualConstraint, PNTR CDSGeneProtQualConstraintPtr;
1157
1158
1159 NLM_EXTERN CDSGeneProtQualConstraintPtr LIBCALL CDSGeneProtQualConstraintFree PROTO ((CDSGeneProtQualConstraintPtr ));
1160 NLM_EXTERN CDSGeneProtQualConstraintPtr LIBCALL CDSGeneProtQualConstraintNew PROTO (( void ));
1161 NLM_EXTERN CDSGeneProtQualConstraintPtr LIBCALL CDSGeneProtQualConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1162 NLM_EXTERN Boolean LIBCALL CDSGeneProtQualConstraintAsnWrite PROTO (( CDSGeneProtQualConstraintPtr , AsnIoPtr, AsnTypePtr));
1163
1164
1165
1166 /**************************************************
1167 *
1168 * FieldConstraint
1169 *
1170 **************************************************/
1171 typedef struct struct_Field_constraint {
1172 ValNodePtr field;
1173 struct struct_String_constraint PNTR string_constraint;
1174 } FieldConstraint, PNTR FieldConstraintPtr;
1175
1176
1177 NLM_EXTERN FieldConstraintPtr LIBCALL FieldConstraintFree PROTO ((FieldConstraintPtr ));
1178 NLM_EXTERN FieldConstraintPtr LIBCALL FieldConstraintNew PROTO (( void ));
1179 NLM_EXTERN FieldConstraintPtr LIBCALL FieldConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1180 NLM_EXTERN Boolean LIBCALL FieldConstraintAsnWrite PROTO (( FieldConstraintPtr , AsnIoPtr, AsnTypePtr));
1181
1182 typedef ValNodePtr FieldTypePtr;
1183 typedef ValNode FieldType;
1184 #define FieldType_source_qual 1
1185 #define FieldType_feature_field 2
1186 #define FieldType_rna_field 3
1187 #define FieldType_cds_gene_prot 4
1188 #define FieldType_molinfo_field 5
1189 #define FieldType_pub 6
1190 #define FieldType_struc_comment_field 7
1191 #define FieldType_misc 8
1192
1193
1194 NLM_EXTERN FieldTypePtr LIBCALL FieldTypeFree PROTO ((FieldTypePtr ));
1195 NLM_EXTERN FieldTypePtr LIBCALL FieldTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1196 NLM_EXTERN Boolean LIBCALL FieldTypeAsnWrite PROTO (( FieldTypePtr , AsnIoPtr, AsnTypePtr));
1197
1198 /* following #defines are for enumerated type, not used by object loaders */
1199 #define Sequence_constraint_rnamol_any 0
1200 #define Sequence_constraint_rnamol_genomic 1
1201 #define Sequence_constraint_rnamol_precursor_RNA 2
1202 #define Sequence_constraint_rnamol_mRNA 3
1203 #define Sequence_constraint_rnamol_rRNA 4
1204 #define Sequence_constraint_rnamol_tRNA 5
1205 #define Sequence_constraint_rnamol_genomic_mRNA 6
1206 #define Sequence_constraint_rnamol_cRNA 7
1207 #define Sequence_constraint_rnamol_transcribed_RNA 8
1208 #define Sequence_constraint_rnamol_ncRNA 9
1209 #define Sequence_constraint_rnamol_transfer_messenger_RNA 10
1210
1211 typedef ValNodePtr SequenceConstraintMolTypeConstraintPtr;
1212 typedef ValNode SequenceConstraintMolTypeConstraint;
1213 #define SequenceConstraintMolTypeConstraint_any 1
1214 #define SequenceConstraintMolTypeConstraint_nucleotide 2
1215 #define SequenceConstraintMolTypeConstraint_dna 3
1216 #define SequenceConstraintMolTypeConstraint_rna 4
1217 #define SequenceConstraintMolTypeConstraint_protein 5
1218
1219
1220 NLM_EXTERN SequenceConstraintMolTypeConstraintPtr LIBCALL SequenceConstraintMolTypeConstraintFree PROTO ((SequenceConstraintMolTypeConstraintPtr ));
1221 NLM_EXTERN SequenceConstraintMolTypeConstraintPtr LIBCALL SequenceConstraintMolTypeConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1222 NLM_EXTERN Boolean LIBCALL SequenceConstraintMolTypeConstraintAsnWrite PROTO (( SequenceConstraintMolTypeConstraintPtr , AsnIoPtr, AsnTypePtr));
1223
1224
1225
1226 /**************************************************
1227 *
1228 * SequenceConstraint
1229 *
1230 **************************************************/
1231 typedef struct struct_Sequence_constraint {
1232 ValNodePtr seqtype;
1233 struct struct_String_constraint PNTR id;
1234 Uint2 feature;
1235 } SequenceConstraint, PNTR SequenceConstraintPtr;
1236
1237
1238 NLM_EXTERN SequenceConstraintPtr LIBCALL SequenceConstraintFree PROTO ((SequenceConstraintPtr ));
1239 NLM_EXTERN SequenceConstraintPtr LIBCALL SequenceConstraintNew PROTO (( void ));
1240 NLM_EXTERN SequenceConstraintPtr LIBCALL SequenceConstraintAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1241 NLM_EXTERN Boolean LIBCALL SequenceConstraintAsnWrite PROTO (( SequenceConstraintPtr , AsnIoPtr, AsnTypePtr));
1242
1243 typedef ValNodePtr ConstraintChoicePtr;
1244 typedef ValNode ConstraintChoice;
1245 #define ConstraintChoice_string 1
1246 #define ConstraintChoice_location 2
1247 #define ConstraintChoice_field 3
1248 #define ConstraintChoice_source 4
1249 #define ConstraintChoice_cdsgeneprot_qual 5
1250 #define ConstraintChoice_cdsgeneprot_pseudo 6
1251 #define ConstraintChoice_sequence 7
1252 #define ConstraintChoice_pub 8
1253
1254
1255 NLM_EXTERN ConstraintChoicePtr LIBCALL ConstraintChoiceFree PROTO ((ConstraintChoicePtr ));
1256 NLM_EXTERN ConstraintChoicePtr LIBCALL ConstraintChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1257 NLM_EXTERN Boolean LIBCALL ConstraintChoiceAsnWrite PROTO (( ConstraintChoicePtr , AsnIoPtr, AsnTypePtr));
1258
1259
1260
1261 /**************************************************
1262 *
1263 * ConstraintChoiceSet
1264 *
1265 **************************************************/
1266 typedef ValNode ConstraintChoiceSet;
1267 typedef ValNodePtr ConstraintChoiceSetPtr;
1268 #define ConstraintChoiceSetNew() ValNodeNew(NULL)
1269
1270 #ifdef NLM_GENERATED_CODE_PROTO
1271
1272 NLM_EXTERN ConstraintChoiceSetPtr LIBCALL ConstraintChoiceSetFree PROTO ((ConstraintChoiceSetPtr ));
1273 NLM_EXTERN ConstraintChoiceSetPtr LIBCALL ConstraintChoiceSetNew PROTO (( void ));
1274 NLM_EXTERN ConstraintChoiceSetPtr LIBCALL ConstraintChoiceSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1275 NLM_EXTERN Boolean LIBCALL ConstraintChoiceSetAsnWrite PROTO (( ConstraintChoiceSetPtr , AsnIoPtr, AsnTypePtr));
1276
1277 #endif /* NLM_GENERATED_CODE_PROTO */
1278
1279
1280
1281 /**************************************************
1282 *
1283 * TextPortion
1284 *
1285 **************************************************/
1286 typedef struct struct_Text_portion {
1287 CharPtr left_text;
1288 Uint1 include_left;
1289 CharPtr right_text;
1290 Uint1 include_right;
1291 Uint1 inside;
1292 Uint1 case_sensitive;
1293 Uint1 whole_word;
1294 } TextPortion, PNTR TextPortionPtr;
1295
1296
1297 NLM_EXTERN TextPortionPtr LIBCALL TextPortionFree PROTO ((TextPortionPtr ));
1298 NLM_EXTERN TextPortionPtr LIBCALL TextPortionNew PROTO (( void ));
1299 NLM_EXTERN TextPortionPtr LIBCALL TextPortionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1300 NLM_EXTERN Boolean LIBCALL TextPortionAsnWrite PROTO (( TextPortionPtr , AsnIoPtr, AsnTypePtr));
1301
1302 /* following #defines are for enumerated type, not used by object loaders */
1303 #define Field_edit_location_anywhere 0
1304 #define Field_edit_location_beginning 1
1305 #define Field_edit_location_end 2
1306
1307
1308
1309 /**************************************************
1310 *
1311 * FieldEdit
1312 *
1313 **************************************************/
1314 typedef struct struct_Field_edit {
1315 CharPtr find_txt;
1316 CharPtr repl_txt;
1317 Uint2 location;
1318 } FieldEdit, PNTR FieldEditPtr;
1319
1320
1321 NLM_EXTERN FieldEditPtr LIBCALL FieldEditFree PROTO ((FieldEditPtr ));
1322 NLM_EXTERN FieldEditPtr LIBCALL FieldEditNew PROTO (( void ));
1323 NLM_EXTERN FieldEditPtr LIBCALL FieldEditAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1324 NLM_EXTERN Boolean LIBCALL FieldEditAsnWrite PROTO (( FieldEditPtr , AsnIoPtr, AsnTypePtr));
1325
1326 typedef ValNodePtr FieldPairTypePtr;
1327 typedef ValNode FieldPairType;
1328 #define FieldPairType_source_qual 1
1329 #define FieldPairType_feature_field 2
1330 #define FieldPairType_rna_field 3
1331 #define FieldPairType_cds_gene_prot 4
1332 #define FieldPairType_molinfo_field 5
1333 #define FieldPairType_struc_comment_field 6
1334
1335
1336 NLM_EXTERN FieldPairTypePtr LIBCALL FieldPairTypeFree PROTO ((FieldPairTypePtr ));
1337 NLM_EXTERN FieldPairTypePtr LIBCALL FieldPairTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1338 NLM_EXTERN Boolean LIBCALL FieldPairTypeAsnWrite PROTO (( FieldPairTypePtr , AsnIoPtr, AsnTypePtr));
1339
1340 /* following #defines are for enumerated type, not used by object loaders */
1341 #define ExistingTextOption_replace_old 1
1342 #define ExistingTextOption_append_semi 2
1343 #define ExistingTextOption_append_space 3
1344 #define ExistingTextOption_append_colon 4
1345 #define ExistingTextOption_append_comma 5
1346 #define ExistingTextOption_append_none 6
1347 #define ExistingTextOption_prefix_semi 7
1348 #define ExistingTextOption_prefix_space 8
1349 #define ExistingTextOption_prefix_colon 9
1350 #define ExistingTextOption_prefix_comma 10
1351 #define ExistingTextOption_prefix_none 11
1352 #define ExistingTextOption_leave_old 12
1353 #define ExistingTextOption_add_qual 13
1354
1355
1356
1357 /**************************************************
1358 *
1359 * ApplyAction
1360 *
1361 **************************************************/
1362 typedef struct struct_Apply_action {
1363 ValNodePtr field;
1364 CharPtr value;
1365 Uint2 existing_text;
1366 } ApplyAction, PNTR ApplyActionPtr;
1367
1368
1369 NLM_EXTERN ApplyActionPtr LIBCALL ApplyActionFree PROTO ((ApplyActionPtr ));
1370 NLM_EXTERN ApplyActionPtr LIBCALL ApplyActionNew PROTO (( void ));
1371 NLM_EXTERN ApplyActionPtr LIBCALL ApplyActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1372 NLM_EXTERN Boolean LIBCALL ApplyActionAsnWrite PROTO (( ApplyActionPtr , AsnIoPtr, AsnTypePtr));
1373
1374
1375
1376 /**************************************************
1377 *
1378 * EditAction
1379 *
1380 **************************************************/
1381 typedef struct struct_Edit_action {
1382 struct struct_Field_edit PNTR edit;
1383 ValNodePtr field;
1384 } EditAction, PNTR EditActionPtr;
1385
1386
1387 NLM_EXTERN EditActionPtr LIBCALL EditActionFree PROTO ((EditActionPtr ));
1388 NLM_EXTERN EditActionPtr LIBCALL EditActionNew PROTO (( void ));
1389 NLM_EXTERN EditActionPtr LIBCALL EditActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1390 NLM_EXTERN Boolean LIBCALL EditActionAsnWrite PROTO (( EditActionPtr , AsnIoPtr, AsnTypePtr));
1391
1392
1393
1394 /**************************************************
1395 *
1396 * ConvertAction
1397 *
1398 **************************************************/
1399 typedef struct struct_Convert_action {
1400 ValNodePtr fields;
1401 Uint1 strip_name;
1402 Uint1 keep_original;
1403 Uint2 existing_text;
1404 } ConvertAction, PNTR ConvertActionPtr;
1405
1406
1407 NLM_EXTERN ConvertActionPtr LIBCALL ConvertActionFree PROTO ((ConvertActionPtr ));
1408 NLM_EXTERN ConvertActionPtr LIBCALL ConvertActionNew PROTO (( void ));
1409 NLM_EXTERN ConvertActionPtr LIBCALL ConvertActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1410 NLM_EXTERN Boolean LIBCALL ConvertActionAsnWrite PROTO (( ConvertActionPtr , AsnIoPtr, AsnTypePtr));
1411
1412
1413
1414 /**************************************************
1415 *
1416 * CopyAction
1417 *
1418 **************************************************/
1419 typedef struct struct_Copy_action {
1420 ValNodePtr fields;
1421 Uint2 existing_text;
1422 } CopyAction, PNTR CopyActionPtr;
1423
1424
1425 NLM_EXTERN CopyActionPtr LIBCALL CopyActionFree PROTO ((CopyActionPtr ));
1426 NLM_EXTERN CopyActionPtr LIBCALL CopyActionNew PROTO (( void ));
1427 NLM_EXTERN CopyActionPtr LIBCALL CopyActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1428 NLM_EXTERN Boolean LIBCALL CopyActionAsnWrite PROTO (( CopyActionPtr , AsnIoPtr, AsnTypePtr));
1429
1430
1431
1432 /**************************************************
1433 *
1434 * SwapAction
1435 *
1436 **************************************************/
1437 typedef struct struct_Swap_action {
1438 ValNodePtr fields;
1439 ValNodePtr field_to;
1440 } SwapAction, PNTR SwapActionPtr;
1441
1442
1443 NLM_EXTERN SwapActionPtr LIBCALL SwapActionFree PROTO ((SwapActionPtr ));
1444 NLM_EXTERN SwapActionPtr LIBCALL SwapActionNew PROTO (( void ));
1445 NLM_EXTERN SwapActionPtr LIBCALL SwapActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1446 NLM_EXTERN Boolean LIBCALL SwapActionAsnWrite PROTO (( SwapActionPtr , AsnIoPtr, AsnTypePtr));
1447
1448
1449
1450 /**************************************************
1451 *
1452 * AECRParseAction
1453 *
1454 **************************************************/
1455 typedef struct struct_AECRParse_action {
1456 struct struct_Text_portion PNTR portion;
1457 ValNodePtr fields;
1458 Uint1 remove_from_parsed;
1459 Uint1 remove_left;
1460 Uint1 remove_right;
1461 Uint2 existing_text;
1462 } AECRParseAction, PNTR AECRParseActionPtr;
1463
1464
1465 NLM_EXTERN AECRParseActionPtr LIBCALL AECRParseActionFree PROTO ((AECRParseActionPtr ));
1466 NLM_EXTERN AECRParseActionPtr LIBCALL AECRParseActionNew PROTO (( void ));
1467 NLM_EXTERN AECRParseActionPtr LIBCALL AECRParseActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1468 NLM_EXTERN Boolean LIBCALL AECRParseActionAsnWrite PROTO (( AECRParseActionPtr , AsnIoPtr, AsnTypePtr));
1469
1470
1471
1472 /**************************************************
1473 *
1474 * RemoveAction
1475 *
1476 **************************************************/
1477 typedef struct struct_Remove_action {
1478 ValNodePtr field;
1479 } RemoveAction, PNTR RemoveActionPtr;
1480
1481
1482 NLM_EXTERN RemoveActionPtr LIBCALL RemoveActionFree PROTO ((RemoveActionPtr ));
1483 NLM_EXTERN RemoveActionPtr LIBCALL RemoveActionNew PROTO (( void ));
1484 NLM_EXTERN RemoveActionPtr LIBCALL RemoveActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1485 NLM_EXTERN Boolean LIBCALL RemoveActionAsnWrite PROTO (( RemoveActionPtr , AsnIoPtr, AsnTypePtr));
1486
1487 typedef ValNodePtr ActionChoicePtr;
1488 typedef ValNode ActionChoice;
1489 #define ActionChoice_apply 1
1490 #define ActionChoice_edit 2
1491 #define ActionChoice_convert 3
1492 #define ActionChoice_copy 4
1493 #define ActionChoice_swap 5
1494 #define ActionChoice_remove 6
1495 #define ActionChoice_parse 7
1496
1497
1498 NLM_EXTERN ActionChoicePtr LIBCALL ActionChoiceFree PROTO ((ActionChoicePtr ));
1499 NLM_EXTERN ActionChoicePtr LIBCALL ActionChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1500 NLM_EXTERN Boolean LIBCALL ActionChoiceAsnWrite PROTO (( ActionChoicePtr , AsnIoPtr, AsnTypePtr));
1501
1502 /* following #defines are for enumerated type, not used by object loaders */
1503 #define Cap_change_none 0
1504 #define Cap_change_tolower 1
1505 #define Cap_change_toupper 2
1506 #define Cap_change_firstcap 3
1507 #define Cap_change_firstcaprestnochange 4
1508
1509 typedef ValNodePtr ParseSrcOrgChoicePtr;
1510 typedef ValNode ParseSrcOrgChoice;
1511 #define ParseSrcOrgChoice_source_qual 1
1512 #define ParseSrcOrgChoice_taxname_after_binomial 2
1513
1514
1515 NLM_EXTERN ParseSrcOrgChoicePtr LIBCALL ParseSrcOrgChoiceFree PROTO ((ParseSrcOrgChoicePtr ));
1516 NLM_EXTERN ParseSrcOrgChoicePtr LIBCALL ParseSrcOrgChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1517 NLM_EXTERN Boolean LIBCALL ParseSrcOrgChoiceAsnWrite PROTO (( ParseSrcOrgChoicePtr , AsnIoPtr, AsnTypePtr));
1518
1519
1520
1521 /**************************************************
1522 *
1523 * ParseSrcOrg
1524 *
1525 **************************************************/
1526 typedef struct struct_Parse_src_org {
1527 ValNodePtr field;
1528 Uint2 type;
1529 } ParseSrcOrg, PNTR ParseSrcOrgPtr;
1530
1531
1532 NLM_EXTERN ParseSrcOrgPtr LIBCALL ParseSrcOrgFree PROTO ((ParseSrcOrgPtr ));
1533 NLM_EXTERN ParseSrcOrgPtr LIBCALL ParseSrcOrgNew PROTO (( void ));
1534 NLM_EXTERN ParseSrcOrgPtr LIBCALL ParseSrcOrgAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1535 NLM_EXTERN Boolean LIBCALL ParseSrcOrgAsnWrite PROTO (( ParseSrcOrgPtr , AsnIoPtr, AsnTypePtr));
1536
1537 typedef ValNodePtr ParseSrcPtr;
1538 typedef ValNode ParseSrc;
1539 #define ParseSrc_defline 1
1540 #define ParseSrc_flatfile 2
1541 #define ParseSrc_local_id 3
1542 #define ParseSrc_org 4
1543 #define ParseSrc_comment 5
1544 #define ParseSrc_bankit_comment 6
1545 #define ParseSrc_structured_comment 7
1546 #define ParseSrc_file_id 8
1547
1548
1549 NLM_EXTERN ParseSrcPtr LIBCALL ParseSrcFree PROTO ((ParseSrcPtr ));
1550 NLM_EXTERN ParseSrcPtr LIBCALL ParseSrcAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1551 NLM_EXTERN Boolean LIBCALL ParseSrcAsnWrite PROTO (( ParseSrcPtr , AsnIoPtr, AsnTypePtr));
1552
1553
1554
1555 /**************************************************
1556 *
1557 * ParseDstOrg
1558 *
1559 **************************************************/
1560 typedef struct struct_Parse_dst_org {
1561 ValNodePtr field;
1562 Uint2 type;
1563 } ParseDstOrg, PNTR ParseDstOrgPtr;
1564
1565
1566 NLM_EXTERN ParseDstOrgPtr LIBCALL ParseDstOrgFree PROTO ((ParseDstOrgPtr ));
1567 NLM_EXTERN ParseDstOrgPtr LIBCALL ParseDstOrgNew PROTO (( void ));
1568 NLM_EXTERN ParseDstOrgPtr LIBCALL ParseDstOrgAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1569 NLM_EXTERN Boolean LIBCALL ParseDstOrgAsnWrite PROTO (( ParseDstOrgPtr , AsnIoPtr, AsnTypePtr));
1570
1571 typedef ValNodePtr ParseDestPtr;
1572 typedef ValNode ParseDest;
1573 #define ParseDest_defline 1
1574 #define ParseDest_org 2
1575 #define ParseDest_featqual 3
1576 #define ParseDest_comment_descriptor 4
1577 #define ParseDest_dbxref 5
1578
1579
1580 NLM_EXTERN ParseDestPtr LIBCALL ParseDestFree PROTO ((ParseDestPtr ));
1581 NLM_EXTERN ParseDestPtr LIBCALL ParseDestAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1582 NLM_EXTERN Boolean LIBCALL ParseDestAsnWrite PROTO (( ParseDestPtr , AsnIoPtr, AsnTypePtr));
1583
1584
1585
1586 /**************************************************
1587 *
1588 * LocationInterval
1589 *
1590 **************************************************/
1591 typedef struct struct_Location_interval {
1592 Int4 from;
1593 Int4 to;
1594 } LocationInterval, PNTR LocationIntervalPtr;
1595
1596
1597 NLM_EXTERN LocationIntervalPtr LIBCALL LocationIntervalFree PROTO ((LocationIntervalPtr ));
1598 NLM_EXTERN LocationIntervalPtr LIBCALL LocationIntervalNew PROTO (( void ));
1599 NLM_EXTERN LocationIntervalPtr LIBCALL LocationIntervalAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1600 NLM_EXTERN Boolean LIBCALL LocationIntervalAsnWrite PROTO (( LocationIntervalPtr , AsnIoPtr, AsnTypePtr));
1601
1602 typedef ValNodePtr LocationChoicePtr;
1603 typedef ValNode LocationChoice;
1604 #define LocationChoice_interval 1
1605 #define LocationChoice_whole_sequence 2
1606
1607
1608 NLM_EXTERN LocationChoicePtr LIBCALL LocationChoiceFree PROTO ((LocationChoicePtr ));
1609 NLM_EXTERN LocationChoicePtr LIBCALL LocationChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1610 NLM_EXTERN Boolean LIBCALL LocationChoiceAsnWrite PROTO (( LocationChoicePtr , AsnIoPtr, AsnTypePtr));
1611
1612
1613
1614 /**************************************************
1615 *
1616 * SequenceList
1617 *
1618 **************************************************/
1619 typedef ValNode SequenceList;
1620 typedef ValNodePtr SequenceListPtr;
1621 #define SequenceListNew() ValNodeNew(NULL)
1622
1623 #ifdef NLM_GENERATED_CODE_PROTO
1624
1625 NLM_EXTERN SequenceListPtr LIBCALL SequenceListFree PROTO ((SequenceListPtr ));
1626 NLM_EXTERN SequenceListPtr LIBCALL SequenceListNew PROTO (( void ));
1627 NLM_EXTERN SequenceListPtr LIBCALL SequenceListAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1628 NLM_EXTERN Boolean LIBCALL SequenceListAsnWrite PROTO (( SequenceListPtr , AsnIoPtr, AsnTypePtr));
1629
1630 #endif /* NLM_GENERATED_CODE_PROTO */
1631
1632 typedef ValNodePtr SequenceListChoicePtr;
1633 typedef ValNode SequenceListChoice;
1634 #define SequenceListChoice_list 1
1635 #define SequenceListChoice_all 2
1636
1637
1638 NLM_EXTERN SequenceListChoicePtr LIBCALL SequenceListChoiceFree PROTO ((SequenceListChoicePtr ));
1639 NLM_EXTERN SequenceListChoicePtr LIBCALL SequenceListChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1640 NLM_EXTERN Boolean LIBCALL SequenceListChoiceAsnWrite PROTO (( SequenceListChoicePtr , AsnIoPtr, AsnTypePtr));
1641
1642
1643
1644 /**************************************************
1645 *
1646 * ApplyFeatureAction
1647 *
1648 **************************************************/
1649 typedef struct struct_Apply_feature_action {
1650 Uint2 type;
1651 Uint1 partial5;
1652 Uint1 partial3;
1653 Uint1 plus_strand;
1654 ValNodePtr location;
1655 ValNodePtr seq_list;
1656 Uint1 add_redundant;
1657 Uint1 add_mrna;
1658 Uint1 apply_to_parts;
1659 Int4 only_seg_num;
1660 ValNodePtr fields;
1661 ValNodePtr src_fields;
1662 } ApplyFeatureAction, PNTR ApplyFeatureActionPtr;
1663
1664
1665 NLM_EXTERN ApplyFeatureActionPtr LIBCALL ApplyFeatureActionFree PROTO ((ApplyFeatureActionPtr ));
1666 NLM_EXTERN ApplyFeatureActionPtr LIBCALL ApplyFeatureActionNew PROTO (( void ));
1667 NLM_EXTERN ApplyFeatureActionPtr LIBCALL ApplyFeatureActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1668 NLM_EXTERN Boolean LIBCALL ApplyFeatureActionAsnWrite PROTO (( ApplyFeatureActionPtr , AsnIoPtr, AsnTypePtr));
1669
1670
1671
1672 /**************************************************
1673 *
1674 * RemoveFeatureAction
1675 *
1676 **************************************************/
1677 typedef struct struct_Remove_feature_action {
1678 Uint2 type;
1679 ValNodePtr constraint;
1680 } RemoveFeatureAction, PNTR RemoveFeatureActionPtr;
1681
1682
1683 NLM_EXTERN RemoveFeatureActionPtr LIBCALL RemoveFeatureActionFree PROTO ((RemoveFeatureActionPtr ));
1684 NLM_EXTERN RemoveFeatureActionPtr LIBCALL RemoveFeatureActionNew PROTO (( void ));
1685 NLM_EXTERN RemoveFeatureActionPtr LIBCALL RemoveFeatureActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1686 NLM_EXTERN Boolean LIBCALL RemoveFeatureActionAsnWrite PROTO (( RemoveFeatureActionPtr , AsnIoPtr, AsnTypePtr));
1687
1688
1689
1690 /**************************************************
1691 *
1692 * ConvertFromCDSOptions
1693 *
1694 **************************************************/
1695 typedef struct struct_Convert_from_CDS_options {
1696 Uint1 remove_mRNA;
1697 Uint1 remove_gene;
1698 Uint1 remove_transcript_id;
1699 } ConvertFromCDSOptions, PNTR ConvertFromCDSOptionsPtr;
1700
1701
1702 NLM_EXTERN ConvertFromCDSOptionsPtr LIBCALL ConvertFromCDSOptionsFree PROTO ((ConvertFromCDSOptionsPtr ));
1703 NLM_EXTERN ConvertFromCDSOptionsPtr LIBCALL ConvertFromCDSOptionsNew PROTO (( void ));
1704 NLM_EXTERN ConvertFromCDSOptionsPtr LIBCALL ConvertFromCDSOptionsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1705 NLM_EXTERN Boolean LIBCALL ConvertFromCDSOptionsAsnWrite PROTO (( ConvertFromCDSOptionsPtr , AsnIoPtr, AsnTypePtr));
1706
1707 typedef ValNodePtr ConvertFeatureSrcOptionsPtr;
1708 typedef ValNode ConvertFeatureSrcOptions;
1709 #define ConvertFeatureSrcOptions_cds 1
1710
1711
1712 NLM_EXTERN ConvertFeatureSrcOptionsPtr LIBCALL ConvertFeatureSrcOptionsFree PROTO ((ConvertFeatureSrcOptionsPtr ));
1713 NLM_EXTERN ConvertFeatureSrcOptionsPtr LIBCALL ConvertFeatureSrcOptionsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1714 NLM_EXTERN Boolean LIBCALL ConvertFeatureSrcOptionsAsnWrite PROTO (( ConvertFeatureSrcOptionsPtr , AsnIoPtr, AsnTypePtr));
1715
1716 /* following #defines are for enumerated type, not used by object loaders */
1717 #define Bond_type_disulfide 1
1718 #define Bond_type_thioester 2
1719 #define Bond_type_crosslink 3
1720 #define Bond_type_thioether 4
1721 #define Bond_type_other 5
1722
1723 /* following #defines are for enumerated type, not used by object loaders */
1724 #define Site_type_active 1
1725 #define Site_type_binding 2
1726 #define Site_type_cleavage 3
1727 #define Site_type_inhibit 4
1728 #define Site_type_modified 5
1729 #define Site_type_glycosylation 6
1730 #define Site_type_myristoylation 7
1731 #define Site_type_mutagenized 8
1732 #define Site_type_metal_binding 9
1733 #define Site_type_phosphorylation 10
1734 #define Site_type_acetylation 11
1735 #define Site_type_amidation 12
1736 #define Site_type_methylation 13
1737 #define Site_type_hydroxylation 14
1738 #define Site_type_sulfatation 15
1739 #define Site_type_oxidative_deamination 16
1740 #define Site_type_pyrrolidone_carboxylic_acid 17
1741 #define Site_type_gamma_carboxyglutamic_acid 18
1742 #define Site_type_blocked 19
1743 #define Site_type_lipid_binding 20
1744 #define Site_type_np_binding 21
1745 #define Site_type_dna_binding 22
1746 #define Site_type_signal_peptide 23
1747 #define Site_type_transit_peptide 24
1748 #define Site_type_transmembrane_region 25
1749 #define Site_type_nitrosylation 26
1750 #define Site_type_other 27
1751
1752
1753
1754 /**************************************************
1755 *
1756 * RegionType
1757 *
1758 **************************************************/
1759 typedef struct struct_Region_type {
1760 Uint1 create_nucleotide;
1761 } RegionType, PNTR RegionTypePtr;
1762
1763
1764 NLM_EXTERN RegionTypePtr LIBCALL RegionTypeFree PROTO ((RegionTypePtr ));
1765 NLM_EXTERN RegionTypePtr LIBCALL RegionTypeNew PROTO (( void ));
1766 NLM_EXTERN RegionTypePtr LIBCALL RegionTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1767 NLM_EXTERN Boolean LIBCALL RegionTypeAsnWrite PROTO (( RegionTypePtr , AsnIoPtr, AsnTypePtr));
1768
1769 typedef ValNodePtr ConvertFeatureDstOptionsPtr;
1770 typedef ValNode ConvertFeatureDstOptions;
1771 #define ConvertFeatureDstOptions_bond 1
1772 #define ConvertFeatureDstOptions_site 2
1773 #define ConvertFeatureDstOptions_region 3
1774 #define ConvertFeatureDstOptions_ncrna_class 4
1775 #define ConvertFeatureDstOptions_remove_original 5
1776
1777
1778 NLM_EXTERN ConvertFeatureDstOptionsPtr LIBCALL ConvertFeatureDstOptionsFree PROTO ((ConvertFeatureDstOptionsPtr ));
1779 NLM_EXTERN ConvertFeatureDstOptionsPtr LIBCALL ConvertFeatureDstOptionsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1780 NLM_EXTERN Boolean LIBCALL ConvertFeatureDstOptionsAsnWrite PROTO (( ConvertFeatureDstOptionsPtr , AsnIoPtr, AsnTypePtr));
1781
1782
1783
1784 /**************************************************
1785 *
1786 * ConvertFeatureAction
1787 *
1788 **************************************************/
1789 typedef struct struct_Convert_feature_action {
1790 Uint2 type_from;
1791 Uint2 type_to;
1792 ValNodePtr src_options;
1793 ValNodePtr dst_options;
1794 Uint1 leave_original;
1795 ValNodePtr src_feat_constraint;
1796 } ConvertFeatureAction, PNTR ConvertFeatureActionPtr;
1797
1798
1799 NLM_EXTERN ConvertFeatureActionPtr LIBCALL ConvertFeatureActionFree PROTO ((ConvertFeatureActionPtr ));
1800 NLM_EXTERN ConvertFeatureActionPtr LIBCALL ConvertFeatureActionNew PROTO (( void ));
1801 NLM_EXTERN ConvertFeatureActionPtr LIBCALL ConvertFeatureActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1802 NLM_EXTERN Boolean LIBCALL ConvertFeatureActionAsnWrite PROTO (( ConvertFeatureActionPtr , AsnIoPtr, AsnTypePtr));
1803
1804 /* following #defines are for enumerated type, not used by object loaders */
1805 #define Feature_location_strand_from_any 0
1806 #define Feature_location_strand_from_plus 1
1807 #define Feature_location_strand_from_minus 2
1808 #define Feature_location_strand_from_unknown 3
1809 #define Feature_location_strand_from_both 4
1810
1811 /* following #defines are for enumerated type, not used by object loaders */
1812 #define Feature_location_strand_to_plus 1
1813 #define Feature_location_strand_to_minus 2
1814 #define Feature_location_strand_to_unknown 3
1815 #define Feature_location_strand_to_both 4
1816 #define Feature_location_strand_to_reverse 5
1817
1818
1819
1820 /**************************************************
1821 *
1822 * EditLocationStrand
1823 *
1824 **************************************************/
1825 typedef struct struct_Edit_location_strand {
1826 Uint2 strand_from;
1827 Uint2 strand_to;
1828 } EditLocationStrand, PNTR EditLocationStrandPtr;
1829
1830
1831 NLM_EXTERN EditLocationStrandPtr LIBCALL EditLocationStrandFree PROTO ((EditLocationStrandPtr ));
1832 NLM_EXTERN EditLocationStrandPtr LIBCALL EditLocationStrandNew PROTO (( void ));
1833 NLM_EXTERN EditLocationStrandPtr LIBCALL EditLocationStrandAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1834 NLM_EXTERN Boolean LIBCALL EditLocationStrandAsnWrite PROTO (( EditLocationStrandPtr , AsnIoPtr, AsnTypePtr));
1835
1836 /* following #defines are for enumerated type, not used by object loaders */
1837 #define Partial_5_set_constraint_all 0
1838 #define Partial_5_set_constraint_at_end 1
1839 #define Partial_5_set_constraint_bad_start 2
1840 #define Partial_5_set_constraint_frame_not_one 3
1841
1842
1843
1844 /**************************************************
1845 *
1846 * Partial5SetAction
1847 *
1848 **************************************************/
1849 typedef struct struct_Partial_5_set_action {
1850 Uint2 constraint;
1851 Uint1 extend;
1852 } Partial5SetAction, PNTR Partial5SetActionPtr;
1853
1854
1855 NLM_EXTERN Partial5SetActionPtr LIBCALL Partial5SetActionFree PROTO ((Partial5SetActionPtr ));
1856 NLM_EXTERN Partial5SetActionPtr LIBCALL Partial5SetActionNew PROTO (( void ));
1857 NLM_EXTERN Partial5SetActionPtr LIBCALL Partial5SetActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1858 NLM_EXTERN Boolean LIBCALL Partial5SetActionAsnWrite PROTO (( Partial5SetActionPtr , AsnIoPtr, AsnTypePtr));
1859
1860 /* following #defines are for enumerated type, not used by object loaders */
1861 #define Partial_5_clear_constraint_all 0
1862 #define Partial_5_clear_constraint_not_at_end 1
1863 #define Partial_5_clear_constraint_good_start 2
1864
1865 /* following #defines are for enumerated type, not used by object loaders */
1866 #define Partial_3_set_constraint_all 0
1867 #define Partial_3_set_constraint_at_end 1
1868 #define Partial_3_set_constraint_bad_end 2
1869
1870
1871
1872 /**************************************************
1873 *
1874 * Partial3SetAction
1875 *
1876 **************************************************/
1877 typedef struct struct_Partial_3_set_action {
1878 Uint2 constraint;
1879 Uint1 extend;
1880 } Partial3SetAction, PNTR Partial3SetActionPtr;
1881
1882
1883 NLM_EXTERN Partial3SetActionPtr LIBCALL Partial3SetActionFree PROTO ((Partial3SetActionPtr ));
1884 NLM_EXTERN Partial3SetActionPtr LIBCALL Partial3SetActionNew PROTO (( void ));
1885 NLM_EXTERN Partial3SetActionPtr LIBCALL Partial3SetActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1886 NLM_EXTERN Boolean LIBCALL Partial3SetActionAsnWrite PROTO (( Partial3SetActionPtr , AsnIoPtr, AsnTypePtr));
1887
1888 /* following #defines are for enumerated type, not used by object loaders */
1889 #define Partial_3_clear_constraint_all 0
1890 #define Partial_3_clear_constraint_not_at_end 1
1891 #define Partial_3_clear_constraint_good_end 2
1892
1893 /* following #defines are for enumerated type, not used by object loaders */
1894 #define Convert_location_type_join 1
1895 #define Convert_location_type_order 2
1896 #define Convert_location_type_merge 3
1897
1898 typedef ValNodePtr LocationEditTypePtr;
1899 typedef ValNode LocationEditType;
1900 #define LocationEditType_strand 1
1901 #define LocationEditType_set_5_partial 2
1902 #define LocationEditType_clear_5_partial 3
1903 #define LocationEditType_set_3_partial 4
1904 #define LocationEditType_clear_3_partial 5
1905 #define LocationEditType_convert 6
1906
1907
1908 NLM_EXTERN LocationEditTypePtr LIBCALL LocationEditTypeFree PROTO ((LocationEditTypePtr ));
1909 NLM_EXTERN LocationEditTypePtr LIBCALL LocationEditTypeAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1910 NLM_EXTERN Boolean LIBCALL LocationEditTypeAsnWrite PROTO (( LocationEditTypePtr , AsnIoPtr, AsnTypePtr));
1911
1912
1913
1914 /**************************************************
1915 *
1916 * EditFeatureLocationAction
1917 *
1918 **************************************************/
1919 typedef struct struct_Edit_feature_location_action {
1920 Uint2 type;
1921 ValNodePtr action;
1922 ValNodePtr constraint;
1923 } EditFeatureLocationAction, PNTR EditFeatureLocationActionPtr;
1924
1925
1926 NLM_EXTERN EditFeatureLocationActionPtr LIBCALL EditFeatureLocationActionFree PROTO ((EditFeatureLocationActionPtr ));
1927 NLM_EXTERN EditFeatureLocationActionPtr LIBCALL EditFeatureLocationActionNew PROTO (( void ));
1928 NLM_EXTERN EditFeatureLocationActionPtr LIBCALL EditFeatureLocationActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1929 NLM_EXTERN Boolean LIBCALL EditFeatureLocationActionAsnWrite PROTO (( EditFeatureLocationActionPtr , AsnIoPtr, AsnTypePtr));
1930
1931
1932
1933 /**************************************************
1934 *
1935 * MolinfoBlock
1936 *
1937 **************************************************/
1938 typedef struct struct_Molinfo_block {
1939 ValNodePtr to_list;
1940 ValNodePtr from_list;
1941 ValNodePtr constraint;
1942 } MolinfoBlock, PNTR MolinfoBlockPtr;
1943
1944
1945 NLM_EXTERN MolinfoBlockPtr LIBCALL MolinfoBlockFree PROTO ((MolinfoBlockPtr ));
1946 NLM_EXTERN MolinfoBlockPtr LIBCALL MolinfoBlockNew PROTO (( void ));
1947 NLM_EXTERN MolinfoBlockPtr LIBCALL MolinfoBlockAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1948 NLM_EXTERN Boolean LIBCALL MolinfoBlockAsnWrite PROTO (( MolinfoBlockPtr , AsnIoPtr, AsnTypePtr));
1949
1950 /* following #defines are for enumerated type, not used by object loaders */
1951 #define Descriptor_type_all 0
1952 #define Descriptor_type_title 1
1953 #define Descriptor_type_source 2
1954 #define Descriptor_type_publication 3
1955 #define Descriptor_type_comment 4
1956 #define Descriptor_type_genbank 5
1957 #define Descriptor_type_user 6
1958 #define Descriptor_type_create_date 7
1959 #define Descriptor_type_update_date 8
1960 #define Descriptor_type_mol_info 9
1961 #define Descriptor_type_structured_comment 10
1962 #define Descriptor_type_genome_project_id 11
1963
1964
1965
1966 /**************************************************
1967 *
1968 * RemoveDescriptorAction
1969 *
1970 **************************************************/
1971 typedef struct struct_Remove_descriptor_action {
1972 Uint2 type;
1973 ValNodePtr constraint;
1974 } RemoveDescriptorAction, PNTR RemoveDescriptorActionPtr;
1975
1976
1977 NLM_EXTERN RemoveDescriptorActionPtr LIBCALL RemoveDescriptorActionFree PROTO ((RemoveDescriptorActionPtr ));
1978 NLM_EXTERN RemoveDescriptorActionPtr LIBCALL RemoveDescriptorActionNew PROTO (( void ));
1979 NLM_EXTERN RemoveDescriptorActionPtr LIBCALL RemoveDescriptorActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
1980 NLM_EXTERN Boolean LIBCALL RemoveDescriptorActionAsnWrite PROTO (( RemoveDescriptorActionPtr , AsnIoPtr, AsnTypePtr));
1981
1982 /* following #defines are for enumerated type, not used by object loaders */
1983 #define Autodef_list_type_feature_list 1
1984 #define Autodef_list_type_complete_sequence 2
1985 #define Autodef_list_type_complete_genome 3
1986
1987
1988
1989 /**************************************************
1990 *
1991 * AutodefAction
1992 *
1993 **************************************************/
1994 typedef struct struct_Autodef_action {
1995 ValNodePtr modifiers;
1996 Uint2 clause_list_type;
1997 } AutodefAction, PNTR AutodefActionPtr;
1998
1999
2000 NLM_EXTERN AutodefActionPtr LIBCALL AutodefActionFree PROTO ((AutodefActionPtr ));
2001 NLM_EXTERN AutodefActionPtr LIBCALL AutodefActionNew PROTO (( void ));
2002 NLM_EXTERN AutodefActionPtr LIBCALL AutodefActionAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2003 NLM_EXTERN Boolean LIBCALL AutodefActionAsnWrite PROTO (( AutodefActionPtr , AsnIoPtr, AsnTypePtr));
2004
2005 typedef ValNodePtr MacroActionChoicePtr;
2006 typedef ValNode MacroActionChoice;
2007 #define MacroActionChoice_aecr 1
2008 #define MacroActionChoice_parse 2
2009 #define MacroActionChoice_add_feature 3
2010 #define MacroActionChoice_remove_feature 4
2011 #define MacroActionChoice_convert_feature 5
2012 #define MacroActionChoice_edit_location 6
2013 #define MacroActionChoice_remove_descriptor 7
2014 #define MacroActionChoice_autodef 8
2015
2016
2017 NLM_EXTERN MacroActionChoicePtr LIBCALL MacroActionChoiceFree PROTO ((MacroActionChoicePtr ));
2018 NLM_EXTERN MacroActionChoicePtr LIBCALL MacroActionChoiceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
2019 NLM_EXTERN Boolean LIBCALL MacroActionChoiceAsnWrite PROTO (( MacroActionChoicePtr , AsnIoPtr, AsnTypePtr));
2020
2021 #ifdef __cplusplus
2022 /* { */ }
2023 #endif
2024
2025 #endif /* _objmacro_ */
2026
2027 #undef NLM_EXTERN
2028 #ifdef NLM_EXPORT
2029 #define NLM_EXTERN NLM_EXPORT
2030 #else
2031 #define NLM_EXTERN
2032 #endif
2033
2034 |
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |