~ubuntu-branches/ubuntu/maverick/eucalyptus/maverick

« back to all changes in this revision

Viewing changes to node/generated/adb_netConfigType.h

  • Committer: Bazaar Package Importer
  • Author(s): Dave Walker (Daviey)
  • Date: 2010-07-21 17:27:10 UTC
  • mfrom: (1.1.38 upstream)
  • Revision ID: james.westby@ubuntu.com-20100721172710-7xv07dmdqgivc3t9
Tags: 2.0~bzr1211-0ubuntu1
* New major upstream version merge, 2.0 (r1211).
* debian/patches/:
  - 01-wsdl-stubs.patch, debian/wsdl.md5sums: wsdl stubs updated.
  - 02-Makefile.patch: Updated to reflect new code layout.
  - 07-local_support_euca_conf-in.patch: Updated to reflect new code layout.
  - 08-ubuntu-default-networking.patch: Refreshed.
  - 09-small-128-192MB.patch: Updated to point to new location.
  - 10-disable-iscsi.patch: Refreshed.
  - 11-state-cleanup-memleakfix.patch: Removed, fixed upstream.
  - 15-fix-default-ramdisk.patch: Updated to point to new location.
  - 16-kvm_libvirt_xml_default_use_kvm.patch: Updated to reflect changes.
  - 17-fix_walrus_OOM_errors.patch: Removed, fixed upstream.
  - 18-priv_security.patch: Updated to reflect upstream changes.
  - 20-brute-force-webui.patch: Updated to reflect upstream changes. 
  - 21-eucalyptus-1.7-with-gwt-1.6.4.patch: New patch, allows 
    eucalyptus-1.7 to be built against gwt 1.6.4. Based on patch courtesy 
    of Dmitrii Zagorodnov, upstream. (LP: #597330)
* debian/eucalyptus-java-common.links: 
  - Changed symlink for groovy, point to groovy.all.jar, making compatiable 
    with groovy versions >1.7. (LP: #595421)
  - Added ant.jar & jetty-rewrite-handler.jar as they are now required.
* debian/control
  - & debian/build-jars: Added libjavassist-java and libjetty-extra-java as 
    build dependencies.
  - Added libjetty-extra-java as a dependency of eucalyptus-java-common
* The binary resulting jar's have been renamed from eucalyptus-*-1.6.2.jar
  to eucalyptus-*-main.jar:    
  - debian/eucalyptus-cc.upstart
  - debian/eucalyptus-cloud.install
  - debian/eucalyptus-common.eucalyptus.upstart
  - debian/eucalyptus-java-common.install
  - debian/eucalyptus-network.upstart
  - debian/eucalyptus-sc.install
  - debian/eucalyptus-walrus.install
* debian/eucalyptus-java-common.install: New upstream jars that have been
  installed:
  - eucalyptus-db-hsqldb-ext-main.jar
  - eucalyptus-component-main.jar
* debian/control:
  - Updated Standards Version to 3.8.4 (no change)
  - Updated the upstream Homepage to: http://open.eucalyptus.com/
  - Changed Vcs-Bzr to reflect new location of Ubuntu hosted development branch.
  - Made the Build Dependency of groovy and the binary eucalyptus-java-common
    package depend on version >=1.7.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        */
16
16
        typedef struct adb_netConfigType adb_netConfigType_t;
17
17
 
18
 
 
 
18
        
19
19
 
20
20
        #include <stdio.h>
21
21
        #include <axiom.h>
30
30
 
31
31
        #define ADB_DEFAULT_DIGIT_LIMIT 64
32
32
        #define ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT 64
33
 
 
 
33
        
34
34
 
35
35
        /******************************* Create and Free functions *********************************/
36
36
 
57
57
 
58
58
 
59
59
        /********************************** Getters and Setters **************************************/
60
 
 
61
 
 
 
60
        
 
61
        
62
62
 
63
63
        /**
64
 
         * Getter for privateMacAddress.
 
64
         * Getter for privateMacAddress. 
65
65
         * @param  _netConfigType adb_netConfigType_t object
66
66
         * @param env pointer to environment struct
67
67
         * @return axis2_char_t*
95
95
            adb_netConfigType_t* _netConfigType,
96
96
            const axutil_env_t *env);
97
97
 
98
 
 
99
 
 
100
 
 
101
 
        /**
102
 
         * Getter for publicMacAddress.
103
 
         * @param  _netConfigType adb_netConfigType_t object
104
 
         * @param env pointer to environment struct
105
 
         * @return axis2_char_t*
106
 
         */
107
 
        axis2_char_t* AXIS2_CALL
108
 
        adb_netConfigType_get_publicMacAddress(
109
 
            adb_netConfigType_t* _netConfigType,
110
 
            const axutil_env_t *env);
111
 
 
112
 
        /**
113
 
         * Setter for publicMacAddress.
114
 
         * @param  _netConfigType adb_netConfigType_t object
115
 
         * @param env pointer to environment struct
116
 
         * @param arg_publicMacAddress axis2_char_t*
117
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
118
 
         */
119
 
        axis2_status_t AXIS2_CALL
120
 
        adb_netConfigType_set_publicMacAddress(
121
 
            adb_netConfigType_t* _netConfigType,
122
 
            const axutil_env_t *env,
123
 
            const axis2_char_t*  arg_publicMacAddress);
124
 
 
125
 
        /**
126
 
         * Resetter for publicMacAddress
127
 
         * @param  _netConfigType adb_netConfigType_t object
128
 
         * @param env pointer to environment struct
129
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
130
 
         */
131
 
        axis2_status_t AXIS2_CALL
132
 
        adb_netConfigType_reset_publicMacAddress(
133
 
            adb_netConfigType_t* _netConfigType,
134
 
            const axutil_env_t *env);
135
 
 
136
 
 
137
 
 
138
 
 
139
 
        /**
140
 
         * Getter for vlan.
141
 
         * @param  _netConfigType adb_netConfigType_t object
142
 
         * @param env pointer to environment struct
143
 
         * @return int
144
 
         */
145
 
        int AXIS2_CALL
146
 
        adb_netConfigType_get_vlan(
147
 
            adb_netConfigType_t* _netConfigType,
148
 
            const axutil_env_t *env);
149
 
 
150
 
        /**
151
 
         * Setter for vlan.
152
 
         * @param  _netConfigType adb_netConfigType_t object
153
 
         * @param env pointer to environment struct
154
 
         * @param arg_vlan int
155
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
156
 
         */
157
 
        axis2_status_t AXIS2_CALL
158
 
        adb_netConfigType_set_vlan(
159
 
            adb_netConfigType_t* _netConfigType,
160
 
            const axutil_env_t *env,
161
 
            const int  arg_vlan);
162
 
 
163
 
        /**
164
 
         * Resetter for vlan
165
 
         * @param  _netConfigType adb_netConfigType_t object
166
 
         * @param env pointer to environment struct
167
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
168
 
         */
169
 
        axis2_status_t AXIS2_CALL
170
 
        adb_netConfigType_reset_vlan(
171
 
            adb_netConfigType_t* _netConfigType,
172
 
            const axutil_env_t *env);
173
 
 
174
 
 
175
 
 
176
 
 
177
 
        /**
178
 
         * Getter for privateIp.
 
98
        
 
99
        
 
100
 
 
101
        /**
 
102
         * Getter for privateIp. 
179
103
         * @param  _netConfigType adb_netConfigType_t object
180
104
         * @param env pointer to environment struct
181
105
         * @return axis2_char_t*
209
133
            adb_netConfigType_t* _netConfigType,
210
134
            const axutil_env_t *env);
211
135
 
212
 
 
213
 
 
 
136
        
 
137
        
214
138
 
215
139
        /**
216
 
         * Getter for publicIp.
 
140
         * Getter for publicIp. 
217
141
         * @param  _netConfigType adb_netConfigType_t object
218
142
         * @param env pointer to environment struct
219
143
         * @return axis2_char_t*
247
171
            adb_netConfigType_t* _netConfigType,
248
172
            const axutil_env_t *env);
249
173
 
250
 
 
 
174
        
 
175
        
 
176
 
 
177
        /**
 
178
         * Getter for vlan. 
 
179
         * @param  _netConfigType adb_netConfigType_t object
 
180
         * @param env pointer to environment struct
 
181
         * @return int
 
182
         */
 
183
        int AXIS2_CALL
 
184
        adb_netConfigType_get_vlan(
 
185
            adb_netConfigType_t* _netConfigType,
 
186
            const axutil_env_t *env);
 
187
 
 
188
        /**
 
189
         * Setter for vlan.
 
190
         * @param  _netConfigType adb_netConfigType_t object
 
191
         * @param env pointer to environment struct
 
192
         * @param arg_vlan int
 
193
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
 
194
         */
 
195
        axis2_status_t AXIS2_CALL
 
196
        adb_netConfigType_set_vlan(
 
197
            adb_netConfigType_t* _netConfigType,
 
198
            const axutil_env_t *env,
 
199
            const int  arg_vlan);
 
200
 
 
201
        /**
 
202
         * Resetter for vlan
 
203
         * @param  _netConfigType adb_netConfigType_t object
 
204
         * @param env pointer to environment struct
 
205
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
 
206
         */
 
207
        axis2_status_t AXIS2_CALL
 
208
        adb_netConfigType_reset_vlan(
 
209
            adb_netConfigType_t* _netConfigType,
 
210
            const axutil_env_t *env);
 
211
 
 
212
        
 
213
        
 
214
 
 
215
        /**
 
216
         * Getter for networkIndex. 
 
217
         * @param  _netConfigType adb_netConfigType_t object
 
218
         * @param env pointer to environment struct
 
219
         * @return int
 
220
         */
 
221
        int AXIS2_CALL
 
222
        adb_netConfigType_get_networkIndex(
 
223
            adb_netConfigType_t* _netConfigType,
 
224
            const axutil_env_t *env);
 
225
 
 
226
        /**
 
227
         * Setter for networkIndex.
 
228
         * @param  _netConfigType adb_netConfigType_t object
 
229
         * @param env pointer to environment struct
 
230
         * @param arg_networkIndex int
 
231
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
 
232
         */
 
233
        axis2_status_t AXIS2_CALL
 
234
        adb_netConfigType_set_networkIndex(
 
235
            adb_netConfigType_t* _netConfigType,
 
236
            const axutil_env_t *env,
 
237
            const int  arg_networkIndex);
 
238
 
 
239
        /**
 
240
         * Resetter for networkIndex
 
241
         * @param  _netConfigType adb_netConfigType_t object
 
242
         * @param env pointer to environment struct
 
243
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
 
244
         */
 
245
        axis2_status_t AXIS2_CALL
 
246
        adb_netConfigType_reset_networkIndex(
 
247
            adb_netConfigType_t* _netConfigType,
 
248
            const axutil_env_t *env);
 
249
 
 
250
        
251
251
 
252
252
 
253
253
        /******************************* Checking and Setting NIL values *********************************/
254
 
 
 
254
        
255
255
 
256
256
        /**
257
257
         * NOTE: set_nil is only available for nillable properties
258
258
         */
259
259
 
260
 
 
 
260
        
261
261
 
262
262
        /**
263
263
         * Check whether privateMacAddress is nill
271
271
                const axutil_env_t *env);
272
272
 
273
273
 
274
 
 
275
 
 
276
 
        /**
277
 
         * Check whether publicMacAddress is nill
278
 
         * @param  _netConfigType adb_netConfigType_t object
279
 
         * @param env pointer to environment struct
280
 
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
281
 
         */
282
 
        axis2_bool_t AXIS2_CALL
283
 
        adb_netConfigType_is_publicMacAddress_nil(
284
 
                adb_netConfigType_t* _netConfigType,
285
 
                const axutil_env_t *env);
286
 
 
287
 
 
288
 
 
289
 
 
290
 
        /**
291
 
         * Check whether vlan is nill
292
 
         * @param  _netConfigType adb_netConfigType_t object
293
 
         * @param env pointer to environment struct
294
 
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
295
 
         */
296
 
        axis2_bool_t AXIS2_CALL
297
 
        adb_netConfigType_is_vlan_nil(
298
 
                adb_netConfigType_t* _netConfigType,
299
 
                const axutil_env_t *env);
300
 
 
301
 
 
302
 
 
 
274
        
303
275
 
304
276
        /**
305
277
         * Check whether privateIp is nill
313
285
                const axutil_env_t *env);
314
286
 
315
287
 
316
 
 
 
288
        
317
289
 
318
290
        /**
319
291
         * Check whether publicIp is nill
327
299
                const axutil_env_t *env);
328
300
 
329
301
 
330
 
 
 
302
        
 
303
 
 
304
        /**
 
305
         * Check whether vlan is nill
 
306
         * @param  _netConfigType adb_netConfigType_t object
 
307
         * @param env pointer to environment struct
 
308
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
 
309
         */
 
310
        axis2_bool_t AXIS2_CALL
 
311
        adb_netConfigType_is_vlan_nil(
 
312
                adb_netConfigType_t* _netConfigType,
 
313
                const axutil_env_t *env);
 
314
 
 
315
 
 
316
        
 
317
 
 
318
        /**
 
319
         * Check whether networkIndex is nill
 
320
         * @param  _netConfigType adb_netConfigType_t object
 
321
         * @param env pointer to environment struct
 
322
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
 
323
         */
 
324
        axis2_bool_t AXIS2_CALL
 
325
        adb_netConfigType_is_networkIndex_nil(
 
326
                adb_netConfigType_t* _netConfigType,
 
327
                const axutil_env_t *env);
 
328
 
 
329
 
 
330
        
331
331
 
332
332
        /**************************** Serialize and Deserialize functions ***************************/
333
333
        /*********** These functions are for use only inside the generated code *********************/
334
334
 
335
 
 
 
335
        
336
336
        /**
337
337
         * Deserialize an XML to adb objects
338
338
         * @param  _netConfigType adb_netConfigType_t object
339
339
         * @param env pointer to environment struct
340
340
         * @param dp_parent double pointer to the parent node to deserialize
341
341
         * @param dp_is_early_node_valid double pointer to a flag (is_early_node_valid?)
342
 
         * @param dont_care_minoccurs Dont set errors on validating minoccurs,
 
342
         * @param dont_care_minoccurs Dont set errors on validating minoccurs, 
343
343
         *              (Parent will order this in a case of choice)
344
344
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
345
345
         */
350
350
            axiom_node_t** dp_parent,
351
351
            axis2_bool_t *dp_is_early_node_valid,
352
352
            axis2_bool_t dont_care_minoccurs);
353
 
 
354
 
 
 
353
                            
 
354
            
355
355
 
356
356
       /**
357
 
         * Declare namespace in the most parent node
 
357
         * Declare namespace in the most parent node 
358
358
         * @param  _netConfigType adb_netConfigType_t object
359
359
         * @param env pointer to environment struct
360
360
         * @param parent_element parent element
367
367
                    const axutil_env_t *env, axiom_element_t *parent_element,
368
368
                    axutil_hash_t *namespaces, int *next_ns_index);
369
369
 
370
 
 
 
370
        
371
371
 
372
372
        /**
373
373
         * Serialize to an XML from the adb objects
399
399
     #endif
400
400
 
401
401
     #endif /* ADB_NETCONFIGTYPE_H */
402
 
 
 
402
    
403
403