diff options
Diffstat (limited to 'wsdl2c/CallVar.h')
-rw-r--r-- | wsdl2c/CallVar.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/wsdl2c/CallVar.h b/wsdl2c/CallVar.h new file mode 100644 index 0000000..d3484fc --- /dev/null +++ b/wsdl2c/CallVar.h @@ -0,0 +1,64 @@ +/** Generated by xsd2c*/ +#ifndef __CallVar_H__ +#define __CallVar_H__ + + + +#ifndef _DESERIALIZER_DISABLE_ + #include <libxml/parser.h> +#endif + + +#define TO_CALLVAR(derived) (derived->__base) + + +#ifdef __cplusplus +extern "C" { +#endif + + +/** + * OBJECT: CallVar + */ +struct CallVar +{ + char* name; + char* type; +}; + +/** + * LIST: CallVar_List + */ +struct CallVar_List +{ + struct CallVar* value; + struct CallVar_List* next; +}; + + +struct CallVar* CallVar_Create(); +void CallVar_Free(struct CallVar* obj); +void CallVar_Sax_Serialize(struct CallVar* obj, + const char *root_element_name, + void (*OnStartElement)(const char* element_name, int attr_count, char **keys, char **values, void* userData), + void (*OnCharacters)(const char* element_name, const char* chars, void* userData), + void (*OnEndElement)(const char* element_name, void* userData), + void* userData); + +#ifndef _DESERIALIZER_DISABLE_ +struct CallVar* CallVar_Deserialize(xmlNodePtr xmlRoot); +#endif + +void CallVar_Set_name(struct CallVar* obj, const char* name); +void CallVar_Set_type(struct CallVar* obj, const char* type); +char* CallVar_Get_name(struct CallVar* obj); +char* CallVar_Get_type(struct CallVar* obj); + + +#ifdef __cplusplus +}; +#endif /*__cplusplus*/ + + + +#endif |