00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00414 #ifndef OpenSOAP_Block_H
00415 #define OpenSOAP_Block_H
00416
00417 #include <OpenSOAP/XMLElm.h>
00418 #include <OpenSOAP/XMLNamespace.h>
00419
00420 #ifdef __cplusplus
00421 extern "C" {
00422 #endif
00423
00424 typedef struct tagOpenSOAPBlock OpenSOAPBlock;
00425
00426 typedef OpenSOAPBlock *OpenSOAPBlockPtr;
00427
00428 int
00429 OPENSOAP_API
00430 OpenSOAPBlockGetValueMB(OpenSOAPBlockPtr soap_block,
00431 const char * type_name,
00432 void * value);
00433
00434 int
00435 OPENSOAP_API
00436 OpenSOAPBlockGetValueWC(OpenSOAPBlockPtr soap_block,
00437 const wchar_t * type_name,
00438 void * value);
00439
00440 int
00441 OPENSOAP_API
00442 OpenSOAPBlockSetValueMB(OpenSOAPBlockPtr soap_block,
00443 const char * type_name,
00444 void * value);
00445
00446 int
00447 OPENSOAP_API
00448 OpenSOAPBlockSetValueWC(OpenSOAPBlockPtr soap_block,
00449 const wchar_t * type_name,
00450 void * value);
00451
00452 int
00453 OPENSOAP_API
00454 OpenSOAPBlockSetNamespaceMB(OpenSOAPBlockPtr soap_block,
00455 const char * ns_uri,
00456 const char * ns_prefix);
00457
00458 int
00459 OPENSOAP_API
00460 OpenSOAPBlockSetNamespaceWC(OpenSOAPBlockPtr soap_block,
00461 const wchar_t * ns_uri,
00462 const wchar_t * ns_prefix);
00463
00464 int
00465 OPENSOAP_API
00466 OpenSOAPBlockGetNamespace(OpenSOAPBlockPtr soap_block,
00467 OpenSOAPXMLNamespacePtr * ns);
00468
00469 int
00470 OPENSOAP_API
00471 OpenSOAPBlockIsSameNamespaceMB(OpenSOAPBlockPtr soap_block,
00472 const char * ns_uri,
00473 int * is_same_uri);
00474
00475 int
00476 OPENSOAP_API
00477 OpenSOAPBlockIsSameNamespaceWC(OpenSOAPBlockPtr soap_block,
00478 const wchar_t * ns_uri,
00479 int * is_same_uri);
00480
00481 int
00482 OPENSOAP_API
00483 OpenSOAPBlockAddAttributeMB(OpenSOAPBlockPtr soap_block,
00484 const char * attr_name,
00485 const char * attr_type,
00486 void * attr_value,
00487 OpenSOAPXMLAttrPtr * attr);
00488
00489 int
00490 OPENSOAP_API
00491 OpenSOAPBlockAddAttributeWC(OpenSOAPBlockPtr soap_block,
00492 const wchar_t * attr_name,
00493 const wchar_t * attr_type,
00494 void * attr_value,
00495 OpenSOAPXMLAttrPtr * attr);
00496
00497 int
00498 OPENSOAP_API
00499 OpenSOAPBlockGetAttributeMB(OpenSOAPBlockPtr soap_block,
00500 const char * attr_name,
00501 OpenSOAPXMLAttrPtr * attr);
00502
00503 int
00504 OPENSOAP_API
00505 OpenSOAPBlockGetAttributeWC(OpenSOAPBlockPtr soap_block,
00506 const wchar_t * attr_name,
00507 OpenSOAPXMLAttrPtr * attr);
00508
00509 int
00510 OPENSOAP_API
00511 OpenSOAPBlockGetChildValueMB(OpenSOAPBlockPtr soap_block,
00512 const char * p_name,
00513 const char * type_name,
00514 void * value);
00515
00516 int
00517 OPENSOAP_API
00518 OpenSOAPBlockGetChildValueWC(OpenSOAPBlockPtr soap_block,
00519 const wchar_t * p_name,
00520 const wchar_t * type_name,
00521 void * value);
00522
00523 int
00524 OPENSOAP_API
00525 OpenSOAPBlockSetChildValueMB(OpenSOAPBlockPtr soap_block,
00526 const char * p_name,
00527 const char * type_name,
00528 void * value);
00529
00530 int
00531 OPENSOAP_API
00532 OpenSOAPBlockSetChildValueWC(OpenSOAPBlockPtr soap_block,
00533 const wchar_t * p_name,
00534 const wchar_t * type_name,
00535 void * value);
00536
00537 int
00538 OPENSOAP_API
00539 OpenSOAPBlockGetNextChild(OpenSOAPBlockPtr soap_block,
00540 OpenSOAPXMLElmPtr * xml_elm);
00541
00542 int
00543 OPENSOAP_API
00544 OpenSOAPBlockAddChildMB(OpenSOAPBlockPtr soap_block,
00545 const char * elm_name,
00546 OpenSOAPXMLElmPtr * xml_elm);
00547
00548 int
00549 OPENSOAP_API
00550 OpenSOAPBlockAddChildWC(OpenSOAPBlockPtr soap_block,
00551 const wchar_t * elm_name,
00552 OpenSOAPXMLElmPtr * xml_elm);
00553
00554 int
00555 OPENSOAP_API
00556 OpenSOAPBlockGetChildMB(OpenSOAPBlockPtr soap_block,
00557 const char * elm_name,
00558 OpenSOAPXMLElmPtr * xml_elm);
00559
00560 int
00561 OPENSOAP_API
00562 OpenSOAPBlockGetChildWC(OpenSOAPBlockPtr soap_block,
00563 const wchar_t * elm_name,
00564 OpenSOAPXMLElmPtr * xml_elm);
00565
00566 int
00567 OPENSOAP_API
00568 OpenSOAPBlockGetMustunderstandAttr(OpenSOAPBlockPtr soap_block,
00569 int * must_std);
00570
00571 int
00572 OPENSOAP_API
00573 OpenSOAPBlockSetMustunderstandAttr(OpenSOAPBlockPtr soap_block);
00574
00575 int
00576 OPENSOAP_API
00577 OpenSOAPBlockClearMustunderstandAttr(OpenSOAPBlockPtr soap_block);
00578
00579 int
00580 OPENSOAP_API
00581 OpenSOAPBlockGetActorAttr(OpenSOAPBlockPtr soap_block,
00582 OpenSOAPStringPtr * actor_url);
00583
00584 int
00585 OPENSOAP_API
00586 OpenSOAPBlockSetActorAttrMB(OpenSOAPBlockPtr soap_block,
00587 const char * actor_url);
00588
00589 int
00590 OPENSOAP_API
00591 OpenSOAPBlockSetActorAttrWC(OpenSOAPBlockPtr soap_block,
00592 const wchar_t * actor_url);
00593
00594 int
00595 OPENSOAP_API
00596 OpenSOAPBlockClearActorAttr(OpenSOAPBlockPtr soap_block);
00597
00598 int
00599 OPENSOAP_API
00600 OpenSOAPBlockSetActorAttrNext(OpenSOAPBlockPtr soap_block);
00601
00602 int
00603 OPENSOAP_API
00604 OpenSOAPBlockIsActorAttrNext(OpenSOAPBlockPtr soap_block,
00605 int * is_actor_next);
00606
00607 int
00608 OPENSOAP_API
00609 OpenSOAPBlockGetName(OpenSOAPBlockPtr block,
00610 OpenSOAPStringPtr * name);
00611
00612 int
00613 OPENSOAP_API
00614 OpenSOAPBlockGetCharEncodingString(OpenSOAPBlockPtr soap_block,
00615 const char * ch_enc,
00616 OpenSOAPByteArrayPtr b_ary);
00617 #ifdef __cplusplus
00618 }
00619 #endif
00620
00621 #endif