summaryrefslogtreecommitdiffstats
path: root/wsdl2c/CallList.h
blob: 6db6b8825b27e10f97c2a6a182c6c795171569fd (plain)
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
/** Generated by xsd2c*/
#ifndef __CallList_H__
#define __CallList_H__


#include "CallFunc.h"

#ifndef _DESERIALIZER_DISABLE_
	#include <libxml/parser.h>
#endif


#define TO_CALLLIST(derived) (derived->__base) 


#ifdef __cplusplus
extern "C" {
#endif 


/**
 *	OBJECT: CallList
 */
struct CallList
{
	struct CallFunc_List* operation_head;
	struct CallFunc_List* operation_tail;
};

/**
 *	LIST: CallList_List
 */
struct CallList_List
{
	struct CallList* value;
	struct CallList_List* next;
};


struct CallList* CallList_Create();
void CallList_Free(struct CallList* obj);
void CallList_Sax_Serialize(struct CallList* 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 CallList* CallList_Deserialize(xmlNodePtr xmlRoot);
#endif

void CallList_Add_operation(struct CallList* obj, struct CallFunc* operation);
struct CallFunc_List* CallList_Get_operation(struct CallList* obj);


#ifdef __cplusplus
};
#endif /*__cplusplus*/



#endif