You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.5 KiB

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /** Generated by xsd2c*/
  2. #ifndef __CallFunc_H__
  3. #define __CallFunc_H__
  4. #include "CallVar.h"
  5. #include "CallVar.h"
  6. #ifndef _DESERIALIZER_DISABLE_
  7. #include <libxml/parser.h>
  8. #endif
  9. #define TO_CALLFUNC(derived) (derived->__base)
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. /**
  14. * OBJECT: CallFunc
  15. */
  16. struct CallFunc
  17. {
  18. char* name;
  19. struct CallVar_List* in_head;
  20. struct CallVar_List* in_tail;
  21. struct CallVar* out;
  22. };
  23. /**
  24. * LIST: CallFunc_List
  25. */
  26. struct CallFunc_List
  27. {
  28. struct CallFunc* value;
  29. struct CallFunc_List* next;
  30. };
  31. struct CallFunc* CallFunc_Create();
  32. void CallFunc_Free(struct CallFunc* obj);
  33. void CallFunc_Sax_Serialize(struct CallFunc* obj,
  34. const char *root_element_name,
  35. void (*OnStartElement)(const char* element_name, int attr_count, char **keys, char **values, void* userData),
  36. void (*OnCharacters)(const char* element_name, const char* chars, void* userData),
  37. void (*OnEndElement)(const char* element_name, void* userData),
  38. void* userData);
  39. #ifndef _DESERIALIZER_DISABLE_
  40. struct CallFunc* CallFunc_Deserialize(xmlNodePtr xmlRoot);
  41. #endif
  42. void CallFunc_Set_name(struct CallFunc* obj, const char* name);
  43. void CallFunc_Set_out(struct CallFunc* obj, struct CallVar* out);
  44. void CallFunc_Add_in(struct CallFunc* obj, struct CallVar* in);
  45. char* CallFunc_Get_name(struct CallFunc* obj);
  46. struct CallVar_List* CallFunc_Get_in(struct CallFunc* obj);
  47. struct CallVar* CallFunc_Get_out(struct CallFunc* obj);
  48. #ifdef __cplusplus
  49. };
  50. #endif /*__cplusplus*/
  51. #endif