|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/access/objtax3.h |
source navigation diff markup identifier search freetext search file search |
1 #ifndef _objtax3_
2 #define _objtax3_
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-Taxon3
20 * Generated using ASNCODE Revision: 6.17 at Dec 8, 2009 9:36 AM
21 *
22 **************************************************/
23
24 NLM_EXTERN Boolean LIBCALL
25 objtax3AsnLoad PROTO((void));
26
27
28 /**************************************************
29 *
30 * Taxon3Request
31 *
32 **************************************************/
33 typedef struct struct_Taxon3_request {
34 ValNodePtr request;
35 } Taxon3Request, PNTR Taxon3RequestPtr;
36
37
38 NLM_EXTERN Taxon3RequestPtr LIBCALL Taxon3RequestFree PROTO ((Taxon3RequestPtr ));
39 NLM_EXTERN Taxon3RequestPtr LIBCALL Taxon3RequestNew PROTO (( void ));
40 NLM_EXTERN Taxon3RequestPtr LIBCALL Taxon3RequestAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
41 NLM_EXTERN Boolean LIBCALL Taxon3RequestAsnWrite PROTO (( Taxon3RequestPtr , AsnIoPtr, AsnTypePtr));
42
43 typedef ValNodePtr T3RequestPtr;
44 typedef ValNode T3Request;
45 #define T3Request_taxid 1
46 #define T3Request_name 2
47 #define T3Request_org 3
48 #define T3Request_join 4
49
50
51 NLM_EXTERN T3RequestPtr LIBCALL T3RequestFree PROTO ((T3RequestPtr ));
52 NLM_EXTERN T3RequestPtr LIBCALL T3RequestAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
53 NLM_EXTERN Boolean LIBCALL T3RequestAsnWrite PROTO (( T3RequestPtr , AsnIoPtr, AsnTypePtr));
54
55
56
57 /**************************************************
58 *
59 * SequenceOfInt
60 *
61 **************************************************/
62 typedef ValNode SequenceOfInt;
63 typedef ValNodePtr SequenceOfIntPtr;
64 #define SequenceOfIntNew() ValNodeNew(NULL)
65
66 #ifdef NLM_GENERATED_CODE_PROTO
67
68 NLM_EXTERN SequenceOfIntPtr LIBCALL SequenceOfIntFree PROTO ((SequenceOfIntPtr ));
69 NLM_EXTERN SequenceOfIntPtr LIBCALL SequenceOfIntNew PROTO (( void ));
70 NLM_EXTERN SequenceOfIntPtr LIBCALL SequenceOfIntAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
71 NLM_EXTERN Boolean LIBCALL SequenceOfIntAsnWrite PROTO (( SequenceOfIntPtr , AsnIoPtr, AsnTypePtr));
72
73 #endif /* NLM_GENERATED_CODE_PROTO */
74
75
76
77 /**************************************************
78 *
79 * Taxon3Reply
80 *
81 **************************************************/
82 typedef struct struct_Taxon3_reply {
83 ValNodePtr reply;
84 } Taxon3Reply, PNTR Taxon3ReplyPtr;
85
86
87 NLM_EXTERN Taxon3ReplyPtr LIBCALL Taxon3ReplyFree PROTO ((Taxon3ReplyPtr ));
88 NLM_EXTERN Taxon3ReplyPtr LIBCALL Taxon3ReplyNew PROTO (( void ));
89 NLM_EXTERN Taxon3ReplyPtr LIBCALL Taxon3ReplyAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
90 NLM_EXTERN Boolean LIBCALL Taxon3ReplyAsnWrite PROTO (( Taxon3ReplyPtr , AsnIoPtr, AsnTypePtr));
91
92 typedef ValNodePtr T3ReplyPtr;
93 typedef ValNode T3Reply;
94 #define T3Reply_error 1
95 #define T3Reply_data 2
96
97
98 NLM_EXTERN T3ReplyPtr LIBCALL T3ReplyFree PROTO ((T3ReplyPtr ));
99 NLM_EXTERN T3ReplyPtr LIBCALL T3ReplyAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
100 NLM_EXTERN Boolean LIBCALL T3ReplyAsnWrite PROTO (( T3ReplyPtr , AsnIoPtr, AsnTypePtr));
101
102
103
104 /**************************************************
105 *
106 * T3Error
107 *
108 **************************************************/
109 typedef struct struct_T3Error {
110 Uint2 level;
111 /* following #defines are for enumerated type, not used by object loaders */
112 #define T3Error_level_none 0
113 #define T3Error_level_info 1
114 #define T3Error_level_warn 2
115 #define T3Error_level_error 3
116 #define T3Error_level_fatal 4
117
118 CharPtr message;
119 Int4 taxid;
120 CharPtr name;
121 struct struct_Org_ref PNTR org;
122 } T3Error, PNTR T3ErrorPtr;
123
124
125 NLM_EXTERN T3ErrorPtr LIBCALL T3ErrorFree PROTO ((T3ErrorPtr ));
126 NLM_EXTERN T3ErrorPtr LIBCALL T3ErrorNew PROTO (( void ));
127 NLM_EXTERN T3ErrorPtr LIBCALL T3ErrorAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
128 NLM_EXTERN Boolean LIBCALL T3ErrorAsnWrite PROTO (( T3ErrorPtr , AsnIoPtr, AsnTypePtr));
129
130
131
132 /**************************************************
133 *
134 * T3Data
135 *
136 **************************************************/
137 typedef struct struct_T3Data {
138 struct struct_Org_ref PNTR org;
139 ValNodePtr blast_name_lineage;
140 struct struct_T3StatusFlags PNTR status;
141 struct struct_T3RefreshFlags PNTR refresh;
142 } T3Data, PNTR T3DataPtr;
143
144
145 NLM_EXTERN T3DataPtr LIBCALL T3DataFree PROTO ((T3DataPtr ));
146 NLM_EXTERN T3DataPtr LIBCALL T3DataNew PROTO (( void ));
147 NLM_EXTERN T3DataPtr LIBCALL T3DataAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
148 NLM_EXTERN Boolean LIBCALL T3DataAsnWrite PROTO (( T3DataPtr , AsnIoPtr, AsnTypePtr));
149
150
151
152 /**************************************************
153 *
154 * T3StatusFlags
155 *
156 **************************************************/
157 typedef struct struct_T3StatusFlags {
158 struct struct_T3StatusFlags PNTR next;
159 CharPtr property;
160 ValNodePtr Value_value;
161 } T3StatusFlags, PNTR T3StatusFlagsPtr;
162
163
164 NLM_EXTERN T3StatusFlagsPtr LIBCALL T3StatusFlagsFree PROTO ((T3StatusFlagsPtr ));
165 NLM_EXTERN T3StatusFlagsPtr LIBCALL T3StatusFlagsNew PROTO (( void ));
166 NLM_EXTERN T3StatusFlagsPtr LIBCALL T3StatusFlagsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
167 NLM_EXTERN Boolean LIBCALL T3StatusFlagsAsnWrite PROTO (( T3StatusFlagsPtr , AsnIoPtr, AsnTypePtr));
168
169
170 #ifdef NLM_GENERATED_CODE_PROTO
171
172 typedef ValNodePtr Value_valuePtr;
173 typedef ValNode Value_value;
174
175 #endif /* NLM_GENERATED_CODE_PROTO */
176
177 #define Value_value_bool 1
178 #define Value_value_int__ 2
179 #define Value_value_str 3
180
181 #ifdef NLM_GENERATED_CODE_PROTO
182
183 static Value_valuePtr LIBCALL Value_valueFree PROTO ((Value_valuePtr ));
184 static Value_valuePtr LIBCALL Value_valueAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
185 static Boolean LIBCALL Value_valueAsnWrite PROTO (( Value_valuePtr , AsnIoPtr, AsnTypePtr));
186
187 #endif /* NLM_GENERATED_CODE_PROTO */
188
189
190
191 /**************************************************
192 *
193 * T3RefreshFlags
194 *
195 **************************************************/
196 typedef struct struct_T3RefreshFlags {
197 Uint1 taxid_changed;
198 Uint1 taxname_changed;
199 Uint1 division_changed;
200 Uint1 lineage_changed;
201 Uint1 gc_changed;
202 Uint1 mgc_changed;
203 Uint1 orgmod_changed;
204 } T3RefreshFlags, PNTR T3RefreshFlagsPtr;
205
206
207 NLM_EXTERN T3RefreshFlagsPtr LIBCALL T3RefreshFlagsFree PROTO ((T3RefreshFlagsPtr ));
208 NLM_EXTERN T3RefreshFlagsPtr LIBCALL T3RefreshFlagsNew PROTO (( void ));
209 NLM_EXTERN T3RefreshFlagsPtr LIBCALL T3RefreshFlagsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
210 NLM_EXTERN Boolean LIBCALL T3RefreshFlagsAsnWrite PROTO (( T3RefreshFlagsPtr , AsnIoPtr, AsnTypePtr));
211
212 #ifdef __cplusplus
213 /* { */ }
214 #endif
215
216 #endif /* _objtax3_ */
217
218 #undef NLM_EXTERN
219 #ifdef NLM_EXPORT
220 #define NLM_EXTERN NLM_EXPORT
221 #else
222 #define NLM_EXTERN
223 #endif
224
225 |
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |