Changeset 19542 for trunk/Nebulous/nebclient/src/nebulous.h
- Timestamp:
- Sep 12, 2008, 3:15:59 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/nebclient/src/nebulous.h (modified) (24 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/nebclient/src/nebulous.h
r13096 r19542 1 1 /* src/nebulous.h 2 Generated by wsdl2h 1.2.1 from nebulous.wsdl and typemap.dat3 200 7-05-01 02:53:36GMT4 Copyright (C) 2001-200 5Robert van Engelen, Genivia Inc. All Rights Reserved.2 Generated by wsdl2h 1.2.11 from nebulous.wsdl and typemap.dat 3 2008-09-13 01:14:23 GMT 4 Copyright (C) 2001-2008 Robert van Engelen, Genivia Inc. All Rights Reserved. 5 5 This part of the software is released under one of the following licenses: 6 6 GPL or Genivia's license for commercial use. … … 10 10 11 11 - Compile this file with soapcpp2 to complete the code generation process. 12 - Use wsdl2h option -l to view the software license terms. 12 - Use soapcpp2 option -I to specify paths for #import 13 To build with STL, 'stlvector.h' is imported from 'import' dir in package. 13 14 - Use wsdl2h options -c and -s to generate pure C code or C++ code without STL. 14 - To build with STL, stlvector.h from the gSOAP distribution must be in the 15 current directory. Or use soapcpp2 option -I<path> with path to stlvector.h. 16 - Use typemap.dat to control schema namespace bindings and type mappings. 15 - Use 'typemap.dat' to control namespace bindings and type mappings. 17 16 It is strongly recommended to customize the names of the namespace prefixes 18 17 generated by wsdl2h. To do so, modify the prefix bindings in the Namespaces 19 section below and add the modified lines to typemap.datto rerun wsdl2h.18 section below and add the modified lines to 'typemap.dat' to rerun wsdl2h. 20 19 - Use Doxygen (www.doxygen.org) to browse this file. 21 22 */ 20 - Use wsdl2h option -l to view the software license terms. 21 22 DO NOT include this file directly into your project. 23 Include only the soapcpp2-generated headers and source code files. 24 */ 25 26 //gsoapopt cw 23 27 24 28 /******************************************************************************\ … … 28 32 \******************************************************************************/ 29 33 30 //gsoapopt cw 34 35 /******************************************************************************\ 36 * * 37 * Import * 38 * * 39 \******************************************************************************/ 31 40 32 41 … … 58 67 59 68 60 /// Built-in attribute "SOAP-ENC:arrayType" 61 typedef char* SOAP_ENC__arrayType; 62 63 64 /// Schema urn:Nebulous/Server/SOAP:"ArrayOfString" 65 69 70 /// "urn:Nebulous/Server/SOAP":ArrayOfString is a complexType with complexContent restriction of SOAP-ENC:Array. 66 71 /// SOAP encoded array of xs:string 67 72 struct ArrayOfString 68 73 { 69 /// Pointer to a n array of char*74 /// Pointer to array of char*. 70 75 char* *__ptr ; 71 /// Size of the dynamic array 76 /// Size of the dynamic array. 72 77 int __size ; 78 /// Offset for partially transmitted arrays (uncomment only when required). 79 // int __offset ; 73 80 }; 74 81 … … 78 85 * * 79 86 \******************************************************************************/ 87 80 88 81 89 //gsoap ns1 service name: SOAP … … 111 119 - http://localhost:80/nebulous 112 120 121 Note: use wsdl2h option -N to change the service binding prefix name 122 113 123 */ 114 124 … … 136 146 - SOAP action="urn:Nebulous/Server/SOAP#create_object" 137 147 138 C stub function (defined in soapClient.c[pp]): 139 @code 140 int soap_call_ns1__create_USCOREobject(struct soap *soap, 141 NULL, // char *endpoint = NULL selects default endpoint for this operation 142 NULL, // char *action = NULL selects default action for this operation 148 C stub function (defined in soapClient.c[pp] generated by soapcpp2): 149 @code 150 int soap_call_ns1__create_USCOREobject( 151 struct soap *soap, 152 NULL, // char *endpoint = NULL selects default endpoint for this operation 153 NULL, // char *action = NULL selects default action for this operation 154 // request parameters: 155 char* key, 156 char* volume, 157 // response parameters: 158 char* *result 159 ); 160 @endcode 161 162 C server function (called from the service dispatcher defined in soapServer.c[pp]): 163 @code 164 int ns1__create_USCOREobject( 165 struct soap *soap, 143 166 // request parameters: 144 167 char* key, … … 155 178 //gsoap ns1 service method-action: create_USCOREobject urn:Nebulous/Server/SOAP#create_object 156 179 int ns1__create_USCOREobject( 157 char* key, 158 char* volume, 159 char* *result ///< response parameter180 char* key, ///< Request parameter 181 char* volume, ///< Request parameter 182 char* *result ///< Response parameter 160 183 ); 161 184 … … 176 199 - SOAP action="urn:Nebulous/Server/SOAP#create_object" 177 200 178 C stub function (defined in soapClient.c[pp]): 179 @code 180 int soap_call_ns1__rename_USCOREobject(struct soap *soap, 181 NULL, // char *endpoint = NULL selects default endpoint for this operation 182 NULL, // char *action = NULL selects default action for this operation 201 C stub function (defined in soapClient.c[pp] generated by soapcpp2): 202 @code 203 int soap_call_ns1__rename_USCOREobject( 204 struct soap *soap, 205 NULL, // char *endpoint = NULL selects default endpoint for this operation 206 NULL, // char *action = NULL selects default action for this operation 207 // request parameters: 208 char* key, 209 char* newkey, 210 // response parameters: 211 char* *result 212 ); 213 @endcode 214 215 C server function (called from the service dispatcher defined in soapServer.c[pp]): 216 @code 217 int ns1__rename_USCOREobject( 218 struct soap *soap, 183 219 // request parameters: 184 220 char* key, … … 195 231 //gsoap ns1 service method-action: rename_USCOREobject urn:Nebulous/Server/SOAP#create_object 196 232 int ns1__rename_USCOREobject( 233 char* key, ///< Request parameter 234 char* newkey, ///< Request parameter 235 char* *result ///< Response parameter 236 ); 237 238 /******************************************************************************\ 239 * * 240 * ns1__rename_USCOREobject_ * 241 * * 242 \******************************************************************************/ 243 244 245 /// Operation "ns1__rename_USCOREobject_" of service binding "SOAP" 246 247 /** 248 249 Operation details: 250 251 - SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 252 - SOAP action="urn:Nebulous/Server/SOAP#rename_object" 253 254 C stub function (defined in soapClient.c[pp] generated by soapcpp2): 255 @code 256 int soap_call_ns1__rename_USCOREobject_( 257 struct soap *soap, 258 NULL, // char *endpoint = NULL selects default endpoint for this operation 259 NULL, // char *action = NULL selects default action for this operation 260 // request parameters: 197 261 char* key, 198 262 char* newkey, 199 char* *result ///< response parameter 200 ); 201 202 /******************************************************************************\ 203 * * 204 * ns1__rename_USCOREobject_ * 205 * * 206 \******************************************************************************/ 207 208 209 /// Operation "ns1__rename_USCOREobject_" of service binding "SOAP" 210 211 /** 212 213 Operation details: 214 215 - SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 216 - SOAP action="urn:Nebulous/Server/SOAP#rename_object" 217 218 C stub function (defined in soapClient.c[pp]): 219 @code 220 int soap_call_ns1__rename_USCOREobject_(struct soap *soap, 221 NULL, // char *endpoint = NULL selects default endpoint for this operation 222 NULL, // char *action = NULL selects default action for this operation 263 // response parameters: 264 char* *result 265 ); 266 @endcode 267 268 C server function (called from the service dispatcher defined in soapServer.c[pp]): 269 @code 270 int ns1__rename_USCOREobject_( 271 struct soap *soap, 223 272 // request parameters: 224 273 char* key, … … 235 284 //gsoap ns1 service method-action: rename_USCOREobject_ urn:Nebulous/Server/SOAP#rename_object 236 285 int ns1__rename_USCOREobject_( 237 char* key, 238 char* newkey, 239 char* *result ///< response parameter286 char* key, ///< Request parameter 287 char* newkey, ///< Request parameter 288 char* *result ///< Response parameter 240 289 ); 241 290 … … 256 305 - SOAP action="urn:Nebulous/Server/SOAP#replicate_object" 257 306 258 C stub function (defined in soapClient.c[pp]): 259 @code 260 int soap_call_ns1__replicate_USCOREobject(struct soap *soap, 261 NULL, // char *endpoint = NULL selects default endpoint for this operation 262 NULL, // char *action = NULL selects default action for this operation 307 C stub function (defined in soapClient.c[pp] generated by soapcpp2): 308 @code 309 int soap_call_ns1__replicate_USCOREobject( 310 struct soap *soap, 311 NULL, // char *endpoint = NULL selects default endpoint for this operation 312 NULL, // char *action = NULL selects default action for this operation 313 // request parameters: 314 char* key, 315 char* volume, 316 // response parameters: 317 char* *result 318 ); 319 @endcode 320 321 C server function (called from the service dispatcher defined in soapServer.c[pp]): 322 @code 323 int ns1__replicate_USCOREobject( 324 struct soap *soap, 263 325 // request parameters: 264 326 char* key, … … 275 337 //gsoap ns1 service method-action: replicate_USCOREobject urn:Nebulous/Server/SOAP#replicate_object 276 338 int ns1__replicate_USCOREobject( 277 char* key, 278 char* volume, 279 char* *result ///< response parameter339 char* key, ///< Request parameter 340 char* volume, ///< Request parameter 341 char* *result ///< Response parameter 280 342 ); 281 343 … … 296 358 - SOAP action="urn:Nebulous/Server/SOAP#lock_object" 297 359 298 C stub function (defined in soapClient.c[pp]): 299 @code 300 int soap_call_ns1__lock_USCOREobject(struct soap *soap, 301 NULL, // char *endpoint = NULL selects default endpoint for this operation 302 NULL, // char *action = NULL selects default action for this operation 360 C stub function (defined in soapClient.c[pp] generated by soapcpp2): 361 @code 362 int soap_call_ns1__lock_USCOREobject( 363 struct soap *soap, 364 NULL, // char *endpoint = NULL selects default endpoint for this operation 365 NULL, // char *action = NULL selects default action for this operation 366 // request parameters: 367 char* key, 368 char* type, 369 // response parameters: 370 int *result 371 ); 372 @endcode 373 374 C server function (called from the service dispatcher defined in soapServer.c[pp]): 375 @code 376 int ns1__lock_USCOREobject( 377 struct soap *soap, 303 378 // request parameters: 304 379 char* key, … … 315 390 //gsoap ns1 service method-action: lock_USCOREobject urn:Nebulous/Server/SOAP#lock_object 316 391 int ns1__lock_USCOREobject( 392 char* key, ///< Request parameter 393 char* type, ///< Request parameter 394 int *result ///< Response parameter 395 ); 396 397 /******************************************************************************\ 398 * * 399 * ns1__unlock_USCOREobject * 400 * * 401 \******************************************************************************/ 402 403 404 /// Operation "ns1__unlock_USCOREobject" of service binding "SOAP" 405 406 /** 407 408 Operation details: 409 410 - SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 411 - SOAP action="urn:Nebulous/Server/SOAP#unlock_object" 412 413 C stub function (defined in soapClient.c[pp] generated by soapcpp2): 414 @code 415 int soap_call_ns1__unlock_USCOREobject( 416 struct soap *soap, 417 NULL, // char *endpoint = NULL selects default endpoint for this operation 418 NULL, // char *action = NULL selects default action for this operation 419 // request parameters: 317 420 char* key, 318 421 char* type, 319 int *result ///< response parameter 320 ); 321 322 /******************************************************************************\ 323 * * 324 * ns1__unlock_USCOREobject * 325 * * 326 \******************************************************************************/ 327 328 329 /// Operation "ns1__unlock_USCOREobject" of service binding "SOAP" 330 331 /** 332 333 Operation details: 334 335 - SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 336 - SOAP action="urn:Nebulous/Server/SOAP#unlock_object" 337 338 C stub function (defined in soapClient.c[pp]): 339 @code 340 int soap_call_ns1__unlock_USCOREobject(struct soap *soap, 341 NULL, // char *endpoint = NULL selects default endpoint for this operation 342 NULL, // char *action = NULL selects default action for this operation 422 // response parameters: 423 int *result 424 ); 425 @endcode 426 427 C server function (called from the service dispatcher defined in soapServer.c[pp]): 428 @code 429 int ns1__unlock_USCOREobject( 430 struct soap *soap, 343 431 // request parameters: 344 432 char* key, … … 355 443 //gsoap ns1 service method-action: unlock_USCOREobject urn:Nebulous/Server/SOAP#unlock_object 356 444 int ns1__unlock_USCOREobject( 357 char* key, 358 char* type, 359 int *result ///< response parameter445 char* key, ///< Request parameter 446 char* type, ///< Request parameter 447 int *result ///< Response parameter 360 448 ); 361 449 … … 381 469 - SOAP action="urn:Nebulous/Server/SOAP#find_objects" 382 470 383 C stub function (defined in soapClient.c[pp]): 384 @code 385 int soap_call_ns1__find_USCOREobjects(struct soap *soap, 386 NULL, // char *endpoint = NULL selects default endpoint for this operation 387 NULL, // char *action = NULL selects default action for this operation 471 C stub function (defined in soapClient.c[pp] generated by soapcpp2): 472 @code 473 int soap_call_ns1__find_USCOREobjects( 474 struct soap *soap, 475 NULL, // char *endpoint = NULL selects default endpoint for this operation 476 NULL, // char *action = NULL selects default action for this operation 477 // request parameters: 478 char* pattern, 479 // response parameters: 480 struct ns1__find_USCOREobjectsResponse* 481 ); 482 @endcode 483 484 C server function (called from the service dispatcher defined in soapServer.c[pp]): 485 @code 486 int ns1__find_USCOREobjects( 487 struct soap *soap, 388 488 // request parameters: 389 489 char* pattern, … … 399 499 //gsoap ns1 service method-action: find_USCOREobjects urn:Nebulous/Server/SOAP#find_objects 400 500 int ns1__find_USCOREobjects( 401 char* pattern, 402 struct ns1__find_USCOREobjectsResponse* ///< responseparameter501 char* pattern, ///< Request parameter 502 struct ns1__find_USCOREobjectsResponse* ///< Response struct parameter 403 503 ); 404 504 … … 424 524 - SOAP action="urn:Nebulous/Server/SOAP#find_instances" 425 525 426 C stub function (defined in soapClient.c[pp]): 427 @code 428 int soap_call_ns1__find_USCOREinstances(struct soap *soap, 429 NULL, // char *endpoint = NULL selects default endpoint for this operation 430 NULL, // char *action = NULL selects default action for this operation 526 C stub function (defined in soapClient.c[pp] generated by soapcpp2): 527 @code 528 int soap_call_ns1__find_USCOREinstances( 529 struct soap *soap, 530 NULL, // char *endpoint = NULL selects default endpoint for this operation 531 NULL, // char *action = NULL selects default action for this operation 532 // request parameters: 533 char* key, 534 char* volume, 535 // response parameters: 536 struct ns1__find_USCOREinstancesResponse* 537 ); 538 @endcode 539 540 C server function (called from the service dispatcher defined in soapServer.c[pp]): 541 @code 542 int ns1__find_USCOREinstances( 543 struct soap *soap, 431 544 // request parameters: 432 545 char* key, … … 443 556 //gsoap ns1 service method-action: find_USCOREinstances urn:Nebulous/Server/SOAP#find_instances 444 557 int ns1__find_USCOREinstances( 445 char* key, 446 char* volume, 447 struct ns1__find_USCOREinstancesResponse* ///< responseparameter558 char* key, ///< Request parameter 559 char* volume, ///< Request parameter 560 struct ns1__find_USCOREinstancesResponse* ///< Response struct parameter 448 561 ); 449 562 … … 464 577 - SOAP action="urn:Nebulous/Server/SOAP#delete_instance" 465 578 466 C stub function (defined in soapClient.c[pp]): 467 @code 468 int soap_call_ns1__delete_USCOREinstance(struct soap *soap, 469 NULL, // char *endpoint = NULL selects default endpoint for this operation 470 NULL, // char *action = NULL selects default action for this operation 579 C stub function (defined in soapClient.c[pp] generated by soapcpp2): 580 @code 581 int soap_call_ns1__delete_USCOREinstance( 582 struct soap *soap, 583 NULL, // char *endpoint = NULL selects default endpoint for this operation 584 NULL, // char *action = NULL selects default action for this operation 585 // request parameters: 586 char* uri, 587 // response parameters: 588 int *result 589 ); 590 @endcode 591 592 C server function (called from the service dispatcher defined in soapServer.c[pp]): 593 @code 594 int ns1__delete_USCOREinstance( 595 struct soap *soap, 471 596 // request parameters: 472 597 char* uri, … … 482 607 //gsoap ns1 service method-action: delete_USCOREinstance urn:Nebulous/Server/SOAP#delete_instance 483 608 int ns1__delete_USCOREinstance( 484 char* uri, 485 int *result ///< response parameter609 char* uri, ///< Request parameter 610 int *result ///< Response parameter 486 611 ); 487 612 … … 507 632 - SOAP action="urn:Nebulous/Server/SOAP#stat_object" 508 633 509 C stub function (defined in soapClient.c[pp]): 510 @code 511 int soap_call_ns1__stat_USCOREobject(struct soap *soap, 512 NULL, // char *endpoint = NULL selects default endpoint for this operation 513 NULL, // char *action = NULL selects default action for this operation 634 C stub function (defined in soapClient.c[pp] generated by soapcpp2): 635 @code 636 int soap_call_ns1__stat_USCOREobject( 637 struct soap *soap, 638 NULL, // char *endpoint = NULL selects default endpoint for this operation 639 NULL, // char *action = NULL selects default action for this operation 640 // request parameters: 641 char* key, 642 // response parameters: 643 struct ns1__stat_USCOREobjectResponse* 644 ); 645 @endcode 646 647 C server function (called from the service dispatcher defined in soapServer.c[pp]): 648 @code 649 int ns1__stat_USCOREobject( 650 struct soap *soap, 514 651 // request parameters: 515 652 char* key, … … 525 662 //gsoap ns1 service method-action: stat_USCOREobject urn:Nebulous/Server/SOAP#stat_object 526 663 int ns1__stat_USCOREobject( 527 char* key, 528 struct ns1__stat_USCOREobjectResponse* ///< responseparameter664 char* key, ///< Request parameter 665 struct ns1__stat_USCOREobjectResponse* ///< Response struct parameter 529 666 ); 530 667
Note:
See TracChangeset
for help on using the changeset viewer.
