1 #ifndef _objmim_
2 #define _objmim_
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-Mim
20 *    Generated using ASNCODE Revision: 6.9 at Aug 16, 2000  6:14 PM
21 *
22 **************************************************/
23 
24 NLM_EXTERN Boolean LIBCALL
25 objmimAsnLoad PROTO((void));
26 
27 
28 /**************************************************
29 *
30 *    MimSet
31 *
32 **************************************************/
33 typedef struct struct_Mim_set {
34    struct struct_Mim_date PNTR   releaseDate;
35    struct struct_Mim_entry PNTR   mimEntries;
36 } MimSet, PNTR MimSetPtr;
37 
38 
39 NLM_EXTERN MimSetPtr LIBCALL MimSetFree PROTO ((MimSetPtr ));
40 NLM_EXTERN MimSetPtr LIBCALL MimSetNew PROTO (( void ));
41 NLM_EXTERN MimSetPtr LIBCALL MimSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
42 NLM_EXTERN Boolean LIBCALL MimSetAsnWrite PROTO (( MimSetPtr , AsnIoPtr, AsnTypePtr));
43 
44 
45 
46 /**************************************************
47 *
48 *    MimDate
49 *
50 **************************************************/
51 typedef struct struct_Mim_date {
52    Int4   year;
53    Int4   month;
54    Int4   day;
55 } MimDate, PNTR MimDatePtr;
56 
57 
58 NLM_EXTERN MimDatePtr LIBCALL MimDateFree PROTO ((MimDatePtr ));
59 NLM_EXTERN MimDatePtr LIBCALL MimDateNew PROTO (( void ));
60 NLM_EXTERN MimDatePtr LIBCALL MimDateAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
61 NLM_EXTERN Boolean LIBCALL MimDateAsnWrite PROTO (( MimDatePtr , AsnIoPtr, AsnTypePtr));
62 
63 
64 
65 /**************************************************
66 *
67 *    MimEntry
68 *
69 **************************************************/
70 typedef struct struct_Mim_entry {
71    struct struct_Mim_entry PNTR next;
72    CharPtr   mimNumber;
73    Int4   mimType;
74    CharPtr   title;
75    CharPtr   copyright;
76    CharPtr   symbol;
77    CharPtr   locus;
78    ValNodePtr   synonyms;
79    ValNodePtr   aliases;
80    ValNodePtr   included;
81    struct struct_Mim_cit PNTR   seeAlso;
82    struct struct_Mim_text PNTR   text;
83    struct struct_Mim_text PNTR   textfields;
84    Uint1   hasSummary;
85    struct struct_Mim_text PNTR   summary;
86    struct struct_Mim_edit_item PNTR   summaryAttribution;
87    struct struct_Mim_edit_item PNTR   summaryEditHistory;
88    struct struct_Mim_edit_item PNTR   summaryCreationDate;
89    struct struct_Mim_allelic_variant PNTR   allelicVariants;
90    Uint1   hasSynopsis;
91    struct struct_Mim_index_term PNTR   clinicalSynopsis;
92    struct struct_Mim_edit_item PNTR   synopsisAttribution;
93    struct struct_Mim_edit_item PNTR   synopsisEditHistory;
94    struct struct_Mim_edit_item PNTR   synopsisCreationDate;
95    struct struct_Mim_edit_item PNTR   editHistory;
96    struct struct_Mim_edit_item PNTR   creationDate;
97    struct struct_Mim_reference PNTR   references;
98    struct struct_Mim_edit_item PNTR   attribution;
99    Int4   numGeneMaps;
100    struct struct_Mim_link PNTR   medlineLinks;
101    struct struct_Mim_link PNTR   proteinLinks;
102    struct struct_Mim_link PNTR   nucleotideLinks;
103    struct struct_Mim_link PNTR   structureLinks;
104    struct struct_Mim_link PNTR   genomeLinks;
105 } MimEntry, PNTR MimEntryPtr;
106 
107 
108 NLM_EXTERN MimEntryPtr LIBCALL MimEntryFree PROTO ((MimEntryPtr ));
109 NLM_EXTERN MimEntryPtr LIBCALL MimEntryNew PROTO (( void ));
110 NLM_EXTERN MimEntryPtr LIBCALL MimEntryAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
111 NLM_EXTERN Boolean LIBCALL MimEntryAsnWrite PROTO (( MimEntryPtr , AsnIoPtr, AsnTypePtr));
112 
113 
114 
115 /**************************************************
116 *
117 *    MimCit
118 *
119 **************************************************/
120 typedef struct struct_Mim_cit {
121    struct struct_Mim_cit PNTR next;
122    Int4   number;
123    CharPtr   author;
124    CharPtr   others;
125    Int4   year;
126 } MimCit, PNTR MimCitPtr;
127 
128 
129 NLM_EXTERN MimCitPtr LIBCALL MimCitFree PROTO ((MimCitPtr ));
130 NLM_EXTERN MimCitPtr LIBCALL MimCitNew PROTO (( void ));
131 NLM_EXTERN MimCitPtr LIBCALL MimCitAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
132 NLM_EXTERN Boolean LIBCALL MimCitAsnWrite PROTO (( MimCitPtr , AsnIoPtr, AsnTypePtr));
133 
134 
135 
136 /**************************************************
137 *
138 *    MimText
139 *
140 **************************************************/
141 typedef struct struct_Mim_text {
142    struct struct_Mim_text PNTR next;
143    CharPtr   label;
144    CharPtr   text;
145    struct struct_Mim_link PNTR   neighbors;
146 } MimText, PNTR MimTextPtr;
147 
148 
149 NLM_EXTERN MimTextPtr LIBCALL MimTextFree PROTO ((MimTextPtr ));
150 NLM_EXTERN MimTextPtr LIBCALL MimTextNew PROTO (( void ));
151 NLM_EXTERN MimTextPtr LIBCALL MimTextAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
152 NLM_EXTERN Boolean LIBCALL MimTextAsnWrite PROTO (( MimTextPtr , AsnIoPtr, AsnTypePtr));
153 
154 
155 
156 /**************************************************
157 *
158 *    MimEditItem
159 *
160 **************************************************/
161 typedef struct struct_Mim_edit_item {
162    struct struct_Mim_edit_item PNTR next;
163    CharPtr   author;
164    struct struct_Mim_date PNTR   modDate;
165 } MimEditItem, PNTR MimEditItemPtr;
166 
167 
168 NLM_EXTERN MimEditItemPtr LIBCALL MimEditItemFree PROTO ((MimEditItemPtr ));
169 NLM_EXTERN MimEditItemPtr LIBCALL MimEditItemNew PROTO (( void ));
170 NLM_EXTERN MimEditItemPtr LIBCALL MimEditItemAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
171 NLM_EXTERN Boolean LIBCALL MimEditItemAsnWrite PROTO (( MimEditItemPtr , AsnIoPtr, AsnTypePtr));
172 
173 
174 
175 /**************************************************
176 *
177 *    MimAllelicVariant
178 *
179 **************************************************/
180 typedef struct struct_Mim_allelic_variant {
181    struct struct_Mim_allelic_variant PNTR next;
182    CharPtr   number;
183    CharPtr   name;
184    ValNodePtr   aliases;
185    struct struct_Mim_text PNTR   mutation;
186    struct struct_Mim_text PNTR   description;
187 } MimAllelicVariant, PNTR MimAllelicVariantPtr;
188 
189 
190 NLM_EXTERN MimAllelicVariantPtr LIBCALL MimAllelicVariantFree PROTO ((MimAllelicVariantPtr ));
191 NLM_EXTERN MimAllelicVariantPtr LIBCALL MimAllelicVariantNew PROTO (( void ));
192 NLM_EXTERN MimAllelicVariantPtr LIBCALL MimAllelicVariantAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
193 NLM_EXTERN Boolean LIBCALL MimAllelicVariantAsnWrite PROTO (( MimAllelicVariantPtr , AsnIoPtr, AsnTypePtr));
194 
195 
196 
197 /**************************************************
198 *
199 *    MimIndexTerm
200 *
201 **************************************************/
202 typedef struct struct_Mim_index_term {
203    struct struct_Mim_index_term PNTR next;
204    CharPtr   key;
205    ValNodePtr   terms;
206 } MimIndexTerm, PNTR MimIndexTermPtr;
207 
208 
209 NLM_EXTERN MimIndexTermPtr LIBCALL MimIndexTermFree PROTO ((MimIndexTermPtr ));
210 NLM_EXTERN MimIndexTermPtr LIBCALL MimIndexTermNew PROTO (( void ));
211 NLM_EXTERN MimIndexTermPtr LIBCALL MimIndexTermAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
212 NLM_EXTERN Boolean LIBCALL MimIndexTermAsnWrite PROTO (( MimIndexTermPtr , AsnIoPtr, AsnTypePtr));
213 
214 
215 
216 /**************************************************
217 *
218 *    MimReference
219 *
220 **************************************************/
221 typedef struct struct_Mim_reference {
222    struct struct_Mim_reference PNTR next;
223    Int4   number;
224    Int4   origNumber;
225    Uint2   type;
226    /* following #defines are for enumerated type, not used by object loaders */
227 #define Mim_reference_type_not_set 0
228 #define Mim_reference_type_citation 1
229 #define Mim_reference_type_book 2
230 #define Mim_reference_type_personal_communication 3
231 #define Mim_reference_type_book_citation 4
232 
233    struct struct_Mim_author PNTR   authors;
234    CharPtr   primaryAuthor;
235    CharPtr   otherAuthors;
236    CharPtr   citationTitle;
237    Int4   citationType;
238    CharPtr   bookTitle;
239    struct struct_Mim_author PNTR   editors;
240    CharPtr   volume;
241    CharPtr   edition;
242    CharPtr   journal;
243    CharPtr   series;
244    CharPtr   publisher;
245    CharPtr   place;
246    CharPtr   commNote;
247    struct struct_Mim_date PNTR   pubDate;
248    struct struct_Mim_page PNTR   pages;
249    CharPtr   miscInfo;
250    Int4   pubmedUID;
251    Uint1   ambiguous;
252    Uint1   noLink;
253 } MimReference, PNTR MimReferencePtr;
254 
255 
256 NLM_EXTERN MimReferencePtr LIBCALL MimReferenceFree PROTO ((MimReferencePtr ));
257 NLM_EXTERN MimReferencePtr LIBCALL MimReferenceNew PROTO (( void ));
258 NLM_EXTERN MimReferencePtr LIBCALL MimReferenceAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
259 NLM_EXTERN Boolean LIBCALL MimReferenceAsnWrite PROTO (( MimReferencePtr , AsnIoPtr, AsnTypePtr));
260 
261 
262 
263 /**************************************************
264 *
265 *    MimLink
266 *
267 **************************************************/
268 typedef struct struct_Mim_link {
269    Int4   num;
270    CharPtr   uids;
271    Int4   numRelevant;
272 } MimLink, PNTR MimLinkPtr;
273 
274 
275 NLM_EXTERN MimLinkPtr LIBCALL MimLinkFree PROTO ((MimLinkPtr ));
276 NLM_EXTERN MimLinkPtr LIBCALL MimLinkNew PROTO (( void ));
277 NLM_EXTERN MimLinkPtr LIBCALL MimLinkAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
278 NLM_EXTERN Boolean LIBCALL MimLinkAsnWrite PROTO (( MimLinkPtr , AsnIoPtr, AsnTypePtr));
279 
280 
281 
282 /**************************************************
283 *
284 *    MimAuthor
285 *
286 **************************************************/
287 typedef struct struct_Mim_author {
288    struct struct_Mim_author PNTR next;
289    CharPtr   name;
290    Int4   index;
291 } MimAuthor, PNTR MimAuthorPtr;
292 
293 
294 NLM_EXTERN MimAuthorPtr LIBCALL MimAuthorFree PROTO ((MimAuthorPtr ));
295 NLM_EXTERN MimAuthorPtr LIBCALL MimAuthorNew PROTO (( void ));
296 NLM_EXTERN MimAuthorPtr LIBCALL MimAuthorAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
297 NLM_EXTERN Boolean LIBCALL MimAuthorAsnWrite PROTO (( MimAuthorPtr , AsnIoPtr, AsnTypePtr));
298 
299 
300 
301 /**************************************************
302 *
303 *    MimPage
304 *
305 **************************************************/
306 typedef struct struct_Mim_page {
307    struct struct_Mim_page PNTR next;
308    CharPtr   from;
309    CharPtr   to;
310 } MimPage, PNTR MimPagePtr;
311 
312 
313 NLM_EXTERN MimPagePtr LIBCALL MimPageFree PROTO ((MimPagePtr ));
314 NLM_EXTERN MimPagePtr LIBCALL MimPageNew PROTO (( void ));
315 NLM_EXTERN MimPagePtr LIBCALL MimPageAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
316 NLM_EXTERN Boolean LIBCALL MimPageAsnWrite PROTO (( MimPagePtr , AsnIoPtr, AsnTypePtr));
317 
318 #ifdef __cplusplus
319 /* { */ }
320 #endif
321 
322 #endif /* _objmim_ */
323 
324 #undef NLM_EXTERN
325 #ifdef NLM_EXPORT
326 #define NLM_EXTERN NLM_EXPORT
327 #else
328 #define NLM_EXTERN
329 #endif
330 
331