/usr/include/ncbi/id2gen.h is in libncbi6-dev 6.1.20110713-3ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 | #ifndef _id2gen_
#define _id2gen_
#undef NLM_EXTERN
#ifdef NLM_IMPORT
#define NLM_EXTERN NLM_IMPORT
#else
#define NLM_EXTERN extern
#endif
#ifdef __cplusplus
extern "C" { /* } */
#endif
/**************************************************
*
*
**************************************************/
NLM_EXTERN Boolean LIBCALL
id2genAsnLoad PROTO((void));
/**************************************************
*
* ID2RequestPacket
*
**************************************************/
typedef struct struct_ID2Request ID2RequestPacket;
typedef struct struct_ID2Request PNTR ID2RequestPacketPtr;
#define ID2RequestPacketNew() ID2RequestNew()
#ifdef NLM_GENERATED_CODE_PROTO
NLM_EXTERN ID2RequestPacketPtr LIBCALL ID2RequestPacketFree PROTO ((ID2RequestPacketPtr ));
NLM_EXTERN ID2RequestPacketPtr LIBCALL ID2RequestPacketNew PROTO (( void ));
NLM_EXTERN ID2RequestPacketPtr LIBCALL ID2RequestPacketAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2RequestPacketAsnWrite PROTO (( ID2RequestPacketPtr , AsnIoPtr, AsnTypePtr));
#endif /* NLM_GENERATED_CODE_PROTO */
/**************************************************
*
* ID2Request
*
**************************************************/
typedef struct struct_ID2_Request {
struct struct_ID2_Request PNTR next;
Int4 serial_number;
struct struct_ID2_Param PNTR params;
ValNodePtr Request_request;
} ID2Request, PNTR ID2RequestPtr;
NLM_EXTERN ID2RequestPtr LIBCALL ID2RequestFree PROTO ((ID2RequestPtr ));
NLM_EXTERN ID2RequestPtr LIBCALL ID2RequestNew PROTO (( void ));
NLM_EXTERN ID2RequestPtr LIBCALL ID2RequestAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2RequestAsnWrite PROTO (( ID2RequestPtr , AsnIoPtr, AsnTypePtr));
#ifdef NLM_GENERATED_CODE_PROTO
typedef ValNodePtr Request_requestPtr;
typedef ValNode Request_request;
#endif /* NLM_GENERATED_CODE_PROTO */
#define Request_request_init 1
#define Request_request_get_packages 2
#define Request_request_get_seq_id 3
#define Request_request_get_blob_id 4
#define Request_request_get_blob_info 5
#define Request_request_reget_blob 6
#define Request_request_get_chunks 7
#ifdef NLM_GENERATED_CODE_PROTO
static Request_requestPtr LIBCALL Request_requestFree PROTO ((Request_requestPtr ));
static Request_requestPtr LIBCALL Request_requestAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
static Boolean LIBCALL Request_requestAsnWrite PROTO (( Request_requestPtr , AsnIoPtr, AsnTypePtr));
#endif /* NLM_GENERATED_CODE_PROTO */
/**************************************************
*
* ID2Params
*
**************************************************/
typedef struct struct_ID2Param ID2Params;
typedef struct struct_ID2Param PNTR ID2ParamsPtr;
#define ID2ParamsNew() ID2ParamNew()
#ifdef NLM_GENERATED_CODE_PROTO
NLM_EXTERN ID2ParamsPtr LIBCALL ID2ParamsFree PROTO ((ID2ParamsPtr ));
NLM_EXTERN ID2ParamsPtr LIBCALL ID2ParamsNew PROTO (( void ));
NLM_EXTERN ID2ParamsPtr LIBCALL ID2ParamsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2ParamsAsnWrite PROTO (( ID2ParamsPtr , AsnIoPtr, AsnTypePtr));
#endif /* NLM_GENERATED_CODE_PROTO */
/**************************************************
*
* ID2RequestGetPackages
*
**************************************************/
typedef struct struct_ID2_Request_Get_Packages {
ValNodePtr names;
Uint1 no_contents;
} ID2RequestGetPackages, PNTR ID2RequestGetPackagesPtr;
NLM_EXTERN ID2RequestGetPackagesPtr LIBCALL ID2RequestGetPackagesFree PROTO ((ID2RequestGetPackagesPtr ));
NLM_EXTERN ID2RequestGetPackagesPtr LIBCALL ID2RequestGetPackagesNew PROTO (( void ));
NLM_EXTERN ID2RequestGetPackagesPtr LIBCALL ID2RequestGetPackagesAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2RequestGetPackagesAsnWrite PROTO (( ID2RequestGetPackagesPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2RequestGetSeqId
*
**************************************************/
typedef struct struct_ID2_Request_Get_Seq_id {
ValNodePtr seq_id;
Int4 seq_id_type;
} ID2RequestGetSeqId, PNTR ID2RequestGetSeqIdPtr;
NLM_EXTERN ID2RequestGetSeqIdPtr LIBCALL ID2RequestGetSeqIdFree PROTO ((ID2RequestGetSeqIdPtr ));
NLM_EXTERN ID2RequestGetSeqIdPtr LIBCALL ID2RequestGetSeqIdNew PROTO (( void ));
NLM_EXTERN ID2RequestGetSeqIdPtr LIBCALL ID2RequestGetSeqIdAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2RequestGetSeqIdAsnWrite PROTO (( ID2RequestGetSeqIdPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2RequestGetBlobId
*
**************************************************/
typedef struct struct_ID2_Request_Get_Blob_Id {
struct struct_ID2_Request_Get_Seq_id PNTR seq_id;
ValNodePtr sources;
Uint1 external;
} ID2RequestGetBlobId, PNTR ID2RequestGetBlobIdPtr;
NLM_EXTERN ID2RequestGetBlobIdPtr LIBCALL ID2RequestGetBlobIdFree PROTO ((ID2RequestGetBlobIdPtr ));
NLM_EXTERN ID2RequestGetBlobIdPtr LIBCALL ID2RequestGetBlobIdNew PROTO (( void ));
NLM_EXTERN ID2RequestGetBlobIdPtr LIBCALL ID2RequestGetBlobIdAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2RequestGetBlobIdAsnWrite PROTO (( ID2RequestGetBlobIdPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2RequestGetBlobInfo
*
**************************************************/
typedef struct struct_ID2_Request_Get_Blob_Info {
ValNodePtr BlobId_blob_id;
Uint1 get_seq_ids;
struct struct_ID2_Get_Blob_Details PNTR get_data;
} ID2RequestGetBlobInfo, PNTR ID2RequestGetBlobInfoPtr;
NLM_EXTERN ID2RequestGetBlobInfoPtr LIBCALL ID2RequestGetBlobInfoFree PROTO ((ID2RequestGetBlobInfoPtr ));
NLM_EXTERN ID2RequestGetBlobInfoPtr LIBCALL ID2RequestGetBlobInfoNew PROTO (( void ));
NLM_EXTERN ID2RequestGetBlobInfoPtr LIBCALL ID2RequestGetBlobInfoAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2RequestGetBlobInfoAsnWrite PROTO (( ID2RequestGetBlobInfoPtr , AsnIoPtr, AsnTypePtr));
#ifdef NLM_GENERATED_CODE_PROTO
typedef ValNodePtr BlobId_blob_idPtr;
typedef ValNode BlobId_blob_id;
#endif /* NLM_GENERATED_CODE_PROTO */
#define BlobId_blob_id_blob_id 1
#define BlobId_blob_id_BlobId_Resolve 2
#ifdef NLM_GENERATED_CODE_PROTO
static BlobId_blob_idPtr LIBCALL BlobId_blob_idFree PROTO ((BlobId_blob_idPtr ));
static BlobId_blob_idPtr LIBCALL BlobId_blob_idAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
static Boolean LIBCALL BlobId_blob_idAsnWrite PROTO (( BlobId_blob_idPtr , AsnIoPtr, AsnTypePtr));
#endif /* NLM_GENERATED_CODE_PROTO */
/**************************************************
*
* BlobId_resolve
*
**************************************************/
#ifdef NLM_GENERATED_CODE_PROTO
typedef struct struct_BlobId_Resolve {
struct struct_ID2_Request_Get_Blob_Id PNTR request;
struct struct_ID2_Blob_Id PNTR exclude_blobs;
} BlobId_resolve, PNTR BlobId_resolvePtr;
#endif /* NLM_GENERATED_CODE_PROTO */
#ifdef NLM_GENERATED_CODE_PROTO
static BlobId_resolvePtr LIBCALL BlobId_resolveFree PROTO ((BlobId_resolvePtr ));
static BlobId_resolvePtr LIBCALL BlobId_resolveNew PROTO (( void ));
static BlobId_resolvePtr LIBCALL BlobId_resolveAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
static Boolean LIBCALL BlobId_resolveAsnWrite PROTO (( BlobId_resolvePtr , AsnIoPtr, AsnTypePtr));
#endif /* NLM_GENERATED_CODE_PROTO */
/**************************************************
*
* ID2RequestReGetBlob
*
**************************************************/
typedef struct struct_ID2_Request_ReGet_Blob {
struct struct_ID2_Blob_Id PNTR blob_id;
Int4 split_version;
Int4 offset;
} ID2RequestReGetBlob, PNTR ID2RequestReGetBlobPtr;
NLM_EXTERN ID2RequestReGetBlobPtr LIBCALL ID2RequestReGetBlobFree PROTO ((ID2RequestReGetBlobPtr ));
NLM_EXTERN ID2RequestReGetBlobPtr LIBCALL ID2RequestReGetBlobNew PROTO (( void ));
NLM_EXTERN ID2RequestReGetBlobPtr LIBCALL ID2RequestReGetBlobAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2RequestReGetBlobAsnWrite PROTO (( ID2RequestReGetBlobPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2SRequestGetChunks
*
**************************************************/
typedef struct struct_ID2S_Request_Get_Chunks {
struct struct_ID2_Blob_Id PNTR blob_id;
ValNodePtr chunks;
Int4 split_version;
} ID2SRequestGetChunks, PNTR ID2SRequestGetChunksPtr;
NLM_EXTERN ID2SRequestGetChunksPtr LIBCALL ID2SRequestGetChunksFree PROTO ((ID2SRequestGetChunksPtr ));
NLM_EXTERN ID2SRequestGetChunksPtr LIBCALL ID2SRequestGetChunksNew PROTO (( void ));
NLM_EXTERN ID2SRequestGetChunksPtr LIBCALL ID2SRequestGetChunksAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2SRequestGetChunksAsnWrite PROTO (( ID2SRequestGetChunksPtr , AsnIoPtr, AsnTypePtr));
typedef ValNodePtr ID2SeqIdPtr;
typedef ValNode ID2SeqId;
#define ID2SeqId_string 1
#define ID2SeqId_seq_id 2
NLM_EXTERN ID2SeqIdPtr LIBCALL ID2SeqIdFree PROTO ((ID2SeqIdPtr ));
NLM_EXTERN ID2SeqIdPtr LIBCALL ID2SeqIdAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2SeqIdAsnWrite PROTO (( ID2SeqIdPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2BlobId
*
**************************************************/
typedef struct struct_ID2_Blob_Id {
struct struct_ID2_Blob_Id PNTR next;
Int4 sat;
Int4 sub_sat;
Int4 sat_key;
Int4 version;
} ID2BlobId, PNTR ID2BlobIdPtr;
NLM_EXTERN ID2BlobIdPtr LIBCALL ID2BlobIdFree PROTO ((ID2BlobIdPtr ));
NLM_EXTERN ID2BlobIdPtr LIBCALL ID2BlobIdNew PROTO (( void ));
NLM_EXTERN ID2BlobIdPtr LIBCALL ID2BlobIdAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2BlobIdAsnWrite PROTO (( ID2BlobIdPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2GetBlobDetails
*
**************************************************/
typedef struct struct_ID2_Get_Blob_Details {
ValNodePtr location;
Int4 seq_class_level;
Int4 descr_level;
Int4 descr_type_mask;
Int4 annot_type_mask;
Int4 feat_type_mask;
Uint2 sequence_level;
/* following #defines are for enumerated type, not used by object loaders */
#define ID2_Get_Blob_Details_sequence_level_none 0
#define ID2_Get_Blob_Details_sequence_level_seq_map 1
#define ID2_Get_Blob_Details_sequence_level_seq_data 2
} ID2GetBlobDetails, PNTR ID2GetBlobDetailsPtr;
NLM_EXTERN ID2GetBlobDetailsPtr LIBCALL ID2GetBlobDetailsFree PROTO ((ID2GetBlobDetailsPtr ));
NLM_EXTERN ID2GetBlobDetailsPtr LIBCALL ID2GetBlobDetailsNew PROTO (( void ));
NLM_EXTERN ID2GetBlobDetailsPtr LIBCALL ID2GetBlobDetailsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2GetBlobDetailsAsnWrite PROTO (( ID2GetBlobDetailsPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2Reply
*
**************************************************/
typedef struct struct_ID2_Reply {
Int4 serial_number;
struct struct_ID2_Param PNTR params;
struct struct_ID2_Error PNTR error;
Uint1 end_of_reply;
ValNodePtr Reply_reply;
Uint2 discard;
/* following #defines are for enumerated type, not used by object loaders */
#define ID2_Reply_discard_reply 0
#define ID2_Reply_discard_last_octet_string 1
#define ID2_Reply_discard_nothing 2
} ID2Reply, PNTR ID2ReplyPtr;
NLM_EXTERN ID2ReplyPtr LIBCALL ID2ReplyFree PROTO ((ID2ReplyPtr ));
NLM_EXTERN ID2ReplyPtr LIBCALL ID2ReplyNew PROTO (( void ));
NLM_EXTERN ID2ReplyPtr LIBCALL ID2ReplyAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2ReplyAsnWrite PROTO (( ID2ReplyPtr , AsnIoPtr, AsnTypePtr));
#ifdef NLM_GENERATED_CODE_PROTO
typedef ValNodePtr Reply_replyPtr;
typedef ValNode Reply_reply;
#endif /* NLM_GENERATED_CODE_PROTO */
#define Reply_reply_init 1
#define Reply_reply_empty 2
#define Reply_reply_get_package 3
#define Reply_reply_get_seq_id 4
#define Reply_reply_get_blob_id 5
#define Reply_reply_get_blob_seq_ids 6
#define Reply_reply_get_blob 7
#define Reply_reply_reget_blob 8
#define Reply_reply_get_split_info 9
#define Reply_reply_get_chunk 10
#ifdef NLM_GENERATED_CODE_PROTO
static Reply_replyPtr LIBCALL Reply_replyFree PROTO ((Reply_replyPtr ));
static Reply_replyPtr LIBCALL Reply_replyAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
static Boolean LIBCALL Reply_replyAsnWrite PROTO (( Reply_replyPtr , AsnIoPtr, AsnTypePtr));
#endif /* NLM_GENERATED_CODE_PROTO */
/**************************************************
*
* ID2Error
*
**************************************************/
typedef struct struct_ID2_Error {
struct struct_ID2_Error PNTR next;
Uint2 severity;
/* following #defines are for enumerated type, not used by object loaders */
#define ID2_Error_severity_warning 1
#define ID2_Error_severity_failed_command 2
#define ID2_Error_severity_failed_connection 3
#define ID2_Error_severity_failed_server 4
#define ID2_Error_severity_no_data 5
#define ID2_Error_severity_restricted_data 6
#define ID2_Error_severity_unsupported_command 7
#define ID2_Error_severity_invalid_arguments 8
Int4 retry_delay;
CharPtr message;
} ID2Error, PNTR ID2ErrorPtr;
NLM_EXTERN ID2ErrorPtr LIBCALL ID2ErrorFree PROTO ((ID2ErrorPtr ));
NLM_EXTERN ID2ErrorPtr LIBCALL ID2ErrorNew PROTO (( void ));
NLM_EXTERN ID2ErrorPtr LIBCALL ID2ErrorAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2ErrorAsnWrite PROTO (( ID2ErrorPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2ReplyGetPackage
*
**************************************************/
typedef struct struct_ID2_Reply_Get_Package {
CharPtr name;
struct struct_ID2_Param PNTR params;
} ID2ReplyGetPackage, PNTR ID2ReplyGetPackagePtr;
NLM_EXTERN ID2ReplyGetPackagePtr LIBCALL ID2ReplyGetPackageFree PROTO ((ID2ReplyGetPackagePtr ));
NLM_EXTERN ID2ReplyGetPackagePtr LIBCALL ID2ReplyGetPackageNew PROTO (( void ));
NLM_EXTERN ID2ReplyGetPackagePtr LIBCALL ID2ReplyGetPackageAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2ReplyGetPackageAsnWrite PROTO (( ID2ReplyGetPackagePtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2ReplyGetSeqId
*
**************************************************/
typedef struct struct_ID2_Reply_Get_Seq_id {
struct struct_ID2_Request_Get_Seq_id PNTR request;
ValNodePtr seq_id;
Uint1 end_of_reply;
} ID2ReplyGetSeqId, PNTR ID2ReplyGetSeqIdPtr;
NLM_EXTERN ID2ReplyGetSeqIdPtr LIBCALL ID2ReplyGetSeqIdFree PROTO ((ID2ReplyGetSeqIdPtr ));
NLM_EXTERN ID2ReplyGetSeqIdPtr LIBCALL ID2ReplyGetSeqIdNew PROTO (( void ));
NLM_EXTERN ID2ReplyGetSeqIdPtr LIBCALL ID2ReplyGetSeqIdAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2ReplyGetSeqIdAsnWrite PROTO (( ID2ReplyGetSeqIdPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2ReplyGetBlobId
*
**************************************************/
typedef struct struct_ID2_Reply_Get_Blob_Id {
ValNodePtr seq_id;
struct struct_ID2_Blob_Id PNTR blob_id;
Int4 split_version;
struct struct_ID2S_Seq_annot_Info PNTR annot_info;
Uint1 end_of_reply;
Uint2 blob_state;
} ID2ReplyGetBlobId, PNTR ID2ReplyGetBlobIdPtr;
NLM_EXTERN ID2ReplyGetBlobIdPtr LIBCALL ID2ReplyGetBlobIdFree PROTO ((ID2ReplyGetBlobIdPtr ));
NLM_EXTERN ID2ReplyGetBlobIdPtr LIBCALL ID2ReplyGetBlobIdNew PROTO (( void ));
NLM_EXTERN ID2ReplyGetBlobIdPtr LIBCALL ID2ReplyGetBlobIdAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2ReplyGetBlobIdAsnWrite PROTO (( ID2ReplyGetBlobIdPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2ReplyGetBlobSeqIds
*
**************************************************/
typedef struct struct_ID2_Reply_Get_Blob_Seq_ids {
struct struct_ID2_Blob_Id PNTR blob_id;
struct struct_ID2_Reply_Data PNTR ids;
} ID2ReplyGetBlobSeqIds, PNTR ID2ReplyGetBlobSeqIdsPtr;
NLM_EXTERN ID2ReplyGetBlobSeqIdsPtr LIBCALL ID2ReplyGetBlobSeqIdsFree PROTO ((ID2ReplyGetBlobSeqIdsPtr ));
NLM_EXTERN ID2ReplyGetBlobSeqIdsPtr LIBCALL ID2ReplyGetBlobSeqIdsNew PROTO (( void ));
NLM_EXTERN ID2ReplyGetBlobSeqIdsPtr LIBCALL ID2ReplyGetBlobSeqIdsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2ReplyGetBlobSeqIdsAsnWrite PROTO (( ID2ReplyGetBlobSeqIdsPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2ReplyGetBlob
*
**************************************************/
typedef struct struct_ID2_Reply_Get_Blob {
struct struct_ID2_Blob_Id PNTR blob_id;
Int4 split_version;
struct struct_ID2_Reply_Data PNTR data;
} ID2ReplyGetBlob, PNTR ID2ReplyGetBlobPtr;
NLM_EXTERN ID2ReplyGetBlobPtr LIBCALL ID2ReplyGetBlobFree PROTO ((ID2ReplyGetBlobPtr ));
NLM_EXTERN ID2ReplyGetBlobPtr LIBCALL ID2ReplyGetBlobNew PROTO (( void ));
NLM_EXTERN ID2ReplyGetBlobPtr LIBCALL ID2ReplyGetBlobAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2ReplyGetBlobAsnWrite PROTO (( ID2ReplyGetBlobPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2ReplyReGetBlob
*
**************************************************/
typedef struct struct_ID2_Reply_ReGet_Blob {
struct struct_ID2_Blob_Id PNTR blob_id;
Int4 split_version;
Int4 offset;
struct struct_ID2_Reply_Data PNTR data;
} ID2ReplyReGetBlob, PNTR ID2ReplyReGetBlobPtr;
NLM_EXTERN ID2ReplyReGetBlobPtr LIBCALL ID2ReplyReGetBlobFree PROTO ((ID2ReplyReGetBlobPtr ));
NLM_EXTERN ID2ReplyReGetBlobPtr LIBCALL ID2ReplyReGetBlobNew PROTO (( void ));
NLM_EXTERN ID2ReplyReGetBlobPtr LIBCALL ID2ReplyReGetBlobAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2ReplyReGetBlobAsnWrite PROTO (( ID2ReplyReGetBlobPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2SReplyGetSplitInfo
*
**************************************************/
typedef struct struct_ID2S_Reply_Get_Split_Info {
struct struct_ID2_Blob_Id PNTR blob_id;
Int4 split_version;
struct struct_ID2_Reply_Data PNTR data;
} ID2SReplyGetSplitInfo, PNTR ID2SReplyGetSplitInfoPtr;
NLM_EXTERN ID2SReplyGetSplitInfoPtr LIBCALL ID2SReplyGetSplitInfoFree PROTO ((ID2SReplyGetSplitInfoPtr ));
NLM_EXTERN ID2SReplyGetSplitInfoPtr LIBCALL ID2SReplyGetSplitInfoNew PROTO (( void ));
NLM_EXTERN ID2SReplyGetSplitInfoPtr LIBCALL ID2SReplyGetSplitInfoAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2SReplyGetSplitInfoAsnWrite PROTO (( ID2SReplyGetSplitInfoPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2SReplyGetChunk
*
**************************************************/
typedef struct struct_ID2S_Reply_Get_Chunk {
struct struct_ID2_Blob_Id PNTR blob_id;
Int4 chunk_id;
struct struct_ID2_Reply_Data PNTR data;
} ID2SReplyGetChunk, PNTR ID2SReplyGetChunkPtr;
NLM_EXTERN ID2SReplyGetChunkPtr LIBCALL ID2SReplyGetChunkFree PROTO ((ID2SReplyGetChunkPtr ));
NLM_EXTERN ID2SReplyGetChunkPtr LIBCALL ID2SReplyGetChunkNew PROTO (( void ));
NLM_EXTERN ID2SReplyGetChunkPtr LIBCALL ID2SReplyGetChunkAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2SReplyGetChunkAsnWrite PROTO (( ID2SReplyGetChunkPtr , AsnIoPtr, AsnTypePtr));
/* following #defines are for enumerated type, not used by object loaders */
#define ID2_Blob_State_live 0
#define ID2_Blob_State_suppressed_temp 1
#define ID2_Blob_State_suppressed 2
#define ID2_Blob_State_dead 3
#define ID2_Blob_State_protected__ 4
#define ID2_Blob_State_withdrawn 5
/**************************************************
*
* ID2ReplyData
*
**************************************************/
typedef struct struct_ID2_Reply_Data {
Int4 data_type;
Int4 data_format;
Int4 data_compression;
ValNodePtr data;
} ID2ReplyData, PNTR ID2ReplyDataPtr;
NLM_EXTERN ID2ReplyDataPtr LIBCALL ID2ReplyDataFree PROTO ((ID2ReplyDataPtr ));
NLM_EXTERN ID2ReplyDataPtr LIBCALL ID2ReplyDataNew PROTO (( void ));
NLM_EXTERN ID2ReplyDataPtr LIBCALL ID2ReplyDataAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2ReplyDataAsnWrite PROTO (( ID2ReplyDataPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2BlobSeqIds
*
**************************************************/
typedef struct struct_ID2BlobSeqId ID2BlobSeqIds;
typedef struct struct_ID2BlobSeqId PNTR ID2BlobSeqIdsPtr;
#define ID2BlobSeqIdsNew() ID2BlobSeqIdNew()
#ifdef NLM_GENERATED_CODE_PROTO
NLM_EXTERN ID2BlobSeqIdsPtr LIBCALL ID2BlobSeqIdsFree PROTO ((ID2BlobSeqIdsPtr ));
NLM_EXTERN ID2BlobSeqIdsPtr LIBCALL ID2BlobSeqIdsNew PROTO (( void ));
NLM_EXTERN ID2BlobSeqIdsPtr LIBCALL ID2BlobSeqIdsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2BlobSeqIdsAsnWrite PROTO (( ID2BlobSeqIdsPtr , AsnIoPtr, AsnTypePtr));
#endif /* NLM_GENERATED_CODE_PROTO */
/**************************************************
*
* ID2BlobSeqId
*
**************************************************/
typedef struct struct_ID2_Blob_Seq_id {
struct struct_ID2_Blob_Seq_id PNTR next;
ValNodePtr seq_id;
Uint1 replaced;
} ID2BlobSeqId, PNTR ID2BlobSeqIdPtr;
NLM_EXTERN ID2BlobSeqIdPtr LIBCALL ID2BlobSeqIdFree PROTO ((ID2BlobSeqIdPtr ));
NLM_EXTERN ID2BlobSeqIdPtr LIBCALL ID2BlobSeqIdNew PROTO (( void ));
NLM_EXTERN ID2BlobSeqIdPtr LIBCALL ID2BlobSeqIdAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2BlobSeqIdAsnWrite PROTO (( ID2BlobSeqIdPtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* ID2Param
*
**************************************************/
typedef struct struct_ID2_Param {
struct struct_ID2_Param PNTR next;
CharPtr name;
ValNodePtr value;
Uint2 type;
/* following #defines are for enumerated type, not used by object loaders */
#define ID2_Param_type_set_value 1
#define ID2_Param_type_get_value 2
#define ID2_Param_type_force_value 3
#define ID2_Param_type_use_package 4
} ID2Param, PNTR ID2ParamPtr;
NLM_EXTERN ID2ParamPtr LIBCALL ID2ParamFree PROTO ((ID2ParamPtr ));
NLM_EXTERN ID2ParamPtr LIBCALL ID2ParamNew PROTO (( void ));
NLM_EXTERN ID2ParamPtr LIBCALL ID2ParamAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL ID2ParamAsnWrite PROTO (( ID2ParamPtr , AsnIoPtr, AsnTypePtr));
#ifdef __cplusplus
/* { */ }
#endif
#endif /* _id2gen_ */
#undef NLM_EXTERN
#ifdef NLM_EXPORT
#define NLM_EXTERN NLM_EXPORT
#else
#define NLM_EXTERN
#endif
|