remote_protocol.h 97.6 KB
Newer Older
1 2 3 4 5
/*
 * Please do not edit this file.
 * It was generated using rpcgen.
 */

6 7
#ifndef _RP_H_RPCGEN
#define _RP_H_RPCGEN
8 9 10 11 12 13 14 15

#include <rpc/rpc.h>


#ifdef __cplusplus
extern "C" {
#endif

16
#include "internal.h"
17
#include <arpa/inet.h>
18
#define REMOTE_MESSAGE_MAX 262144
19 20
#define REMOTE_MESSAGE_HEADER_MAX 24
#define REMOTE_MESSAGE_PAYLOAD_MAX 262120
21 22 23 24 25 26 27 28 29 30
#define REMOTE_STRING_MAX 65536

typedef char *remote_nonnull_string;

typedef remote_nonnull_string *remote_string;
#define REMOTE_DOMAIN_ID_LIST_MAX 16384
#define REMOTE_DOMAIN_NAME_LIST_MAX 1024
#define REMOTE_CPUMAP_MAX 256
#define REMOTE_VCPUINFO_MAX 2048
#define REMOTE_CPUMAPS_MAX 16384
31
#define REMOTE_MIGRATE_COOKIE_MAX 256
32
#define REMOTE_NETWORK_NAME_LIST_MAX 256
D
Daniel Veillard 已提交
33
#define REMOTE_INTERFACE_NAME_LIST_MAX 256
34
#define REMOTE_DEFINED_INTERFACE_NAME_LIST_MAX 256
35 36
#define REMOTE_STORAGE_POOL_NAME_LIST_MAX 256
#define REMOTE_STORAGE_VOL_NAME_LIST_MAX 1024
37 38
#define REMOTE_NODE_DEVICE_NAME_LIST_MAX 16384
#define REMOTE_NODE_DEVICE_CAPS_LIST_MAX 16384
39
#define REMOTE_DOMAIN_SCHEDULER_PARAMETERS_MAX 16
40
#define REMOTE_NODE_MAX_CELLS 1024
41 42
#define REMOTE_AUTH_SASL_DATA_MAX 65536
#define REMOTE_AUTH_TYPE_LIST_MAX 20
43
#define REMOTE_DOMAIN_MEMORY_STATS_MAX 1024
44
#define REMOTE_DOMAIN_BLOCK_PEEK_BUFFER_MAX 65536
R
Richard W.M. Jones 已提交
45
#define REMOTE_DOMAIN_MEMORY_PEEK_BUFFER_MAX 65536
46 47 48
#define REMOTE_SECURITY_MODEL_MAX VIR_SECURITY_MODEL_BUFLEN
#define REMOTE_SECURITY_LABEL_MAX VIR_SECURITY_LABEL_BUFLEN
#define REMOTE_SECURITY_DOI_MAX VIR_SECURITY_DOI_BUFLEN
49 50
#define REMOTE_SECRET_VALUE_MAX 65536
#define REMOTE_SECRET_UUID_LIST_MAX 16384
51
#define REMOTE_CPU_BASELINE_MAX 256
52 53 54 55

typedef char remote_uuid[VIR_UUID_BUFLEN];

struct remote_nonnull_domain {
56 57 58
        remote_nonnull_string name;
        remote_uuid uuid;
        int id;
59 60 61 62
};
typedef struct remote_nonnull_domain remote_nonnull_domain;

struct remote_nonnull_network {
63 64
        remote_nonnull_string name;
        remote_uuid uuid;
65 66 67
};
typedef struct remote_nonnull_network remote_nonnull_network;

D
Daniel Veillard 已提交
68 69 70 71 72 73
struct remote_nonnull_interface {
        remote_nonnull_string name;
        remote_nonnull_string mac;
};
typedef struct remote_nonnull_interface remote_nonnull_interface;

74
struct remote_nonnull_storage_pool {
75 76
        remote_nonnull_string name;
        remote_uuid uuid;
77 78 79 80
};
typedef struct remote_nonnull_storage_pool remote_nonnull_storage_pool;

struct remote_nonnull_storage_vol {
81 82 83
        remote_nonnull_string pool;
        remote_nonnull_string name;
        remote_nonnull_string key;
84 85 86
};
typedef struct remote_nonnull_storage_vol remote_nonnull_storage_vol;

87 88 89 90 91
struct remote_nonnull_node_device {
        remote_nonnull_string name;
};
typedef struct remote_nonnull_node_device remote_nonnull_node_device;

92
struct remote_nonnull_secret {
93
        remote_uuid uuid;
94 95
        int usageType;
        remote_nonnull_string usageID;
96 97 98
};
typedef struct remote_nonnull_secret remote_nonnull_secret;

99 100 101 102
typedef remote_nonnull_domain *remote_domain;

typedef remote_nonnull_network *remote_network;

103 104 105 106
typedef remote_nonnull_storage_pool *remote_storage_pool;

typedef remote_nonnull_storage_vol *remote_storage_vol;

107 108
typedef remote_nonnull_node_device *remote_node_device;

109
struct remote_error {
110 111 112 113 114 115 116 117 118 119 120
        int code;
        int domain;
        remote_string message;
        int level;
        remote_domain dom;
        remote_string str1;
        remote_string str2;
        remote_string str3;
        int int1;
        int int2;
        remote_network net;
121 122 123
};
typedef struct remote_error remote_error;

124
enum remote_auth_type {
125 126 127
        REMOTE_AUTH_NONE = 0,
        REMOTE_AUTH_SASL = 1,
        REMOTE_AUTH_POLKIT = 2,
128 129 130
};
typedef enum remote_auth_type remote_auth_type;

131
struct remote_vcpu_info {
132 133
        u_int number;
        int state;
134
        uint64_t cpu_time;
135
        int cpu;
136 137 138
};
typedef struct remote_vcpu_info remote_vcpu_info;

139
struct remote_sched_param_value {
140 141 142 143
        int type;
        union {
                int i;
                u_int ui;
144 145
                int64_t l;
                uint64_t ul;
146 147 148
                double d;
                int b;
        } remote_sched_param_value_u;
149 150 151 152
};
typedef struct remote_sched_param_value remote_sched_param_value;

struct remote_sched_param {
153 154
        remote_nonnull_string field;
        remote_sched_param_value value;
155 156 157
};
typedef struct remote_sched_param remote_sched_param;

158
struct remote_open_args {
159 160
        remote_string name;
        int flags;
161 162 163
};
typedef struct remote_open_args remote_open_args;

164
struct remote_supports_feature_args {
165
        int feature;
166 167 168 169
};
typedef struct remote_supports_feature_args remote_supports_feature_args;

struct remote_supports_feature_ret {
170
        int supported;
171 172 173
};
typedef struct remote_supports_feature_ret remote_supports_feature_ret;

174
struct remote_get_type_ret {
175
        remote_nonnull_string type;
176 177 178 179
};
typedef struct remote_get_type_ret remote_get_type_ret;

struct remote_get_version_ret {
180
        int64_t hv_ver;
181 182 183
};
typedef struct remote_get_version_ret remote_get_version_ret;

184 185 186 187 188
struct remote_get_lib_version_ret {
        int64_t lib_ver;
};
typedef struct remote_get_lib_version_ret remote_get_lib_version_ret;

189
struct remote_get_hostname_ret {
190
        remote_nonnull_string hostname;
191 192 193
};
typedef struct remote_get_hostname_ret remote_get_hostname_ret;

194 195 196 197 198
struct remote_get_uri_ret {
        remote_nonnull_string uri;
};
typedef struct remote_get_uri_ret remote_get_uri_ret;

199
struct remote_get_max_vcpus_args {
200
        remote_string type;
201 202 203 204
};
typedef struct remote_get_max_vcpus_args remote_get_max_vcpus_args;

struct remote_get_max_vcpus_ret {
205
        int max_vcpus;
206 207 208 209
};
typedef struct remote_get_max_vcpus_ret remote_get_max_vcpus_ret;

struct remote_node_get_info_ret {
210
        char model[32];
211
        int64_t memory;
212 213 214 215 216 217
        int cpus;
        int mhz;
        int nodes;
        int sockets;
        int cores;
        int threads;
218 219 220 221
};
typedef struct remote_node_get_info_ret remote_node_get_info_ret;

struct remote_get_capabilities_ret {
222
        remote_nonnull_string capabilities;
223 224 225
};
typedef struct remote_get_capabilities_ret remote_get_capabilities_ret;

226 227 228 229 230 231 232 233 234
struct remote_node_get_cells_free_memory_args {
        int startCell;
        int maxCells;
};
typedef struct remote_node_get_cells_free_memory_args remote_node_get_cells_free_memory_args;

struct remote_node_get_cells_free_memory_ret {
        struct {
                u_int freeMems_len;
235
                int64_t *freeMems_val;
236 237 238 239 240
        } freeMems;
};
typedef struct remote_node_get_cells_free_memory_ret remote_node_get_cells_free_memory_ret;

struct remote_node_get_free_memory_ret {
241
        int64_t freeMem;
242 243 244
};
typedef struct remote_node_get_free_memory_ret remote_node_get_free_memory_ret;

245
struct remote_domain_get_scheduler_type_args {
246
        remote_nonnull_domain dom;
247 248 249 250
};
typedef struct remote_domain_get_scheduler_type_args remote_domain_get_scheduler_type_args;

struct remote_domain_get_scheduler_type_ret {
251 252
        remote_nonnull_string type;
        int nparams;
253 254 255 256
};
typedef struct remote_domain_get_scheduler_type_ret remote_domain_get_scheduler_type_ret;

struct remote_domain_get_scheduler_parameters_args {
257 258
        remote_nonnull_domain dom;
        int nparams;
259 260 261 262
};
typedef struct remote_domain_get_scheduler_parameters_args remote_domain_get_scheduler_parameters_args;

struct remote_domain_get_scheduler_parameters_ret {
263 264 265 266
        struct {
                u_int params_len;
                remote_sched_param *params_val;
        } params;
267 268 269 270
};
typedef struct remote_domain_get_scheduler_parameters_ret remote_domain_get_scheduler_parameters_ret;

struct remote_domain_set_scheduler_parameters_args {
271 272 273 274 275
        remote_nonnull_domain dom;
        struct {
                u_int params_len;
                remote_sched_param *params_val;
        } params;
276 277 278
};
typedef struct remote_domain_set_scheduler_parameters_args remote_domain_set_scheduler_parameters_args;

279
struct remote_domain_block_stats_args {
280 281
        remote_nonnull_domain dom;
        remote_nonnull_string path;
282 283 284 285
};
typedef struct remote_domain_block_stats_args remote_domain_block_stats_args;

struct remote_domain_block_stats_ret {
286 287 288 289 290
        int64_t rd_req;
        int64_t rd_bytes;
        int64_t wr_req;
        int64_t wr_bytes;
        int64_t errs;
291 292 293 294
};
typedef struct remote_domain_block_stats_ret remote_domain_block_stats_ret;

struct remote_domain_interface_stats_args {
295 296
        remote_nonnull_domain dom;
        remote_nonnull_string path;
297 298 299 300
};
typedef struct remote_domain_interface_stats_args remote_domain_interface_stats_args;

struct remote_domain_interface_stats_ret {
301 302 303 304 305 306 307 308
        int64_t rx_bytes;
        int64_t rx_packets;
        int64_t rx_errs;
        int64_t rx_drop;
        int64_t tx_bytes;
        int64_t tx_packets;
        int64_t tx_errs;
        int64_t tx_drop;
309 310 311
};
typedef struct remote_domain_interface_stats_ret remote_domain_interface_stats_ret;

312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332
struct remote_domain_memory_stats_args {
        remote_nonnull_domain dom;
        u_int maxStats;
        u_int flags;
};
typedef struct remote_domain_memory_stats_args remote_domain_memory_stats_args;

struct remote_domain_memory_stat {
        int tag;
        uint64_t val;
};
typedef struct remote_domain_memory_stat remote_domain_memory_stat;

struct remote_domain_memory_stats_ret {
        struct {
                u_int stats_len;
                remote_domain_memory_stat *stats_val;
        } stats;
};
typedef struct remote_domain_memory_stats_ret remote_domain_memory_stats_ret;

333 334 335
struct remote_domain_block_peek_args {
        remote_nonnull_domain dom;
        remote_nonnull_string path;
336
        uint64_t offset;
337 338 339 340 341 342 343 344 345 346 347 348 349
        u_int size;
        u_int flags;
};
typedef struct remote_domain_block_peek_args remote_domain_block_peek_args;

struct remote_domain_block_peek_ret {
        struct {
                u_int buffer_len;
                char *buffer_val;
        } buffer;
};
typedef struct remote_domain_block_peek_ret remote_domain_block_peek_ret;

R
Richard W.M. Jones 已提交
350 351
struct remote_domain_memory_peek_args {
        remote_nonnull_domain dom;
352
        uint64_t offset;
R
Richard W.M. Jones 已提交
353 354 355 356 357 358 359 360 361 362 363 364 365
        u_int size;
        u_int flags;
};
typedef struct remote_domain_memory_peek_args remote_domain_memory_peek_args;

struct remote_domain_memory_peek_ret {
        struct {
                u_int buffer_len;
                char *buffer_val;
        } buffer;
};
typedef struct remote_domain_memory_peek_ret remote_domain_memory_peek_ret;

366
struct remote_list_domains_args {
367
        int maxids;
368 369 370 371
};
typedef struct remote_list_domains_args remote_list_domains_args;

struct remote_list_domains_ret {
372 373 374 375
        struct {
                u_int ids_len;
                int *ids_val;
        } ids;
376 377 378 379
};
typedef struct remote_list_domains_ret remote_list_domains_ret;

struct remote_num_of_domains_ret {
380
        int num;
381 382 383
};
typedef struct remote_num_of_domains_ret remote_num_of_domains_ret;

384
struct remote_domain_create_xml_args {
385 386
        remote_nonnull_string xml_desc;
        int flags;
387
};
388
typedef struct remote_domain_create_xml_args remote_domain_create_xml_args;
389

390
struct remote_domain_create_xml_ret {
391
        remote_nonnull_domain dom;
392
};
393
typedef struct remote_domain_create_xml_ret remote_domain_create_xml_ret;
394 395

struct remote_domain_lookup_by_id_args {
396
        int id;
397 398 399 400
};
typedef struct remote_domain_lookup_by_id_args remote_domain_lookup_by_id_args;

struct remote_domain_lookup_by_id_ret {
401
        remote_nonnull_domain dom;
402 403 404 405
};
typedef struct remote_domain_lookup_by_id_ret remote_domain_lookup_by_id_ret;

struct remote_domain_lookup_by_uuid_args {
406
        remote_uuid uuid;
407 408 409 410
};
typedef struct remote_domain_lookup_by_uuid_args remote_domain_lookup_by_uuid_args;

struct remote_domain_lookup_by_uuid_ret {
411
        remote_nonnull_domain dom;
412 413 414 415
};
typedef struct remote_domain_lookup_by_uuid_ret remote_domain_lookup_by_uuid_ret;

struct remote_domain_lookup_by_name_args {
416
        remote_nonnull_string name;
417 418 419 420
};
typedef struct remote_domain_lookup_by_name_args remote_domain_lookup_by_name_args;

struct remote_domain_lookup_by_name_ret {
421
        remote_nonnull_domain dom;
422 423 424 425
};
typedef struct remote_domain_lookup_by_name_ret remote_domain_lookup_by_name_ret;

struct remote_domain_suspend_args {
426
        remote_nonnull_domain dom;
427 428 429 430
};
typedef struct remote_domain_suspend_args remote_domain_suspend_args;

struct remote_domain_resume_args {
431
        remote_nonnull_domain dom;
432 433 434 435
};
typedef struct remote_domain_resume_args remote_domain_resume_args;

struct remote_domain_shutdown_args {
436
        remote_nonnull_domain dom;
437 438 439 440
};
typedef struct remote_domain_shutdown_args remote_domain_shutdown_args;

struct remote_domain_reboot_args {
441 442
        remote_nonnull_domain dom;
        int flags;
443 444 445 446
};
typedef struct remote_domain_reboot_args remote_domain_reboot_args;

struct remote_domain_destroy_args {
447
        remote_nonnull_domain dom;
448 449 450 451
};
typedef struct remote_domain_destroy_args remote_domain_destroy_args;

struct remote_domain_get_os_type_args {
452
        remote_nonnull_domain dom;
453 454 455 456
};
typedef struct remote_domain_get_os_type_args remote_domain_get_os_type_args;

struct remote_domain_get_os_type_ret {
457
        remote_nonnull_string type;
458 459 460 461
};
typedef struct remote_domain_get_os_type_ret remote_domain_get_os_type_ret;

struct remote_domain_get_max_memory_args {
462
        remote_nonnull_domain dom;
463 464 465 466
};
typedef struct remote_domain_get_max_memory_args remote_domain_get_max_memory_args;

struct remote_domain_get_max_memory_ret {
467
        uint64_t memory;
468 469 470 471
};
typedef struct remote_domain_get_max_memory_ret remote_domain_get_max_memory_ret;

struct remote_domain_set_max_memory_args {
472
        remote_nonnull_domain dom;
473
        uint64_t memory;
474 475 476 477
};
typedef struct remote_domain_set_max_memory_args remote_domain_set_max_memory_args;

struct remote_domain_set_memory_args {
478
        remote_nonnull_domain dom;
479
        uint64_t memory;
480 481 482 483
};
typedef struct remote_domain_set_memory_args remote_domain_set_memory_args;

struct remote_domain_get_info_args {
484
        remote_nonnull_domain dom;
485 486 487 488
};
typedef struct remote_domain_get_info_args remote_domain_get_info_args;

struct remote_domain_get_info_ret {
489
        u_char state;
490 491
        uint64_t max_mem;
        uint64_t memory;
492
        u_short nr_virt_cpu;
493
        uint64_t cpu_time;
494 495 496 497
};
typedef struct remote_domain_get_info_ret remote_domain_get_info_ret;

struct remote_domain_save_args {
498 499
        remote_nonnull_domain dom;
        remote_nonnull_string to;
500 501 502 503
};
typedef struct remote_domain_save_args remote_domain_save_args;

struct remote_domain_restore_args {
504
        remote_nonnull_string from;
505 506 507 508
};
typedef struct remote_domain_restore_args remote_domain_restore_args;

struct remote_domain_core_dump_args {
509 510 511
        remote_nonnull_domain dom;
        remote_nonnull_string to;
        int flags;
512 513 514 515
};
typedef struct remote_domain_core_dump_args remote_domain_core_dump_args;

struct remote_domain_dump_xml_args {
516 517
        remote_nonnull_domain dom;
        int flags;
518 519 520 521
};
typedef struct remote_domain_dump_xml_args remote_domain_dump_xml_args;

struct remote_domain_dump_xml_ret {
522
        remote_nonnull_string xml;
523 524 525
};
typedef struct remote_domain_dump_xml_ret remote_domain_dump_xml_ret;

526
struct remote_domain_migrate_prepare_args {
527
        remote_string uri_in;
528
        uint64_t flags;
529
        remote_string dname;
530
        uint64_t resource;
531 532 533 534
};
typedef struct remote_domain_migrate_prepare_args remote_domain_migrate_prepare_args;

struct remote_domain_migrate_prepare_ret {
535 536 537 538 539
        struct {
                u_int cookie_len;
                char *cookie_val;
        } cookie;
        remote_string uri_out;
540 541 542 543
};
typedef struct remote_domain_migrate_prepare_ret remote_domain_migrate_prepare_ret;

struct remote_domain_migrate_perform_args {
544 545 546 547 548 549
        remote_nonnull_domain dom;
        struct {
                u_int cookie_len;
                char *cookie_val;
        } cookie;
        remote_nonnull_string uri;
550
        uint64_t flags;
551
        remote_string dname;
552
        uint64_t resource;
553 554 555 556
};
typedef struct remote_domain_migrate_perform_args remote_domain_migrate_perform_args;

struct remote_domain_migrate_finish_args {
557 558 559 560 561 562
        remote_nonnull_string dname;
        struct {
                u_int cookie_len;
                char *cookie_val;
        } cookie;
        remote_nonnull_string uri;
563
        uint64_t flags;
564 565 566 567
};
typedef struct remote_domain_migrate_finish_args remote_domain_migrate_finish_args;

struct remote_domain_migrate_finish_ret {
568
        remote_nonnull_domain ddom;
569 570 571
};
typedef struct remote_domain_migrate_finish_ret remote_domain_migrate_finish_ret;

D
Daniel Veillard 已提交
572 573
struct remote_domain_migrate_prepare2_args {
        remote_string uri_in;
574
        uint64_t flags;
D
Daniel Veillard 已提交
575
        remote_string dname;
576
        uint64_t resource;
D
Daniel Veillard 已提交
577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596
        remote_nonnull_string dom_xml;
};
typedef struct remote_domain_migrate_prepare2_args remote_domain_migrate_prepare2_args;

struct remote_domain_migrate_prepare2_ret {
        struct {
                u_int cookie_len;
                char *cookie_val;
        } cookie;
        remote_string uri_out;
};
typedef struct remote_domain_migrate_prepare2_ret remote_domain_migrate_prepare2_ret;

struct remote_domain_migrate_finish2_args {
        remote_nonnull_string dname;
        struct {
                u_int cookie_len;
                char *cookie_val;
        } cookie;
        remote_nonnull_string uri;
597
        uint64_t flags;
D
Daniel Veillard 已提交
598 599 600 601 602 603 604 605 606
        int retcode;
};
typedef struct remote_domain_migrate_finish2_args remote_domain_migrate_finish2_args;

struct remote_domain_migrate_finish2_ret {
        remote_nonnull_domain ddom;
};
typedef struct remote_domain_migrate_finish2_ret remote_domain_migrate_finish2_ret;

607
struct remote_list_defined_domains_args {
608
        int maxnames;
609 610 611 612
};
typedef struct remote_list_defined_domains_args remote_list_defined_domains_args;

struct remote_list_defined_domains_ret {
613 614 615 616
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
617 618 619 620
};
typedef struct remote_list_defined_domains_ret remote_list_defined_domains_ret;

struct remote_num_of_defined_domains_ret {
621
        int num;
622 623 624 625
};
typedef struct remote_num_of_defined_domains_ret remote_num_of_defined_domains_ret;

struct remote_domain_create_args {
626
        remote_nonnull_domain dom;
627 628 629 630
};
typedef struct remote_domain_create_args remote_domain_create_args;

struct remote_domain_define_xml_args {
631
        remote_nonnull_string xml;
632 633 634 635
};
typedef struct remote_domain_define_xml_args remote_domain_define_xml_args;

struct remote_domain_define_xml_ret {
636
        remote_nonnull_domain dom;
637 638 639 640
};
typedef struct remote_domain_define_xml_ret remote_domain_define_xml_ret;

struct remote_domain_undefine_args {
641
        remote_nonnull_domain dom;
642 643 644 645
};
typedef struct remote_domain_undefine_args remote_domain_undefine_args;

struct remote_domain_set_vcpus_args {
646 647
        remote_nonnull_domain dom;
        int nvcpus;
648 649 650 651
};
typedef struct remote_domain_set_vcpus_args remote_domain_set_vcpus_args;

struct remote_domain_pin_vcpu_args {
652 653 654 655 656 657
        remote_nonnull_domain dom;
        int vcpu;
        struct {
                u_int cpumap_len;
                char *cpumap_val;
        } cpumap;
658 659 660 661
};
typedef struct remote_domain_pin_vcpu_args remote_domain_pin_vcpu_args;

struct remote_domain_get_vcpus_args {
662 663 664
        remote_nonnull_domain dom;
        int maxinfo;
        int maplen;
665 666 667 668
};
typedef struct remote_domain_get_vcpus_args remote_domain_get_vcpus_args;

struct remote_domain_get_vcpus_ret {
669 670 671 672 673 674 675 676
        struct {
                u_int info_len;
                remote_vcpu_info *info_val;
        } info;
        struct {
                u_int cpumaps_len;
                char *cpumaps_val;
        } cpumaps;
677 678 679 680
};
typedef struct remote_domain_get_vcpus_ret remote_domain_get_vcpus_ret;

struct remote_domain_get_max_vcpus_args {
681
        remote_nonnull_domain dom;
682 683 684 685
};
typedef struct remote_domain_get_max_vcpus_args remote_domain_get_max_vcpus_args;

struct remote_domain_get_max_vcpus_ret {
686
        int num;
687 688 689
};
typedef struct remote_domain_get_max_vcpus_ret remote_domain_get_max_vcpus_ret;

690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715
struct remote_domain_get_security_label_args {
        remote_nonnull_domain dom;
};
typedef struct remote_domain_get_security_label_args remote_domain_get_security_label_args;

struct remote_domain_get_security_label_ret {
        struct {
                u_int label_len;
                char *label_val;
        } label;
        int enforcing;
};
typedef struct remote_domain_get_security_label_ret remote_domain_get_security_label_ret;

struct remote_node_get_security_model_ret {
        struct {
                u_int model_len;
                char *model_val;
        } model;
        struct {
                u_int doi_len;
                char *doi_val;
        } doi;
};
typedef struct remote_node_get_security_model_ret remote_node_get_security_model_ret;

716
struct remote_domain_attach_device_args {
717 718
        remote_nonnull_domain dom;
        remote_nonnull_string xml;
719 720 721
};
typedef struct remote_domain_attach_device_args remote_domain_attach_device_args;

722 723 724 725 726 727 728
struct remote_domain_attach_device_flags_args {
        remote_nonnull_domain dom;
        remote_nonnull_string xml;
        u_int flags;
};
typedef struct remote_domain_attach_device_flags_args remote_domain_attach_device_flags_args;

729
struct remote_domain_detach_device_args {
730 731
        remote_nonnull_domain dom;
        remote_nonnull_string xml;
732 733 734
};
typedef struct remote_domain_detach_device_args remote_domain_detach_device_args;

735 736 737 738 739 740 741
struct remote_domain_detach_device_flags_args {
        remote_nonnull_domain dom;
        remote_nonnull_string xml;
        u_int flags;
};
typedef struct remote_domain_detach_device_flags_args remote_domain_detach_device_flags_args;

742
struct remote_domain_get_autostart_args {
743
        remote_nonnull_domain dom;
744 745 746 747
};
typedef struct remote_domain_get_autostart_args remote_domain_get_autostart_args;

struct remote_domain_get_autostart_ret {
748
        int autostart;
749 750 751 752
};
typedef struct remote_domain_get_autostart_ret remote_domain_get_autostart_ret;

struct remote_domain_set_autostart_args {
753 754
        remote_nonnull_domain dom;
        int autostart;
755 756 757 758
};
typedef struct remote_domain_set_autostart_args remote_domain_set_autostart_args;

struct remote_num_of_networks_ret {
759
        int num;
760 761 762 763
};
typedef struct remote_num_of_networks_ret remote_num_of_networks_ret;

struct remote_list_networks_args {
764
        int maxnames;
765 766 767 768
};
typedef struct remote_list_networks_args remote_list_networks_args;

struct remote_list_networks_ret {
769 770 771 772
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
773 774 775 776
};
typedef struct remote_list_networks_ret remote_list_networks_ret;

struct remote_num_of_defined_networks_ret {
777
        int num;
778 779 780 781
};
typedef struct remote_num_of_defined_networks_ret remote_num_of_defined_networks_ret;

struct remote_list_defined_networks_args {
782
        int maxnames;
783 784 785 786
};
typedef struct remote_list_defined_networks_args remote_list_defined_networks_args;

struct remote_list_defined_networks_ret {
787 788 789 790
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
791 792 793 794
};
typedef struct remote_list_defined_networks_ret remote_list_defined_networks_ret;

struct remote_network_lookup_by_uuid_args {
795
        remote_uuid uuid;
796 797 798 799
};
typedef struct remote_network_lookup_by_uuid_args remote_network_lookup_by_uuid_args;

struct remote_network_lookup_by_uuid_ret {
800
        remote_nonnull_network net;
801 802 803 804
};
typedef struct remote_network_lookup_by_uuid_ret remote_network_lookup_by_uuid_ret;

struct remote_network_lookup_by_name_args {
805
        remote_nonnull_string name;
806 807 808 809
};
typedef struct remote_network_lookup_by_name_args remote_network_lookup_by_name_args;

struct remote_network_lookup_by_name_ret {
810
        remote_nonnull_network net;
811 812 813 814
};
typedef struct remote_network_lookup_by_name_ret remote_network_lookup_by_name_ret;

struct remote_network_create_xml_args {
815
        remote_nonnull_string xml;
816 817 818 819
};
typedef struct remote_network_create_xml_args remote_network_create_xml_args;

struct remote_network_create_xml_ret {
820
        remote_nonnull_network net;
821 822 823 824
};
typedef struct remote_network_create_xml_ret remote_network_create_xml_ret;

struct remote_network_define_xml_args {
825
        remote_nonnull_string xml;
826 827 828 829
};
typedef struct remote_network_define_xml_args remote_network_define_xml_args;

struct remote_network_define_xml_ret {
830
        remote_nonnull_network net;
831 832 833 834
};
typedef struct remote_network_define_xml_ret remote_network_define_xml_ret;

struct remote_network_undefine_args {
835
        remote_nonnull_network net;
836 837 838 839
};
typedef struct remote_network_undefine_args remote_network_undefine_args;

struct remote_network_create_args {
840
        remote_nonnull_network net;
841 842 843 844
};
typedef struct remote_network_create_args remote_network_create_args;

struct remote_network_destroy_args {
845
        remote_nonnull_network net;
846 847 848 849
};
typedef struct remote_network_destroy_args remote_network_destroy_args;

struct remote_network_dump_xml_args {
850 851
        remote_nonnull_network net;
        int flags;
852 853 854 855
};
typedef struct remote_network_dump_xml_args remote_network_dump_xml_args;

struct remote_network_dump_xml_ret {
856
        remote_nonnull_string xml;
857 858 859 860
};
typedef struct remote_network_dump_xml_ret remote_network_dump_xml_ret;

struct remote_network_get_bridge_name_args {
861
        remote_nonnull_network net;
862 863 864 865
};
typedef struct remote_network_get_bridge_name_args remote_network_get_bridge_name_args;

struct remote_network_get_bridge_name_ret {
866
        remote_nonnull_string name;
867 868 869 870
};
typedef struct remote_network_get_bridge_name_ret remote_network_get_bridge_name_ret;

struct remote_network_get_autostart_args {
871
        remote_nonnull_network net;
872 873 874 875
};
typedef struct remote_network_get_autostart_args remote_network_get_autostart_args;

struct remote_network_get_autostart_ret {
876
        int autostart;
877 878 879 880
};
typedef struct remote_network_get_autostart_ret remote_network_get_autostart_ret;

struct remote_network_set_autostart_args {
881 882
        remote_nonnull_network net;
        int autostart;
883 884
};
typedef struct remote_network_set_autostart_args remote_network_set_autostart_args;
885

D
Daniel Veillard 已提交
886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903
struct remote_num_of_interfaces_ret {
        int num;
};
typedef struct remote_num_of_interfaces_ret remote_num_of_interfaces_ret;

struct remote_list_interfaces_args {
        int maxnames;
};
typedef struct remote_list_interfaces_args remote_list_interfaces_args;

struct remote_list_interfaces_ret {
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
};
typedef struct remote_list_interfaces_ret remote_list_interfaces_ret;

904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921
struct remote_num_of_defined_interfaces_ret {
        int num;
};
typedef struct remote_num_of_defined_interfaces_ret remote_num_of_defined_interfaces_ret;

struct remote_list_defined_interfaces_args {
        int maxnames;
};
typedef struct remote_list_defined_interfaces_args remote_list_defined_interfaces_args;

struct remote_list_defined_interfaces_ret {
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
};
typedef struct remote_list_defined_interfaces_ret remote_list_defined_interfaces_ret;

D
Daniel Veillard 已提交
922 923 924 925 926 927
struct remote_interface_lookup_by_name_args {
        remote_nonnull_string name;
};
typedef struct remote_interface_lookup_by_name_args remote_interface_lookup_by_name_args;

struct remote_interface_lookup_by_name_ret {
928
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
929 930 931 932 933 934 935 936 937
};
typedef struct remote_interface_lookup_by_name_ret remote_interface_lookup_by_name_ret;

struct remote_interface_lookup_by_mac_string_args {
        remote_nonnull_string mac;
};
typedef struct remote_interface_lookup_by_mac_string_args remote_interface_lookup_by_mac_string_args;

struct remote_interface_lookup_by_mac_string_ret {
938
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
939 940 941 942
};
typedef struct remote_interface_lookup_by_mac_string_ret remote_interface_lookup_by_mac_string_ret;

struct remote_interface_get_xml_desc_args {
943
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959
        u_int flags;
};
typedef struct remote_interface_get_xml_desc_args remote_interface_get_xml_desc_args;

struct remote_interface_get_xml_desc_ret {
        remote_nonnull_string xml;
};
typedef struct remote_interface_get_xml_desc_ret remote_interface_get_xml_desc_ret;

struct remote_interface_define_xml_args {
        remote_nonnull_string xml;
        u_int flags;
};
typedef struct remote_interface_define_xml_args remote_interface_define_xml_args;

struct remote_interface_define_xml_ret {
960
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
961 962 963 964
};
typedef struct remote_interface_define_xml_ret remote_interface_define_xml_ret;

struct remote_interface_undefine_args {
965
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
966 967 968 969
};
typedef struct remote_interface_undefine_args remote_interface_undefine_args;

struct remote_interface_create_args {
970
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
971 972 973 974 975
        u_int flags;
};
typedef struct remote_interface_create_args remote_interface_create_args;

struct remote_interface_destroy_args {
976
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
977 978 979 980
        u_int flags;
};
typedef struct remote_interface_destroy_args remote_interface_destroy_args;

981
struct remote_auth_list_ret {
982 983 984 985
        struct {
                u_int types_len;
                remote_auth_type *types_val;
        } types;
986 987 988 989
};
typedef struct remote_auth_list_ret remote_auth_list_ret;

struct remote_auth_sasl_init_ret {
990
        remote_nonnull_string mechlist;
991 992 993 994
};
typedef struct remote_auth_sasl_init_ret remote_auth_sasl_init_ret;

struct remote_auth_sasl_start_args {
995 996 997 998 999 1000
        remote_nonnull_string mech;
        int nil;
        struct {
                u_int data_len;
                char *data_val;
        } data;
1001 1002 1003 1004
};
typedef struct remote_auth_sasl_start_args remote_auth_sasl_start_args;

struct remote_auth_sasl_start_ret {
1005 1006 1007 1008 1009 1010
        int complete;
        int nil;
        struct {
                u_int data_len;
                char *data_val;
        } data;
1011 1012 1013 1014
};
typedef struct remote_auth_sasl_start_ret remote_auth_sasl_start_ret;

struct remote_auth_sasl_step_args {
1015 1016 1017 1018 1019
        int nil;
        struct {
                u_int data_len;
                char *data_val;
        } data;
1020 1021 1022 1023
};
typedef struct remote_auth_sasl_step_args remote_auth_sasl_step_args;

struct remote_auth_sasl_step_ret {
1024 1025 1026 1027 1028 1029
        int complete;
        int nil;
        struct {
                u_int data_len;
                char *data_val;
        } data;
1030 1031
};
typedef struct remote_auth_sasl_step_ret remote_auth_sasl_step_ret;
1032 1033

struct remote_auth_polkit_ret {
1034
        int complete;
1035 1036
};
typedef struct remote_auth_polkit_ret remote_auth_polkit_ret;
1037 1038

struct remote_num_of_storage_pools_ret {
1039
        int num;
1040 1041 1042 1043
};
typedef struct remote_num_of_storage_pools_ret remote_num_of_storage_pools_ret;

struct remote_list_storage_pools_args {
1044
        int maxnames;
1045 1046 1047 1048
};
typedef struct remote_list_storage_pools_args remote_list_storage_pools_args;

struct remote_list_storage_pools_ret {
1049 1050 1051 1052
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
1053 1054 1055 1056
};
typedef struct remote_list_storage_pools_ret remote_list_storage_pools_ret;

struct remote_num_of_defined_storage_pools_ret {
1057
        int num;
1058 1059 1060 1061
};
typedef struct remote_num_of_defined_storage_pools_ret remote_num_of_defined_storage_pools_ret;

struct remote_list_defined_storage_pools_args {
1062
        int maxnames;
1063 1064 1065 1066
};
typedef struct remote_list_defined_storage_pools_args remote_list_defined_storage_pools_args;

struct remote_list_defined_storage_pools_ret {
1067 1068 1069 1070
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
1071 1072 1073
};
typedef struct remote_list_defined_storage_pools_ret remote_list_defined_storage_pools_ret;

1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085
struct remote_find_storage_pool_sources_args {
        remote_nonnull_string type;
        remote_string srcSpec;
        u_int flags;
};
typedef struct remote_find_storage_pool_sources_args remote_find_storage_pool_sources_args;

struct remote_find_storage_pool_sources_ret {
        remote_nonnull_string xml;
};
typedef struct remote_find_storage_pool_sources_ret remote_find_storage_pool_sources_ret;

1086
struct remote_storage_pool_lookup_by_uuid_args {
1087
        remote_uuid uuid;
1088 1089 1090 1091
};
typedef struct remote_storage_pool_lookup_by_uuid_args remote_storage_pool_lookup_by_uuid_args;

struct remote_storage_pool_lookup_by_uuid_ret {
1092
        remote_nonnull_storage_pool pool;
1093 1094 1095 1096
};
typedef struct remote_storage_pool_lookup_by_uuid_ret remote_storage_pool_lookup_by_uuid_ret;

struct remote_storage_pool_lookup_by_name_args {
1097
        remote_nonnull_string name;
1098 1099 1100 1101
};
typedef struct remote_storage_pool_lookup_by_name_args remote_storage_pool_lookup_by_name_args;

struct remote_storage_pool_lookup_by_name_ret {
1102
        remote_nonnull_storage_pool pool;
1103 1104 1105 1106
};
typedef struct remote_storage_pool_lookup_by_name_ret remote_storage_pool_lookup_by_name_ret;

struct remote_storage_pool_lookup_by_volume_args {
1107
        remote_nonnull_storage_vol vol;
1108 1109 1110 1111
};
typedef struct remote_storage_pool_lookup_by_volume_args remote_storage_pool_lookup_by_volume_args;

struct remote_storage_pool_lookup_by_volume_ret {
1112
        remote_nonnull_storage_pool pool;
1113 1114 1115 1116
};
typedef struct remote_storage_pool_lookup_by_volume_ret remote_storage_pool_lookup_by_volume_ret;

struct remote_storage_pool_create_xml_args {
1117 1118
        remote_nonnull_string xml;
        u_int flags;
1119 1120 1121 1122
};
typedef struct remote_storage_pool_create_xml_args remote_storage_pool_create_xml_args;

struct remote_storage_pool_create_xml_ret {
1123
        remote_nonnull_storage_pool pool;
1124 1125 1126 1127
};
typedef struct remote_storage_pool_create_xml_ret remote_storage_pool_create_xml_ret;

struct remote_storage_pool_define_xml_args {
1128 1129
        remote_nonnull_string xml;
        u_int flags;
1130 1131 1132 1133
};
typedef struct remote_storage_pool_define_xml_args remote_storage_pool_define_xml_args;

struct remote_storage_pool_define_xml_ret {
1134
        remote_nonnull_storage_pool pool;
1135 1136 1137 1138
};
typedef struct remote_storage_pool_define_xml_ret remote_storage_pool_define_xml_ret;

struct remote_storage_pool_build_args {
1139 1140
        remote_nonnull_storage_pool pool;
        u_int flags;
1141 1142 1143 1144
};
typedef struct remote_storage_pool_build_args remote_storage_pool_build_args;

struct remote_storage_pool_undefine_args {
1145
        remote_nonnull_storage_pool pool;
1146 1147 1148 1149
};
typedef struct remote_storage_pool_undefine_args remote_storage_pool_undefine_args;

struct remote_storage_pool_create_args {
1150 1151
        remote_nonnull_storage_pool pool;
        u_int flags;
1152 1153 1154 1155
};
typedef struct remote_storage_pool_create_args remote_storage_pool_create_args;

struct remote_storage_pool_destroy_args {
1156
        remote_nonnull_storage_pool pool;
1157 1158 1159 1160
};
typedef struct remote_storage_pool_destroy_args remote_storage_pool_destroy_args;

struct remote_storage_pool_delete_args {
1161 1162
        remote_nonnull_storage_pool pool;
        u_int flags;
1163 1164 1165 1166
};
typedef struct remote_storage_pool_delete_args remote_storage_pool_delete_args;

struct remote_storage_pool_refresh_args {
1167 1168
        remote_nonnull_storage_pool pool;
        u_int flags;
1169 1170 1171 1172
};
typedef struct remote_storage_pool_refresh_args remote_storage_pool_refresh_args;

struct remote_storage_pool_dump_xml_args {
1173 1174
        remote_nonnull_storage_pool pool;
        u_int flags;
1175 1176 1177 1178
};
typedef struct remote_storage_pool_dump_xml_args remote_storage_pool_dump_xml_args;

struct remote_storage_pool_dump_xml_ret {
1179
        remote_nonnull_string xml;
1180 1181 1182 1183
};
typedef struct remote_storage_pool_dump_xml_ret remote_storage_pool_dump_xml_ret;

struct remote_storage_pool_get_info_args {
1184
        remote_nonnull_storage_pool pool;
1185 1186 1187 1188
};
typedef struct remote_storage_pool_get_info_args remote_storage_pool_get_info_args;

struct remote_storage_pool_get_info_ret {
1189
        u_char state;
1190 1191 1192
        uint64_t capacity;
        uint64_t allocation;
        uint64_t available;
1193 1194 1195 1196
};
typedef struct remote_storage_pool_get_info_ret remote_storage_pool_get_info_ret;

struct remote_storage_pool_get_autostart_args {
1197
        remote_nonnull_storage_pool pool;
1198 1199 1200 1201
};
typedef struct remote_storage_pool_get_autostart_args remote_storage_pool_get_autostart_args;

struct remote_storage_pool_get_autostart_ret {
1202
        int autostart;
1203 1204 1205 1206
};
typedef struct remote_storage_pool_get_autostart_ret remote_storage_pool_get_autostart_ret;

struct remote_storage_pool_set_autostart_args {
1207 1208
        remote_nonnull_storage_pool pool;
        int autostart;
1209 1210 1211 1212
};
typedef struct remote_storage_pool_set_autostart_args remote_storage_pool_set_autostart_args;

struct remote_storage_pool_num_of_volumes_args {
1213
        remote_nonnull_storage_pool pool;
1214 1215 1216 1217
};
typedef struct remote_storage_pool_num_of_volumes_args remote_storage_pool_num_of_volumes_args;

struct remote_storage_pool_num_of_volumes_ret {
1218
        int num;
1219 1220 1221 1222
};
typedef struct remote_storage_pool_num_of_volumes_ret remote_storage_pool_num_of_volumes_ret;

struct remote_storage_pool_list_volumes_args {
1223 1224
        remote_nonnull_storage_pool pool;
        int maxnames;
1225 1226 1227 1228
};
typedef struct remote_storage_pool_list_volumes_args remote_storage_pool_list_volumes_args;

struct remote_storage_pool_list_volumes_ret {
1229 1230 1231 1232
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
1233 1234 1235 1236
};
typedef struct remote_storage_pool_list_volumes_ret remote_storage_pool_list_volumes_ret;

struct remote_storage_vol_lookup_by_name_args {
1237 1238
        remote_nonnull_storage_pool pool;
        remote_nonnull_string name;
1239 1240 1241 1242
};
typedef struct remote_storage_vol_lookup_by_name_args remote_storage_vol_lookup_by_name_args;

struct remote_storage_vol_lookup_by_name_ret {
1243
        remote_nonnull_storage_vol vol;
1244 1245 1246 1247
};
typedef struct remote_storage_vol_lookup_by_name_ret remote_storage_vol_lookup_by_name_ret;

struct remote_storage_vol_lookup_by_key_args {
1248
        remote_nonnull_string key;
1249 1250 1251 1252
};
typedef struct remote_storage_vol_lookup_by_key_args remote_storage_vol_lookup_by_key_args;

struct remote_storage_vol_lookup_by_key_ret {
1253
        remote_nonnull_storage_vol vol;
1254 1255 1256 1257
};
typedef struct remote_storage_vol_lookup_by_key_ret remote_storage_vol_lookup_by_key_ret;

struct remote_storage_vol_lookup_by_path_args {
1258
        remote_nonnull_string path;
1259 1260 1261 1262
};
typedef struct remote_storage_vol_lookup_by_path_args remote_storage_vol_lookup_by_path_args;

struct remote_storage_vol_lookup_by_path_ret {
1263
        remote_nonnull_storage_vol vol;
1264 1265 1266 1267
};
typedef struct remote_storage_vol_lookup_by_path_ret remote_storage_vol_lookup_by_path_ret;

struct remote_storage_vol_create_xml_args {
1268 1269 1270
        remote_nonnull_storage_pool pool;
        remote_nonnull_string xml;
        u_int flags;
1271 1272 1273 1274
};
typedef struct remote_storage_vol_create_xml_args remote_storage_vol_create_xml_args;

struct remote_storage_vol_create_xml_ret {
1275
        remote_nonnull_storage_vol vol;
1276 1277 1278
};
typedef struct remote_storage_vol_create_xml_ret remote_storage_vol_create_xml_ret;

1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291
struct remote_storage_vol_create_xml_from_args {
        remote_nonnull_storage_pool pool;
        remote_nonnull_string xml;
        remote_nonnull_storage_vol clonevol;
        u_int flags;
};
typedef struct remote_storage_vol_create_xml_from_args remote_storage_vol_create_xml_from_args;

struct remote_storage_vol_create_xml_from_ret {
        remote_nonnull_storage_vol vol;
};
typedef struct remote_storage_vol_create_xml_from_ret remote_storage_vol_create_xml_from_ret;

1292
struct remote_storage_vol_delete_args {
1293 1294
        remote_nonnull_storage_vol vol;
        u_int flags;
1295 1296 1297 1298
};
typedef struct remote_storage_vol_delete_args remote_storage_vol_delete_args;

struct remote_storage_vol_dump_xml_args {
1299 1300
        remote_nonnull_storage_vol vol;
        u_int flags;
1301 1302 1303 1304
};
typedef struct remote_storage_vol_dump_xml_args remote_storage_vol_dump_xml_args;

struct remote_storage_vol_dump_xml_ret {
1305
        remote_nonnull_string xml;
1306 1307 1308 1309
};
typedef struct remote_storage_vol_dump_xml_ret remote_storage_vol_dump_xml_ret;

struct remote_storage_vol_get_info_args {
1310
        remote_nonnull_storage_vol vol;
1311 1312 1313 1314
};
typedef struct remote_storage_vol_get_info_args remote_storage_vol_get_info_args;

struct remote_storage_vol_get_info_ret {
1315
        char type;
1316 1317
        uint64_t capacity;
        uint64_t allocation;
1318 1319 1320 1321
};
typedef struct remote_storage_vol_get_info_ret remote_storage_vol_get_info_ret;

struct remote_storage_vol_get_path_args {
1322
        remote_nonnull_storage_vol vol;
1323 1324 1325 1326
};
typedef struct remote_storage_vol_get_path_args remote_storage_vol_get_path_args;

struct remote_storage_vol_get_path_ret {
1327
        remote_nonnull_string name;
1328 1329
};
typedef struct remote_storage_vol_get_path_ret remote_storage_vol_get_path_ret;
1330

1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411
struct remote_node_num_of_devices_args {
        remote_string cap;
        u_int flags;
};
typedef struct remote_node_num_of_devices_args remote_node_num_of_devices_args;

struct remote_node_num_of_devices_ret {
        int num;
};
typedef struct remote_node_num_of_devices_ret remote_node_num_of_devices_ret;

struct remote_node_list_devices_args {
        remote_string cap;
        int maxnames;
        u_int flags;
};
typedef struct remote_node_list_devices_args remote_node_list_devices_args;

struct remote_node_list_devices_ret {
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
};
typedef struct remote_node_list_devices_ret remote_node_list_devices_ret;

struct remote_node_device_lookup_by_name_args {
        remote_nonnull_string name;
};
typedef struct remote_node_device_lookup_by_name_args remote_node_device_lookup_by_name_args;

struct remote_node_device_lookup_by_name_ret {
        remote_nonnull_node_device dev;
};
typedef struct remote_node_device_lookup_by_name_ret remote_node_device_lookup_by_name_ret;

struct remote_node_device_dump_xml_args {
        remote_nonnull_string name;
        u_int flags;
};
typedef struct remote_node_device_dump_xml_args remote_node_device_dump_xml_args;

struct remote_node_device_dump_xml_ret {
        remote_nonnull_string xml;
};
typedef struct remote_node_device_dump_xml_ret remote_node_device_dump_xml_ret;

struct remote_node_device_get_parent_args {
        remote_nonnull_string name;
};
typedef struct remote_node_device_get_parent_args remote_node_device_get_parent_args;

struct remote_node_device_get_parent_ret {
        remote_string parent;
};
typedef struct remote_node_device_get_parent_ret remote_node_device_get_parent_ret;

struct remote_node_device_num_of_caps_args {
        remote_nonnull_string name;
};
typedef struct remote_node_device_num_of_caps_args remote_node_device_num_of_caps_args;

struct remote_node_device_num_of_caps_ret {
        int num;
};
typedef struct remote_node_device_num_of_caps_ret remote_node_device_num_of_caps_ret;

struct remote_node_device_list_caps_args {
        remote_nonnull_string name;
        int maxnames;
};
typedef struct remote_node_device_list_caps_args remote_node_device_list_caps_args;

struct remote_node_device_list_caps_ret {
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
};
typedef struct remote_node_device_list_caps_ret remote_node_device_list_caps_ret;

1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426
struct remote_node_device_dettach_args {
        remote_nonnull_string name;
};
typedef struct remote_node_device_dettach_args remote_node_device_dettach_args;

struct remote_node_device_re_attach_args {
        remote_nonnull_string name;
};
typedef struct remote_node_device_re_attach_args remote_node_device_re_attach_args;

struct remote_node_device_reset_args {
        remote_nonnull_string name;
};
typedef struct remote_node_device_reset_args remote_node_device_reset_args;

1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442
struct remote_node_device_create_xml_args {
        remote_nonnull_string xml_desc;
        int flags;
};
typedef struct remote_node_device_create_xml_args remote_node_device_create_xml_args;

struct remote_node_device_create_xml_ret {
        remote_nonnull_node_device dev;
};
typedef struct remote_node_device_create_xml_ret remote_node_device_create_xml_ret;

struct remote_node_device_destroy_args {
        remote_nonnull_string name;
};
typedef struct remote_node_device_destroy_args remote_node_device_destroy_args;

1443 1444 1445 1446 1447 1448 1449 1450 1451 1452
struct remote_domain_events_register_ret {
        int cb_registered;
};
typedef struct remote_domain_events_register_ret remote_domain_events_register_ret;

struct remote_domain_events_deregister_ret {
        int cb_registered;
};
typedef struct remote_domain_events_deregister_ret remote_domain_events_deregister_ret;

1453
struct remote_domain_event_msg {
1454 1455
        remote_nonnull_domain dom;
        int event;
1456
        int detail;
1457
};
1458
typedef struct remote_domain_event_msg remote_domain_event_msg;
1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482

struct remote_domain_xml_from_native_args {
        remote_nonnull_string nativeFormat;
        remote_nonnull_string nativeConfig;
        u_int flags;
};
typedef struct remote_domain_xml_from_native_args remote_domain_xml_from_native_args;

struct remote_domain_xml_from_native_ret {
        remote_nonnull_string domainXml;
};
typedef struct remote_domain_xml_from_native_ret remote_domain_xml_from_native_ret;

struct remote_domain_xml_to_native_args {
        remote_nonnull_string nativeFormat;
        remote_nonnull_string domainXml;
        u_int flags;
};
typedef struct remote_domain_xml_to_native_args remote_domain_xml_to_native_args;

struct remote_domain_xml_to_native_ret {
        remote_nonnull_string nativeConfig;
};
typedef struct remote_domain_xml_to_native_ret remote_domain_xml_to_native_ret;
1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501

struct remote_num_of_secrets_ret {
        int num;
};
typedef struct remote_num_of_secrets_ret remote_num_of_secrets_ret;

struct remote_list_secrets_args {
        int maxuuids;
};
typedef struct remote_list_secrets_args remote_list_secrets_args;

struct remote_list_secrets_ret {
        struct {
                u_int uuids_len;
                remote_nonnull_string *uuids_val;
        } uuids;
};
typedef struct remote_list_secrets_ret remote_list_secrets_ret;

1502 1503
struct remote_secret_lookup_by_uuid_args {
        remote_uuid uuid;
1504
};
1505
typedef struct remote_secret_lookup_by_uuid_args remote_secret_lookup_by_uuid_args;
1506

1507
struct remote_secret_lookup_by_uuid_ret {
1508 1509
        remote_nonnull_secret secret;
};
1510
typedef struct remote_secret_lookup_by_uuid_ret remote_secret_lookup_by_uuid_ret;
1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561

struct remote_secret_define_xml_args {
        remote_nonnull_string xml;
        u_int flags;
};
typedef struct remote_secret_define_xml_args remote_secret_define_xml_args;

struct remote_secret_define_xml_ret {
        remote_nonnull_secret secret;
};
typedef struct remote_secret_define_xml_ret remote_secret_define_xml_ret;

struct remote_secret_get_xml_desc_args {
        remote_nonnull_secret secret;
        u_int flags;
};
typedef struct remote_secret_get_xml_desc_args remote_secret_get_xml_desc_args;

struct remote_secret_get_xml_desc_ret {
        remote_nonnull_string xml;
};
typedef struct remote_secret_get_xml_desc_ret remote_secret_get_xml_desc_ret;

struct remote_secret_set_value_args {
        remote_nonnull_secret secret;
        struct {
                u_int value_len;
                char *value_val;
        } value;
        u_int flags;
};
typedef struct remote_secret_set_value_args remote_secret_set_value_args;

struct remote_secret_get_value_args {
        remote_nonnull_secret secret;
        u_int flags;
};
typedef struct remote_secret_get_value_args remote_secret_get_value_args;

struct remote_secret_get_value_ret {
        struct {
                u_int value_len;
                char *value_val;
        } value;
};
typedef struct remote_secret_get_value_ret remote_secret_get_value_ret;

struct remote_secret_undefine_args {
        remote_nonnull_secret secret;
};
typedef struct remote_secret_undefine_args remote_secret_undefine_args;
1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572

struct remote_secret_lookup_by_usage_args {
        int usageType;
        remote_nonnull_string usageID;
};
typedef struct remote_secret_lookup_by_usage_args remote_secret_lookup_by_usage_args;

struct remote_secret_lookup_by_usage_ret {
        remote_nonnull_secret secret;
};
typedef struct remote_secret_lookup_by_usage_ret remote_secret_lookup_by_usage_ret;
C
Chris Lalancette 已提交
1573 1574 1575 1576 1577 1578 1579 1580 1581

struct remote_domain_migrate_prepare_tunnel_args {
        uint64_t flags;
        remote_string dname;
        uint64_t resource;
        remote_nonnull_string dom_xml;
};
typedef struct remote_domain_migrate_prepare_tunnel_args remote_domain_migrate_prepare_tunnel_args;

1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655
struct remote_is_secure_ret {
        int secure;
};
typedef struct remote_is_secure_ret remote_is_secure_ret;

struct remote_domain_is_active_args {
        remote_nonnull_domain dom;
};
typedef struct remote_domain_is_active_args remote_domain_is_active_args;

struct remote_domain_is_active_ret {
        int active;
};
typedef struct remote_domain_is_active_ret remote_domain_is_active_ret;

struct remote_domain_is_persistent_args {
        remote_nonnull_domain dom;
};
typedef struct remote_domain_is_persistent_args remote_domain_is_persistent_args;

struct remote_domain_is_persistent_ret {
        int persistent;
};
typedef struct remote_domain_is_persistent_ret remote_domain_is_persistent_ret;

struct remote_network_is_active_args {
        remote_nonnull_network net;
};
typedef struct remote_network_is_active_args remote_network_is_active_args;

struct remote_network_is_active_ret {
        int active;
};
typedef struct remote_network_is_active_ret remote_network_is_active_ret;

struct remote_network_is_persistent_args {
        remote_nonnull_network net;
};
typedef struct remote_network_is_persistent_args remote_network_is_persistent_args;

struct remote_network_is_persistent_ret {
        int persistent;
};
typedef struct remote_network_is_persistent_ret remote_network_is_persistent_ret;

struct remote_storage_pool_is_active_args {
        remote_nonnull_storage_pool pool;
};
typedef struct remote_storage_pool_is_active_args remote_storage_pool_is_active_args;

struct remote_storage_pool_is_active_ret {
        int active;
};
typedef struct remote_storage_pool_is_active_ret remote_storage_pool_is_active_ret;

struct remote_storage_pool_is_persistent_args {
        remote_nonnull_storage_pool pool;
};
typedef struct remote_storage_pool_is_persistent_args remote_storage_pool_is_persistent_args;

struct remote_storage_pool_is_persistent_ret {
        int persistent;
};
typedef struct remote_storage_pool_is_persistent_ret remote_storage_pool_is_persistent_ret;

struct remote_interface_is_active_args {
        remote_nonnull_interface iface;
};
typedef struct remote_interface_is_active_args remote_interface_is_active_args;

struct remote_interface_is_active_ret {
        int active;
};
typedef struct remote_interface_is_active_ret remote_interface_is_active_ret;
1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666

struct remote_cpu_compare_args {
        remote_nonnull_string xml;
        u_int flags;
};
typedef struct remote_cpu_compare_args remote_cpu_compare_args;

struct remote_cpu_compare_ret {
        int result;
};
typedef struct remote_cpu_compare_ret remote_cpu_compare_ret;
1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680

struct remote_cpu_baseline_args {
        struct {
                u_int xmlCPUs_len;
                remote_nonnull_string *xmlCPUs_val;
        } xmlCPUs;
        u_int flags;
};
typedef struct remote_cpu_baseline_args remote_cpu_baseline_args;

struct remote_cpu_baseline_ret {
        remote_nonnull_string cpu;
};
typedef struct remote_cpu_baseline_ret remote_cpu_baseline_ret;
1681 1682 1683 1684
#define REMOTE_PROGRAM 0x20008086
#define REMOTE_PROTOCOL_VERSION 1

enum remote_procedure {
1685 1686 1687 1688 1689 1690 1691 1692 1693
        REMOTE_PROC_OPEN = 1,
        REMOTE_PROC_CLOSE = 2,
        REMOTE_PROC_GET_TYPE = 3,
        REMOTE_PROC_GET_VERSION = 4,
        REMOTE_PROC_GET_MAX_VCPUS = 5,
        REMOTE_PROC_NODE_GET_INFO = 6,
        REMOTE_PROC_GET_CAPABILITIES = 7,
        REMOTE_PROC_DOMAIN_ATTACH_DEVICE = 8,
        REMOTE_PROC_DOMAIN_CREATE = 9,
1694
        REMOTE_PROC_DOMAIN_CREATE_XML = 10,
1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758
        REMOTE_PROC_DOMAIN_DEFINE_XML = 11,
        REMOTE_PROC_DOMAIN_DESTROY = 12,
        REMOTE_PROC_DOMAIN_DETACH_DEVICE = 13,
        REMOTE_PROC_DOMAIN_DUMP_XML = 14,
        REMOTE_PROC_DOMAIN_GET_AUTOSTART = 15,
        REMOTE_PROC_DOMAIN_GET_INFO = 16,
        REMOTE_PROC_DOMAIN_GET_MAX_MEMORY = 17,
        REMOTE_PROC_DOMAIN_GET_MAX_VCPUS = 18,
        REMOTE_PROC_DOMAIN_GET_OS_TYPE = 19,
        REMOTE_PROC_DOMAIN_GET_VCPUS = 20,
        REMOTE_PROC_LIST_DEFINED_DOMAINS = 21,
        REMOTE_PROC_DOMAIN_LOOKUP_BY_ID = 22,
        REMOTE_PROC_DOMAIN_LOOKUP_BY_NAME = 23,
        REMOTE_PROC_DOMAIN_LOOKUP_BY_UUID = 24,
        REMOTE_PROC_NUM_OF_DEFINED_DOMAINS = 25,
        REMOTE_PROC_DOMAIN_PIN_VCPU = 26,
        REMOTE_PROC_DOMAIN_REBOOT = 27,
        REMOTE_PROC_DOMAIN_RESUME = 28,
        REMOTE_PROC_DOMAIN_SET_AUTOSTART = 29,
        REMOTE_PROC_DOMAIN_SET_MAX_MEMORY = 30,
        REMOTE_PROC_DOMAIN_SET_MEMORY = 31,
        REMOTE_PROC_DOMAIN_SET_VCPUS = 32,
        REMOTE_PROC_DOMAIN_SHUTDOWN = 33,
        REMOTE_PROC_DOMAIN_SUSPEND = 34,
        REMOTE_PROC_DOMAIN_UNDEFINE = 35,
        REMOTE_PROC_LIST_DEFINED_NETWORKS = 36,
        REMOTE_PROC_LIST_DOMAINS = 37,
        REMOTE_PROC_LIST_NETWORKS = 38,
        REMOTE_PROC_NETWORK_CREATE = 39,
        REMOTE_PROC_NETWORK_CREATE_XML = 40,
        REMOTE_PROC_NETWORK_DEFINE_XML = 41,
        REMOTE_PROC_NETWORK_DESTROY = 42,
        REMOTE_PROC_NETWORK_DUMP_XML = 43,
        REMOTE_PROC_NETWORK_GET_AUTOSTART = 44,
        REMOTE_PROC_NETWORK_GET_BRIDGE_NAME = 45,
        REMOTE_PROC_NETWORK_LOOKUP_BY_NAME = 46,
        REMOTE_PROC_NETWORK_LOOKUP_BY_UUID = 47,
        REMOTE_PROC_NETWORK_SET_AUTOSTART = 48,
        REMOTE_PROC_NETWORK_UNDEFINE = 49,
        REMOTE_PROC_NUM_OF_DEFINED_NETWORKS = 50,
        REMOTE_PROC_NUM_OF_DOMAINS = 51,
        REMOTE_PROC_NUM_OF_NETWORKS = 52,
        REMOTE_PROC_DOMAIN_CORE_DUMP = 53,
        REMOTE_PROC_DOMAIN_RESTORE = 54,
        REMOTE_PROC_DOMAIN_SAVE = 55,
        REMOTE_PROC_DOMAIN_GET_SCHEDULER_TYPE = 56,
        REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS = 57,
        REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS = 58,
        REMOTE_PROC_GET_HOSTNAME = 59,
        REMOTE_PROC_SUPPORTS_FEATURE = 60,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE = 61,
        REMOTE_PROC_DOMAIN_MIGRATE_PERFORM = 62,
        REMOTE_PROC_DOMAIN_MIGRATE_FINISH = 63,
        REMOTE_PROC_DOMAIN_BLOCK_STATS = 64,
        REMOTE_PROC_DOMAIN_INTERFACE_STATS = 65,
        REMOTE_PROC_AUTH_LIST = 66,
        REMOTE_PROC_AUTH_SASL_INIT = 67,
        REMOTE_PROC_AUTH_SASL_START = 68,
        REMOTE_PROC_AUTH_SASL_STEP = 69,
        REMOTE_PROC_AUTH_POLKIT = 70,
        REMOTE_PROC_NUM_OF_STORAGE_POOLS = 71,
        REMOTE_PROC_LIST_STORAGE_POOLS = 72,
        REMOTE_PROC_NUM_OF_DEFINED_STORAGE_POOLS = 73,
        REMOTE_PROC_LIST_DEFINED_STORAGE_POOLS = 74,
1759
        REMOTE_PROC_FIND_STORAGE_POOL_SOURCES = 75,
1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784
        REMOTE_PROC_STORAGE_POOL_CREATE_XML = 76,
        REMOTE_PROC_STORAGE_POOL_DEFINE_XML = 77,
        REMOTE_PROC_STORAGE_POOL_CREATE = 78,
        REMOTE_PROC_STORAGE_POOL_BUILD = 79,
        REMOTE_PROC_STORAGE_POOL_DESTROY = 80,
        REMOTE_PROC_STORAGE_POOL_DELETE = 81,
        REMOTE_PROC_STORAGE_POOL_UNDEFINE = 82,
        REMOTE_PROC_STORAGE_POOL_REFRESH = 83,
        REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_NAME = 84,
        REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_UUID = 85,
        REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_VOLUME = 86,
        REMOTE_PROC_STORAGE_POOL_GET_INFO = 87,
        REMOTE_PROC_STORAGE_POOL_DUMP_XML = 88,
        REMOTE_PROC_STORAGE_POOL_GET_AUTOSTART = 89,
        REMOTE_PROC_STORAGE_POOL_SET_AUTOSTART = 90,
        REMOTE_PROC_STORAGE_POOL_NUM_OF_VOLUMES = 91,
        REMOTE_PROC_STORAGE_POOL_LIST_VOLUMES = 92,
        REMOTE_PROC_STORAGE_VOL_CREATE_XML = 93,
        REMOTE_PROC_STORAGE_VOL_DELETE = 94,
        REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_NAME = 95,
        REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_KEY = 96,
        REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_PATH = 97,
        REMOTE_PROC_STORAGE_VOL_GET_INFO = 98,
        REMOTE_PROC_STORAGE_VOL_DUMP_XML = 99,
        REMOTE_PROC_STORAGE_VOL_GET_PATH = 100,
1785 1786
        REMOTE_PROC_NODE_GET_CELLS_FREE_MEMORY = 101,
        REMOTE_PROC_NODE_GET_FREE_MEMORY = 102,
1787
        REMOTE_PROC_DOMAIN_BLOCK_PEEK = 103,
R
Richard W.M. Jones 已提交
1788
        REMOTE_PROC_DOMAIN_MEMORY_PEEK = 104,
1789 1790 1791
        REMOTE_PROC_DOMAIN_EVENTS_REGISTER = 105,
        REMOTE_PROC_DOMAIN_EVENTS_DEREGISTER = 106,
        REMOTE_PROC_DOMAIN_EVENT = 107,
D
Daniel Veillard 已提交
1792 1793
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE2 = 108,
        REMOTE_PROC_DOMAIN_MIGRATE_FINISH2 = 109,
1794
        REMOTE_PROC_GET_URI = 110,
1795 1796 1797 1798 1799 1800 1801
        REMOTE_PROC_NODE_NUM_OF_DEVICES = 111,
        REMOTE_PROC_NODE_LIST_DEVICES = 112,
        REMOTE_PROC_NODE_DEVICE_LOOKUP_BY_NAME = 113,
        REMOTE_PROC_NODE_DEVICE_DUMP_XML = 114,
        REMOTE_PROC_NODE_DEVICE_GET_PARENT = 115,
        REMOTE_PROC_NODE_DEVICE_NUM_OF_CAPS = 116,
        REMOTE_PROC_NODE_DEVICE_LIST_CAPS = 117,
1802 1803 1804
        REMOTE_PROC_NODE_DEVICE_DETTACH = 118,
        REMOTE_PROC_NODE_DEVICE_RE_ATTACH = 119,
        REMOTE_PROC_NODE_DEVICE_RESET = 120,
1805 1806
        REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL = 121,
        REMOTE_PROC_NODE_GET_SECURITY_MODEL = 122,
1807 1808
        REMOTE_PROC_NODE_DEVICE_CREATE_XML = 123,
        REMOTE_PROC_NODE_DEVICE_DESTROY = 124,
1809
        REMOTE_PROC_STORAGE_VOL_CREATE_XML_FROM = 125,
D
Daniel Veillard 已提交
1810 1811 1812 1813 1814 1815 1816 1817 1818
        REMOTE_PROC_NUM_OF_INTERFACES = 126,
        REMOTE_PROC_LIST_INTERFACES = 127,
        REMOTE_PROC_INTERFACE_LOOKUP_BY_NAME = 128,
        REMOTE_PROC_INTERFACE_LOOKUP_BY_MAC_STRING = 129,
        REMOTE_PROC_INTERFACE_GET_XML_DESC = 130,
        REMOTE_PROC_INTERFACE_DEFINE_XML = 131,
        REMOTE_PROC_INTERFACE_UNDEFINE = 132,
        REMOTE_PROC_INTERFACE_CREATE = 133,
        REMOTE_PROC_INTERFACE_DESTROY = 134,
1819 1820
        REMOTE_PROC_DOMAIN_XML_FROM_NATIVE = 135,
        REMOTE_PROC_DOMAIN_XML_TO_NATIVE = 136,
1821 1822
        REMOTE_PROC_NUM_OF_DEFINED_INTERFACES = 137,
        REMOTE_PROC_LIST_DEFINED_INTERFACES = 138,
1823 1824
        REMOTE_PROC_NUM_OF_SECRETS = 139,
        REMOTE_PROC_LIST_SECRETS = 140,
1825
        REMOTE_PROC_SECRET_LOOKUP_BY_UUID = 141,
1826 1827 1828 1829 1830
        REMOTE_PROC_SECRET_DEFINE_XML = 142,
        REMOTE_PROC_SECRET_GET_XML_DESC = 143,
        REMOTE_PROC_SECRET_SET_VALUE = 144,
        REMOTE_PROC_SECRET_GET_VALUE = 145,
        REMOTE_PROC_SECRET_UNDEFINE = 146,
1831
        REMOTE_PROC_SECRET_LOOKUP_BY_USAGE = 147,
C
Chris Lalancette 已提交
1832
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL = 148,
1833 1834 1835 1836 1837 1838 1839 1840
        REMOTE_PROC_IS_SECURE = 149,
        REMOTE_PROC_DOMAIN_IS_ACTIVE = 150,
        REMOTE_PROC_DOMAIN_IS_PERSISTENT = 151,
        REMOTE_PROC_NETWORK_IS_ACTIVE = 152,
        REMOTE_PROC_NETWORK_IS_PERSISTENT = 153,
        REMOTE_PROC_STORAGE_POOL_IS_ACTIVE = 154,
        REMOTE_PROC_STORAGE_POOL_IS_PERSISTENT = 155,
        REMOTE_PROC_INTERFACE_IS_ACTIVE = 156,
1841
        REMOTE_PROC_GET_LIB_VERSION = 157,
1842
        REMOTE_PROC_CPU_COMPARE = 158,
1843
        REMOTE_PROC_DOMAIN_MEMORY_STATS = 159,
1844 1845
        REMOTE_PROC_DOMAIN_ATTACH_DEVICE_FLAGS = 160,
        REMOTE_PROC_DOMAIN_DETACH_DEVICE_FLAGS = 161,
1846
        REMOTE_PROC_CPU_BASELINE = 162,
1847 1848 1849
};
typedef enum remote_procedure remote_procedure;

1850
enum remote_message_type {
1851 1852 1853
        REMOTE_CALL = 0,
        REMOTE_REPLY = 1,
        REMOTE_MESSAGE = 2,
1854
        REMOTE_STREAM = 3,
1855
};
1856
typedef enum remote_message_type remote_message_type;
1857 1858

enum remote_message_status {
1859 1860
        REMOTE_OK = 0,
        REMOTE_ERROR = 1,
1861
        REMOTE_CONTINUE = 2,
1862 1863
};
typedef enum remote_message_status remote_message_status;
1864
#define REMOTE_MESSAGE_HEADER_XDR_LEN 4
1865 1866

struct remote_message_header {
1867 1868 1869
        u_int prog;
        u_int vers;
        remote_procedure proc;
1870
        remote_message_type type;
1871 1872
        u_int serial;
        remote_message_status status;
1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883
};
typedef struct remote_message_header remote_message_header;

/* the xdr functions */

#if defined(__STDC__) || defined(__cplusplus)
extern  bool_t xdr_remote_nonnull_string (XDR *, remote_nonnull_string*);
extern  bool_t xdr_remote_string (XDR *, remote_string*);
extern  bool_t xdr_remote_uuid (XDR *, remote_uuid);
extern  bool_t xdr_remote_nonnull_domain (XDR *, remote_nonnull_domain*);
extern  bool_t xdr_remote_nonnull_network (XDR *, remote_nonnull_network*);
D
Daniel Veillard 已提交
1884
extern  bool_t xdr_remote_nonnull_interface (XDR *, remote_nonnull_interface*);
1885 1886
extern  bool_t xdr_remote_nonnull_storage_pool (XDR *, remote_nonnull_storage_pool*);
extern  bool_t xdr_remote_nonnull_storage_vol (XDR *, remote_nonnull_storage_vol*);
1887
extern  bool_t xdr_remote_nonnull_node_device (XDR *, remote_nonnull_node_device*);
1888
extern  bool_t xdr_remote_nonnull_secret (XDR *, remote_nonnull_secret*);
1889 1890
extern  bool_t xdr_remote_domain (XDR *, remote_domain*);
extern  bool_t xdr_remote_network (XDR *, remote_network*);
1891 1892
extern  bool_t xdr_remote_storage_pool (XDR *, remote_storage_pool*);
extern  bool_t xdr_remote_storage_vol (XDR *, remote_storage_vol*);
1893
extern  bool_t xdr_remote_node_device (XDR *, remote_node_device*);
1894
extern  bool_t xdr_remote_error (XDR *, remote_error*);
1895
extern  bool_t xdr_remote_auth_type (XDR *, remote_auth_type*);
1896
extern  bool_t xdr_remote_vcpu_info (XDR *, remote_vcpu_info*);
1897 1898
extern  bool_t xdr_remote_sched_param_value (XDR *, remote_sched_param_value*);
extern  bool_t xdr_remote_sched_param (XDR *, remote_sched_param*);
1899
extern  bool_t xdr_remote_open_args (XDR *, remote_open_args*);
1900 1901
extern  bool_t xdr_remote_supports_feature_args (XDR *, remote_supports_feature_args*);
extern  bool_t xdr_remote_supports_feature_ret (XDR *, remote_supports_feature_ret*);
1902 1903
extern  bool_t xdr_remote_get_type_ret (XDR *, remote_get_type_ret*);
extern  bool_t xdr_remote_get_version_ret (XDR *, remote_get_version_ret*);
1904
extern  bool_t xdr_remote_get_lib_version_ret (XDR *, remote_get_lib_version_ret*);
1905
extern  bool_t xdr_remote_get_hostname_ret (XDR *, remote_get_hostname_ret*);
1906
extern  bool_t xdr_remote_get_uri_ret (XDR *, remote_get_uri_ret*);
1907 1908 1909 1910
extern  bool_t xdr_remote_get_max_vcpus_args (XDR *, remote_get_max_vcpus_args*);
extern  bool_t xdr_remote_get_max_vcpus_ret (XDR *, remote_get_max_vcpus_ret*);
extern  bool_t xdr_remote_node_get_info_ret (XDR *, remote_node_get_info_ret*);
extern  bool_t xdr_remote_get_capabilities_ret (XDR *, remote_get_capabilities_ret*);
1911 1912 1913
extern  bool_t xdr_remote_node_get_cells_free_memory_args (XDR *, remote_node_get_cells_free_memory_args*);
extern  bool_t xdr_remote_node_get_cells_free_memory_ret (XDR *, remote_node_get_cells_free_memory_ret*);
extern  bool_t xdr_remote_node_get_free_memory_ret (XDR *, remote_node_get_free_memory_ret*);
1914 1915 1916 1917 1918
extern  bool_t xdr_remote_domain_get_scheduler_type_args (XDR *, remote_domain_get_scheduler_type_args*);
extern  bool_t xdr_remote_domain_get_scheduler_type_ret (XDR *, remote_domain_get_scheduler_type_ret*);
extern  bool_t xdr_remote_domain_get_scheduler_parameters_args (XDR *, remote_domain_get_scheduler_parameters_args*);
extern  bool_t xdr_remote_domain_get_scheduler_parameters_ret (XDR *, remote_domain_get_scheduler_parameters_ret*);
extern  bool_t xdr_remote_domain_set_scheduler_parameters_args (XDR *, remote_domain_set_scheduler_parameters_args*);
1919 1920 1921 1922
extern  bool_t xdr_remote_domain_block_stats_args (XDR *, remote_domain_block_stats_args*);
extern  bool_t xdr_remote_domain_block_stats_ret (XDR *, remote_domain_block_stats_ret*);
extern  bool_t xdr_remote_domain_interface_stats_args (XDR *, remote_domain_interface_stats_args*);
extern  bool_t xdr_remote_domain_interface_stats_ret (XDR *, remote_domain_interface_stats_ret*);
1923 1924 1925
extern  bool_t xdr_remote_domain_memory_stats_args (XDR *, remote_domain_memory_stats_args*);
extern  bool_t xdr_remote_domain_memory_stat (XDR *, remote_domain_memory_stat*);
extern  bool_t xdr_remote_domain_memory_stats_ret (XDR *, remote_domain_memory_stats_ret*);
1926 1927
extern  bool_t xdr_remote_domain_block_peek_args (XDR *, remote_domain_block_peek_args*);
extern  bool_t xdr_remote_domain_block_peek_ret (XDR *, remote_domain_block_peek_ret*);
R
Richard W.M. Jones 已提交
1928 1929
extern  bool_t xdr_remote_domain_memory_peek_args (XDR *, remote_domain_memory_peek_args*);
extern  bool_t xdr_remote_domain_memory_peek_ret (XDR *, remote_domain_memory_peek_ret*);
1930 1931 1932
extern  bool_t xdr_remote_list_domains_args (XDR *, remote_list_domains_args*);
extern  bool_t xdr_remote_list_domains_ret (XDR *, remote_list_domains_ret*);
extern  bool_t xdr_remote_num_of_domains_ret (XDR *, remote_num_of_domains_ret*);
1933 1934
extern  bool_t xdr_remote_domain_create_xml_args (XDR *, remote_domain_create_xml_args*);
extern  bool_t xdr_remote_domain_create_xml_ret (XDR *, remote_domain_create_xml_ret*);
1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958
extern  bool_t xdr_remote_domain_lookup_by_id_args (XDR *, remote_domain_lookup_by_id_args*);
extern  bool_t xdr_remote_domain_lookup_by_id_ret (XDR *, remote_domain_lookup_by_id_ret*);
extern  bool_t xdr_remote_domain_lookup_by_uuid_args (XDR *, remote_domain_lookup_by_uuid_args*);
extern  bool_t xdr_remote_domain_lookup_by_uuid_ret (XDR *, remote_domain_lookup_by_uuid_ret*);
extern  bool_t xdr_remote_domain_lookup_by_name_args (XDR *, remote_domain_lookup_by_name_args*);
extern  bool_t xdr_remote_domain_lookup_by_name_ret (XDR *, remote_domain_lookup_by_name_ret*);
extern  bool_t xdr_remote_domain_suspend_args (XDR *, remote_domain_suspend_args*);
extern  bool_t xdr_remote_domain_resume_args (XDR *, remote_domain_resume_args*);
extern  bool_t xdr_remote_domain_shutdown_args (XDR *, remote_domain_shutdown_args*);
extern  bool_t xdr_remote_domain_reboot_args (XDR *, remote_domain_reboot_args*);
extern  bool_t xdr_remote_domain_destroy_args (XDR *, remote_domain_destroy_args*);
extern  bool_t xdr_remote_domain_get_os_type_args (XDR *, remote_domain_get_os_type_args*);
extern  bool_t xdr_remote_domain_get_os_type_ret (XDR *, remote_domain_get_os_type_ret*);
extern  bool_t xdr_remote_domain_get_max_memory_args (XDR *, remote_domain_get_max_memory_args*);
extern  bool_t xdr_remote_domain_get_max_memory_ret (XDR *, remote_domain_get_max_memory_ret*);
extern  bool_t xdr_remote_domain_set_max_memory_args (XDR *, remote_domain_set_max_memory_args*);
extern  bool_t xdr_remote_domain_set_memory_args (XDR *, remote_domain_set_memory_args*);
extern  bool_t xdr_remote_domain_get_info_args (XDR *, remote_domain_get_info_args*);
extern  bool_t xdr_remote_domain_get_info_ret (XDR *, remote_domain_get_info_ret*);
extern  bool_t xdr_remote_domain_save_args (XDR *, remote_domain_save_args*);
extern  bool_t xdr_remote_domain_restore_args (XDR *, remote_domain_restore_args*);
extern  bool_t xdr_remote_domain_core_dump_args (XDR *, remote_domain_core_dump_args*);
extern  bool_t xdr_remote_domain_dump_xml_args (XDR *, remote_domain_dump_xml_args*);
extern  bool_t xdr_remote_domain_dump_xml_ret (XDR *, remote_domain_dump_xml_ret*);
1959 1960 1961 1962 1963
extern  bool_t xdr_remote_domain_migrate_prepare_args (XDR *, remote_domain_migrate_prepare_args*);
extern  bool_t xdr_remote_domain_migrate_prepare_ret (XDR *, remote_domain_migrate_prepare_ret*);
extern  bool_t xdr_remote_domain_migrate_perform_args (XDR *, remote_domain_migrate_perform_args*);
extern  bool_t xdr_remote_domain_migrate_finish_args (XDR *, remote_domain_migrate_finish_args*);
extern  bool_t xdr_remote_domain_migrate_finish_ret (XDR *, remote_domain_migrate_finish_ret*);
D
Daniel Veillard 已提交
1964 1965 1966 1967
extern  bool_t xdr_remote_domain_migrate_prepare2_args (XDR *, remote_domain_migrate_prepare2_args*);
extern  bool_t xdr_remote_domain_migrate_prepare2_ret (XDR *, remote_domain_migrate_prepare2_ret*);
extern  bool_t xdr_remote_domain_migrate_finish2_args (XDR *, remote_domain_migrate_finish2_args*);
extern  bool_t xdr_remote_domain_migrate_finish2_ret (XDR *, remote_domain_migrate_finish2_ret*);
1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980
extern  bool_t xdr_remote_list_defined_domains_args (XDR *, remote_list_defined_domains_args*);
extern  bool_t xdr_remote_list_defined_domains_ret (XDR *, remote_list_defined_domains_ret*);
extern  bool_t xdr_remote_num_of_defined_domains_ret (XDR *, remote_num_of_defined_domains_ret*);
extern  bool_t xdr_remote_domain_create_args (XDR *, remote_domain_create_args*);
extern  bool_t xdr_remote_domain_define_xml_args (XDR *, remote_domain_define_xml_args*);
extern  bool_t xdr_remote_domain_define_xml_ret (XDR *, remote_domain_define_xml_ret*);
extern  bool_t xdr_remote_domain_undefine_args (XDR *, remote_domain_undefine_args*);
extern  bool_t xdr_remote_domain_set_vcpus_args (XDR *, remote_domain_set_vcpus_args*);
extern  bool_t xdr_remote_domain_pin_vcpu_args (XDR *, remote_domain_pin_vcpu_args*);
extern  bool_t xdr_remote_domain_get_vcpus_args (XDR *, remote_domain_get_vcpus_args*);
extern  bool_t xdr_remote_domain_get_vcpus_ret (XDR *, remote_domain_get_vcpus_ret*);
extern  bool_t xdr_remote_domain_get_max_vcpus_args (XDR *, remote_domain_get_max_vcpus_args*);
extern  bool_t xdr_remote_domain_get_max_vcpus_ret (XDR *, remote_domain_get_max_vcpus_ret*);
1981 1982 1983
extern  bool_t xdr_remote_domain_get_security_label_args (XDR *, remote_domain_get_security_label_args*);
extern  bool_t xdr_remote_domain_get_security_label_ret (XDR *, remote_domain_get_security_label_ret*);
extern  bool_t xdr_remote_node_get_security_model_ret (XDR *, remote_node_get_security_model_ret*);
1984
extern  bool_t xdr_remote_domain_attach_device_args (XDR *, remote_domain_attach_device_args*);
1985
extern  bool_t xdr_remote_domain_attach_device_flags_args (XDR *, remote_domain_attach_device_flags_args*);
1986
extern  bool_t xdr_remote_domain_detach_device_args (XDR *, remote_domain_detach_device_args*);
1987
extern  bool_t xdr_remote_domain_detach_device_flags_args (XDR *, remote_domain_detach_device_flags_args*);
1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014
extern  bool_t xdr_remote_domain_get_autostart_args (XDR *, remote_domain_get_autostart_args*);
extern  bool_t xdr_remote_domain_get_autostart_ret (XDR *, remote_domain_get_autostart_ret*);
extern  bool_t xdr_remote_domain_set_autostart_args (XDR *, remote_domain_set_autostart_args*);
extern  bool_t xdr_remote_num_of_networks_ret (XDR *, remote_num_of_networks_ret*);
extern  bool_t xdr_remote_list_networks_args (XDR *, remote_list_networks_args*);
extern  bool_t xdr_remote_list_networks_ret (XDR *, remote_list_networks_ret*);
extern  bool_t xdr_remote_num_of_defined_networks_ret (XDR *, remote_num_of_defined_networks_ret*);
extern  bool_t xdr_remote_list_defined_networks_args (XDR *, remote_list_defined_networks_args*);
extern  bool_t xdr_remote_list_defined_networks_ret (XDR *, remote_list_defined_networks_ret*);
extern  bool_t xdr_remote_network_lookup_by_uuid_args (XDR *, remote_network_lookup_by_uuid_args*);
extern  bool_t xdr_remote_network_lookup_by_uuid_ret (XDR *, remote_network_lookup_by_uuid_ret*);
extern  bool_t xdr_remote_network_lookup_by_name_args (XDR *, remote_network_lookup_by_name_args*);
extern  bool_t xdr_remote_network_lookup_by_name_ret (XDR *, remote_network_lookup_by_name_ret*);
extern  bool_t xdr_remote_network_create_xml_args (XDR *, remote_network_create_xml_args*);
extern  bool_t xdr_remote_network_create_xml_ret (XDR *, remote_network_create_xml_ret*);
extern  bool_t xdr_remote_network_define_xml_args (XDR *, remote_network_define_xml_args*);
extern  bool_t xdr_remote_network_define_xml_ret (XDR *, remote_network_define_xml_ret*);
extern  bool_t xdr_remote_network_undefine_args (XDR *, remote_network_undefine_args*);
extern  bool_t xdr_remote_network_create_args (XDR *, remote_network_create_args*);
extern  bool_t xdr_remote_network_destroy_args (XDR *, remote_network_destroy_args*);
extern  bool_t xdr_remote_network_dump_xml_args (XDR *, remote_network_dump_xml_args*);
extern  bool_t xdr_remote_network_dump_xml_ret (XDR *, remote_network_dump_xml_ret*);
extern  bool_t xdr_remote_network_get_bridge_name_args (XDR *, remote_network_get_bridge_name_args*);
extern  bool_t xdr_remote_network_get_bridge_name_ret (XDR *, remote_network_get_bridge_name_ret*);
extern  bool_t xdr_remote_network_get_autostart_args (XDR *, remote_network_get_autostart_args*);
extern  bool_t xdr_remote_network_get_autostart_ret (XDR *, remote_network_get_autostart_ret*);
extern  bool_t xdr_remote_network_set_autostart_args (XDR *, remote_network_set_autostart_args*);
D
Daniel Veillard 已提交
2015 2016 2017
extern  bool_t xdr_remote_num_of_interfaces_ret (XDR *, remote_num_of_interfaces_ret*);
extern  bool_t xdr_remote_list_interfaces_args (XDR *, remote_list_interfaces_args*);
extern  bool_t xdr_remote_list_interfaces_ret (XDR *, remote_list_interfaces_ret*);
2018 2019 2020
extern  bool_t xdr_remote_num_of_defined_interfaces_ret (XDR *, remote_num_of_defined_interfaces_ret*);
extern  bool_t xdr_remote_list_defined_interfaces_args (XDR *, remote_list_defined_interfaces_args*);
extern  bool_t xdr_remote_list_defined_interfaces_ret (XDR *, remote_list_defined_interfaces_ret*);
D
Daniel Veillard 已提交
2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031
extern  bool_t xdr_remote_interface_lookup_by_name_args (XDR *, remote_interface_lookup_by_name_args*);
extern  bool_t xdr_remote_interface_lookup_by_name_ret (XDR *, remote_interface_lookup_by_name_ret*);
extern  bool_t xdr_remote_interface_lookup_by_mac_string_args (XDR *, remote_interface_lookup_by_mac_string_args*);
extern  bool_t xdr_remote_interface_lookup_by_mac_string_ret (XDR *, remote_interface_lookup_by_mac_string_ret*);
extern  bool_t xdr_remote_interface_get_xml_desc_args (XDR *, remote_interface_get_xml_desc_args*);
extern  bool_t xdr_remote_interface_get_xml_desc_ret (XDR *, remote_interface_get_xml_desc_ret*);
extern  bool_t xdr_remote_interface_define_xml_args (XDR *, remote_interface_define_xml_args*);
extern  bool_t xdr_remote_interface_define_xml_ret (XDR *, remote_interface_define_xml_ret*);
extern  bool_t xdr_remote_interface_undefine_args (XDR *, remote_interface_undefine_args*);
extern  bool_t xdr_remote_interface_create_args (XDR *, remote_interface_create_args*);
extern  bool_t xdr_remote_interface_destroy_args (XDR *, remote_interface_destroy_args*);
2032 2033 2034 2035 2036 2037
extern  bool_t xdr_remote_auth_list_ret (XDR *, remote_auth_list_ret*);
extern  bool_t xdr_remote_auth_sasl_init_ret (XDR *, remote_auth_sasl_init_ret*);
extern  bool_t xdr_remote_auth_sasl_start_args (XDR *, remote_auth_sasl_start_args*);
extern  bool_t xdr_remote_auth_sasl_start_ret (XDR *, remote_auth_sasl_start_ret*);
extern  bool_t xdr_remote_auth_sasl_step_args (XDR *, remote_auth_sasl_step_args*);
extern  bool_t xdr_remote_auth_sasl_step_ret (XDR *, remote_auth_sasl_step_ret*);
2038
extern  bool_t xdr_remote_auth_polkit_ret (XDR *, remote_auth_polkit_ret*);
2039 2040 2041 2042 2043 2044
extern  bool_t xdr_remote_num_of_storage_pools_ret (XDR *, remote_num_of_storage_pools_ret*);
extern  bool_t xdr_remote_list_storage_pools_args (XDR *, remote_list_storage_pools_args*);
extern  bool_t xdr_remote_list_storage_pools_ret (XDR *, remote_list_storage_pools_ret*);
extern  bool_t xdr_remote_num_of_defined_storage_pools_ret (XDR *, remote_num_of_defined_storage_pools_ret*);
extern  bool_t xdr_remote_list_defined_storage_pools_args (XDR *, remote_list_defined_storage_pools_args*);
extern  bool_t xdr_remote_list_defined_storage_pools_ret (XDR *, remote_list_defined_storage_pools_ret*);
2045 2046
extern  bool_t xdr_remote_find_storage_pool_sources_args (XDR *, remote_find_storage_pool_sources_args*);
extern  bool_t xdr_remote_find_storage_pool_sources_ret (XDR *, remote_find_storage_pool_sources_ret*);
2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081
extern  bool_t xdr_remote_storage_pool_lookup_by_uuid_args (XDR *, remote_storage_pool_lookup_by_uuid_args*);
extern  bool_t xdr_remote_storage_pool_lookup_by_uuid_ret (XDR *, remote_storage_pool_lookup_by_uuid_ret*);
extern  bool_t xdr_remote_storage_pool_lookup_by_name_args (XDR *, remote_storage_pool_lookup_by_name_args*);
extern  bool_t xdr_remote_storage_pool_lookup_by_name_ret (XDR *, remote_storage_pool_lookup_by_name_ret*);
extern  bool_t xdr_remote_storage_pool_lookup_by_volume_args (XDR *, remote_storage_pool_lookup_by_volume_args*);
extern  bool_t xdr_remote_storage_pool_lookup_by_volume_ret (XDR *, remote_storage_pool_lookup_by_volume_ret*);
extern  bool_t xdr_remote_storage_pool_create_xml_args (XDR *, remote_storage_pool_create_xml_args*);
extern  bool_t xdr_remote_storage_pool_create_xml_ret (XDR *, remote_storage_pool_create_xml_ret*);
extern  bool_t xdr_remote_storage_pool_define_xml_args (XDR *, remote_storage_pool_define_xml_args*);
extern  bool_t xdr_remote_storage_pool_define_xml_ret (XDR *, remote_storage_pool_define_xml_ret*);
extern  bool_t xdr_remote_storage_pool_build_args (XDR *, remote_storage_pool_build_args*);
extern  bool_t xdr_remote_storage_pool_undefine_args (XDR *, remote_storage_pool_undefine_args*);
extern  bool_t xdr_remote_storage_pool_create_args (XDR *, remote_storage_pool_create_args*);
extern  bool_t xdr_remote_storage_pool_destroy_args (XDR *, remote_storage_pool_destroy_args*);
extern  bool_t xdr_remote_storage_pool_delete_args (XDR *, remote_storage_pool_delete_args*);
extern  bool_t xdr_remote_storage_pool_refresh_args (XDR *, remote_storage_pool_refresh_args*);
extern  bool_t xdr_remote_storage_pool_dump_xml_args (XDR *, remote_storage_pool_dump_xml_args*);
extern  bool_t xdr_remote_storage_pool_dump_xml_ret (XDR *, remote_storage_pool_dump_xml_ret*);
extern  bool_t xdr_remote_storage_pool_get_info_args (XDR *, remote_storage_pool_get_info_args*);
extern  bool_t xdr_remote_storage_pool_get_info_ret (XDR *, remote_storage_pool_get_info_ret*);
extern  bool_t xdr_remote_storage_pool_get_autostart_args (XDR *, remote_storage_pool_get_autostart_args*);
extern  bool_t xdr_remote_storage_pool_get_autostart_ret (XDR *, remote_storage_pool_get_autostart_ret*);
extern  bool_t xdr_remote_storage_pool_set_autostart_args (XDR *, remote_storage_pool_set_autostart_args*);
extern  bool_t xdr_remote_storage_pool_num_of_volumes_args (XDR *, remote_storage_pool_num_of_volumes_args*);
extern  bool_t xdr_remote_storage_pool_num_of_volumes_ret (XDR *, remote_storage_pool_num_of_volumes_ret*);
extern  bool_t xdr_remote_storage_pool_list_volumes_args (XDR *, remote_storage_pool_list_volumes_args*);
extern  bool_t xdr_remote_storage_pool_list_volumes_ret (XDR *, remote_storage_pool_list_volumes_ret*);
extern  bool_t xdr_remote_storage_vol_lookup_by_name_args (XDR *, remote_storage_vol_lookup_by_name_args*);
extern  bool_t xdr_remote_storage_vol_lookup_by_name_ret (XDR *, remote_storage_vol_lookup_by_name_ret*);
extern  bool_t xdr_remote_storage_vol_lookup_by_key_args (XDR *, remote_storage_vol_lookup_by_key_args*);
extern  bool_t xdr_remote_storage_vol_lookup_by_key_ret (XDR *, remote_storage_vol_lookup_by_key_ret*);
extern  bool_t xdr_remote_storage_vol_lookup_by_path_args (XDR *, remote_storage_vol_lookup_by_path_args*);
extern  bool_t xdr_remote_storage_vol_lookup_by_path_ret (XDR *, remote_storage_vol_lookup_by_path_ret*);
extern  bool_t xdr_remote_storage_vol_create_xml_args (XDR *, remote_storage_vol_create_xml_args*);
extern  bool_t xdr_remote_storage_vol_create_xml_ret (XDR *, remote_storage_vol_create_xml_ret*);
2082 2083
extern  bool_t xdr_remote_storage_vol_create_xml_from_args (XDR *, remote_storage_vol_create_xml_from_args*);
extern  bool_t xdr_remote_storage_vol_create_xml_from_ret (XDR *, remote_storage_vol_create_xml_from_ret*);
2084 2085 2086 2087 2088 2089 2090
extern  bool_t xdr_remote_storage_vol_delete_args (XDR *, remote_storage_vol_delete_args*);
extern  bool_t xdr_remote_storage_vol_dump_xml_args (XDR *, remote_storage_vol_dump_xml_args*);
extern  bool_t xdr_remote_storage_vol_dump_xml_ret (XDR *, remote_storage_vol_dump_xml_ret*);
extern  bool_t xdr_remote_storage_vol_get_info_args (XDR *, remote_storage_vol_get_info_args*);
extern  bool_t xdr_remote_storage_vol_get_info_ret (XDR *, remote_storage_vol_get_info_ret*);
extern  bool_t xdr_remote_storage_vol_get_path_args (XDR *, remote_storage_vol_get_path_args*);
extern  bool_t xdr_remote_storage_vol_get_path_ret (XDR *, remote_storage_vol_get_path_ret*);
2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104
extern  bool_t xdr_remote_node_num_of_devices_args (XDR *, remote_node_num_of_devices_args*);
extern  bool_t xdr_remote_node_num_of_devices_ret (XDR *, remote_node_num_of_devices_ret*);
extern  bool_t xdr_remote_node_list_devices_args (XDR *, remote_node_list_devices_args*);
extern  bool_t xdr_remote_node_list_devices_ret (XDR *, remote_node_list_devices_ret*);
extern  bool_t xdr_remote_node_device_lookup_by_name_args (XDR *, remote_node_device_lookup_by_name_args*);
extern  bool_t xdr_remote_node_device_lookup_by_name_ret (XDR *, remote_node_device_lookup_by_name_ret*);
extern  bool_t xdr_remote_node_device_dump_xml_args (XDR *, remote_node_device_dump_xml_args*);
extern  bool_t xdr_remote_node_device_dump_xml_ret (XDR *, remote_node_device_dump_xml_ret*);
extern  bool_t xdr_remote_node_device_get_parent_args (XDR *, remote_node_device_get_parent_args*);
extern  bool_t xdr_remote_node_device_get_parent_ret (XDR *, remote_node_device_get_parent_ret*);
extern  bool_t xdr_remote_node_device_num_of_caps_args (XDR *, remote_node_device_num_of_caps_args*);
extern  bool_t xdr_remote_node_device_num_of_caps_ret (XDR *, remote_node_device_num_of_caps_ret*);
extern  bool_t xdr_remote_node_device_list_caps_args (XDR *, remote_node_device_list_caps_args*);
extern  bool_t xdr_remote_node_device_list_caps_ret (XDR *, remote_node_device_list_caps_ret*);
2105 2106 2107
extern  bool_t xdr_remote_node_device_dettach_args (XDR *, remote_node_device_dettach_args*);
extern  bool_t xdr_remote_node_device_re_attach_args (XDR *, remote_node_device_re_attach_args*);
extern  bool_t xdr_remote_node_device_reset_args (XDR *, remote_node_device_reset_args*);
2108 2109 2110
extern  bool_t xdr_remote_node_device_create_xml_args (XDR *, remote_node_device_create_xml_args*);
extern  bool_t xdr_remote_node_device_create_xml_ret (XDR *, remote_node_device_create_xml_ret*);
extern  bool_t xdr_remote_node_device_destroy_args (XDR *, remote_node_device_destroy_args*);
2111 2112
extern  bool_t xdr_remote_domain_events_register_ret (XDR *, remote_domain_events_register_ret*);
extern  bool_t xdr_remote_domain_events_deregister_ret (XDR *, remote_domain_events_deregister_ret*);
2113
extern  bool_t xdr_remote_domain_event_msg (XDR *, remote_domain_event_msg*);
2114 2115 2116 2117
extern  bool_t xdr_remote_domain_xml_from_native_args (XDR *, remote_domain_xml_from_native_args*);
extern  bool_t xdr_remote_domain_xml_from_native_ret (XDR *, remote_domain_xml_from_native_ret*);
extern  bool_t xdr_remote_domain_xml_to_native_args (XDR *, remote_domain_xml_to_native_args*);
extern  bool_t xdr_remote_domain_xml_to_native_ret (XDR *, remote_domain_xml_to_native_ret*);
2118 2119 2120
extern  bool_t xdr_remote_num_of_secrets_ret (XDR *, remote_num_of_secrets_ret*);
extern  bool_t xdr_remote_list_secrets_args (XDR *, remote_list_secrets_args*);
extern  bool_t xdr_remote_list_secrets_ret (XDR *, remote_list_secrets_ret*);
2121 2122
extern  bool_t xdr_remote_secret_lookup_by_uuid_args (XDR *, remote_secret_lookup_by_uuid_args*);
extern  bool_t xdr_remote_secret_lookup_by_uuid_ret (XDR *, remote_secret_lookup_by_uuid_ret*);
2123 2124 2125 2126 2127 2128 2129 2130
extern  bool_t xdr_remote_secret_define_xml_args (XDR *, remote_secret_define_xml_args*);
extern  bool_t xdr_remote_secret_define_xml_ret (XDR *, remote_secret_define_xml_ret*);
extern  bool_t xdr_remote_secret_get_xml_desc_args (XDR *, remote_secret_get_xml_desc_args*);
extern  bool_t xdr_remote_secret_get_xml_desc_ret (XDR *, remote_secret_get_xml_desc_ret*);
extern  bool_t xdr_remote_secret_set_value_args (XDR *, remote_secret_set_value_args*);
extern  bool_t xdr_remote_secret_get_value_args (XDR *, remote_secret_get_value_args*);
extern  bool_t xdr_remote_secret_get_value_ret (XDR *, remote_secret_get_value_ret*);
extern  bool_t xdr_remote_secret_undefine_args (XDR *, remote_secret_undefine_args*);
2131 2132
extern  bool_t xdr_remote_secret_lookup_by_usage_args (XDR *, remote_secret_lookup_by_usage_args*);
extern  bool_t xdr_remote_secret_lookup_by_usage_ret (XDR *, remote_secret_lookup_by_usage_ret*);
C
Chris Lalancette 已提交
2133
extern  bool_t xdr_remote_domain_migrate_prepare_tunnel_args (XDR *, remote_domain_migrate_prepare_tunnel_args*);
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148
extern  bool_t xdr_remote_is_secure_ret (XDR *, remote_is_secure_ret*);
extern  bool_t xdr_remote_domain_is_active_args (XDR *, remote_domain_is_active_args*);
extern  bool_t xdr_remote_domain_is_active_ret (XDR *, remote_domain_is_active_ret*);
extern  bool_t xdr_remote_domain_is_persistent_args (XDR *, remote_domain_is_persistent_args*);
extern  bool_t xdr_remote_domain_is_persistent_ret (XDR *, remote_domain_is_persistent_ret*);
extern  bool_t xdr_remote_network_is_active_args (XDR *, remote_network_is_active_args*);
extern  bool_t xdr_remote_network_is_active_ret (XDR *, remote_network_is_active_ret*);
extern  bool_t xdr_remote_network_is_persistent_args (XDR *, remote_network_is_persistent_args*);
extern  bool_t xdr_remote_network_is_persistent_ret (XDR *, remote_network_is_persistent_ret*);
extern  bool_t xdr_remote_storage_pool_is_active_args (XDR *, remote_storage_pool_is_active_args*);
extern  bool_t xdr_remote_storage_pool_is_active_ret (XDR *, remote_storage_pool_is_active_ret*);
extern  bool_t xdr_remote_storage_pool_is_persistent_args (XDR *, remote_storage_pool_is_persistent_args*);
extern  bool_t xdr_remote_storage_pool_is_persistent_ret (XDR *, remote_storage_pool_is_persistent_ret*);
extern  bool_t xdr_remote_interface_is_active_args (XDR *, remote_interface_is_active_args*);
extern  bool_t xdr_remote_interface_is_active_ret (XDR *, remote_interface_is_active_ret*);
2149 2150
extern  bool_t xdr_remote_cpu_compare_args (XDR *, remote_cpu_compare_args*);
extern  bool_t xdr_remote_cpu_compare_ret (XDR *, remote_cpu_compare_ret*);
2151 2152
extern  bool_t xdr_remote_cpu_baseline_args (XDR *, remote_cpu_baseline_args*);
extern  bool_t xdr_remote_cpu_baseline_ret (XDR *, remote_cpu_baseline_ret*);
2153
extern  bool_t xdr_remote_procedure (XDR *, remote_procedure*);
2154
extern  bool_t xdr_remote_message_type (XDR *, remote_message_type*);
2155 2156 2157 2158 2159 2160 2161 2162 2163
extern  bool_t xdr_remote_message_status (XDR *, remote_message_status*);
extern  bool_t xdr_remote_message_header (XDR *, remote_message_header*);

#else /* K&R C */
extern bool_t xdr_remote_nonnull_string ();
extern bool_t xdr_remote_string ();
extern bool_t xdr_remote_uuid ();
extern bool_t xdr_remote_nonnull_domain ();
extern bool_t xdr_remote_nonnull_network ();
D
Daniel Veillard 已提交
2164
extern bool_t xdr_remote_nonnull_interface ();
2165 2166
extern bool_t xdr_remote_nonnull_storage_pool ();
extern bool_t xdr_remote_nonnull_storage_vol ();
2167
extern bool_t xdr_remote_nonnull_node_device ();
2168
extern bool_t xdr_remote_nonnull_secret ();
2169 2170
extern bool_t xdr_remote_domain ();
extern bool_t xdr_remote_network ();
2171 2172
extern bool_t xdr_remote_storage_pool ();
extern bool_t xdr_remote_storage_vol ();
2173
extern bool_t xdr_remote_node_device ();
2174
extern bool_t xdr_remote_error ();
2175
extern bool_t xdr_remote_auth_type ();
2176
extern bool_t xdr_remote_vcpu_info ();
2177 2178
extern bool_t xdr_remote_sched_param_value ();
extern bool_t xdr_remote_sched_param ();
2179
extern bool_t xdr_remote_open_args ();
2180 2181
extern bool_t xdr_remote_supports_feature_args ();
extern bool_t xdr_remote_supports_feature_ret ();
2182 2183
extern bool_t xdr_remote_get_type_ret ();
extern bool_t xdr_remote_get_version_ret ();
2184
extern bool_t xdr_remote_get_lib_version_ret ();
2185
extern bool_t xdr_remote_get_hostname_ret ();
2186
extern bool_t xdr_remote_get_uri_ret ();
2187 2188 2189 2190
extern bool_t xdr_remote_get_max_vcpus_args ();
extern bool_t xdr_remote_get_max_vcpus_ret ();
extern bool_t xdr_remote_node_get_info_ret ();
extern bool_t xdr_remote_get_capabilities_ret ();
2191 2192 2193
extern bool_t xdr_remote_node_get_cells_free_memory_args ();
extern bool_t xdr_remote_node_get_cells_free_memory_ret ();
extern bool_t xdr_remote_node_get_free_memory_ret ();
2194 2195 2196 2197 2198
extern bool_t xdr_remote_domain_get_scheduler_type_args ();
extern bool_t xdr_remote_domain_get_scheduler_type_ret ();
extern bool_t xdr_remote_domain_get_scheduler_parameters_args ();
extern bool_t xdr_remote_domain_get_scheduler_parameters_ret ();
extern bool_t xdr_remote_domain_set_scheduler_parameters_args ();
2199 2200 2201 2202
extern bool_t xdr_remote_domain_block_stats_args ();
extern bool_t xdr_remote_domain_block_stats_ret ();
extern bool_t xdr_remote_domain_interface_stats_args ();
extern bool_t xdr_remote_domain_interface_stats_ret ();
2203 2204 2205
extern bool_t xdr_remote_domain_memory_stats_args ();
extern bool_t xdr_remote_domain_memory_stat ();
extern bool_t xdr_remote_domain_memory_stats_ret ();
2206 2207
extern bool_t xdr_remote_domain_block_peek_args ();
extern bool_t xdr_remote_domain_block_peek_ret ();
R
Richard W.M. Jones 已提交
2208 2209
extern bool_t xdr_remote_domain_memory_peek_args ();
extern bool_t xdr_remote_domain_memory_peek_ret ();
2210 2211 2212
extern bool_t xdr_remote_list_domains_args ();
extern bool_t xdr_remote_list_domains_ret ();
extern bool_t xdr_remote_num_of_domains_ret ();
2213 2214
extern bool_t xdr_remote_domain_create_xml_args ();
extern bool_t xdr_remote_domain_create_xml_ret ();
2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238
extern bool_t xdr_remote_domain_lookup_by_id_args ();
extern bool_t xdr_remote_domain_lookup_by_id_ret ();
extern bool_t xdr_remote_domain_lookup_by_uuid_args ();
extern bool_t xdr_remote_domain_lookup_by_uuid_ret ();
extern bool_t xdr_remote_domain_lookup_by_name_args ();
extern bool_t xdr_remote_domain_lookup_by_name_ret ();
extern bool_t xdr_remote_domain_suspend_args ();
extern bool_t xdr_remote_domain_resume_args ();
extern bool_t xdr_remote_domain_shutdown_args ();
extern bool_t xdr_remote_domain_reboot_args ();
extern bool_t xdr_remote_domain_destroy_args ();
extern bool_t xdr_remote_domain_get_os_type_args ();
extern bool_t xdr_remote_domain_get_os_type_ret ();
extern bool_t xdr_remote_domain_get_max_memory_args ();
extern bool_t xdr_remote_domain_get_max_memory_ret ();
extern bool_t xdr_remote_domain_set_max_memory_args ();
extern bool_t xdr_remote_domain_set_memory_args ();
extern bool_t xdr_remote_domain_get_info_args ();
extern bool_t xdr_remote_domain_get_info_ret ();
extern bool_t xdr_remote_domain_save_args ();
extern bool_t xdr_remote_domain_restore_args ();
extern bool_t xdr_remote_domain_core_dump_args ();
extern bool_t xdr_remote_domain_dump_xml_args ();
extern bool_t xdr_remote_domain_dump_xml_ret ();
2239 2240 2241 2242 2243
extern bool_t xdr_remote_domain_migrate_prepare_args ();
extern bool_t xdr_remote_domain_migrate_prepare_ret ();
extern bool_t xdr_remote_domain_migrate_perform_args ();
extern bool_t xdr_remote_domain_migrate_finish_args ();
extern bool_t xdr_remote_domain_migrate_finish_ret ();
D
Daniel Veillard 已提交
2244 2245 2246 2247
extern bool_t xdr_remote_domain_migrate_prepare2_args ();
extern bool_t xdr_remote_domain_migrate_prepare2_ret ();
extern bool_t xdr_remote_domain_migrate_finish2_args ();
extern bool_t xdr_remote_domain_migrate_finish2_ret ();
2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260
extern bool_t xdr_remote_list_defined_domains_args ();
extern bool_t xdr_remote_list_defined_domains_ret ();
extern bool_t xdr_remote_num_of_defined_domains_ret ();
extern bool_t xdr_remote_domain_create_args ();
extern bool_t xdr_remote_domain_define_xml_args ();
extern bool_t xdr_remote_domain_define_xml_ret ();
extern bool_t xdr_remote_domain_undefine_args ();
extern bool_t xdr_remote_domain_set_vcpus_args ();
extern bool_t xdr_remote_domain_pin_vcpu_args ();
extern bool_t xdr_remote_domain_get_vcpus_args ();
extern bool_t xdr_remote_domain_get_vcpus_ret ();
extern bool_t xdr_remote_domain_get_max_vcpus_args ();
extern bool_t xdr_remote_domain_get_max_vcpus_ret ();
2261 2262 2263
extern bool_t xdr_remote_domain_get_security_label_args ();
extern bool_t xdr_remote_domain_get_security_label_ret ();
extern bool_t xdr_remote_node_get_security_model_ret ();
2264
extern bool_t xdr_remote_domain_attach_device_args ();
2265
extern bool_t xdr_remote_domain_attach_device_flags_args ();
2266
extern bool_t xdr_remote_domain_detach_device_args ();
2267
extern bool_t xdr_remote_domain_detach_device_flags_args ();
2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294
extern bool_t xdr_remote_domain_get_autostart_args ();
extern bool_t xdr_remote_domain_get_autostart_ret ();
extern bool_t xdr_remote_domain_set_autostart_args ();
extern bool_t xdr_remote_num_of_networks_ret ();
extern bool_t xdr_remote_list_networks_args ();
extern bool_t xdr_remote_list_networks_ret ();
extern bool_t xdr_remote_num_of_defined_networks_ret ();
extern bool_t xdr_remote_list_defined_networks_args ();
extern bool_t xdr_remote_list_defined_networks_ret ();
extern bool_t xdr_remote_network_lookup_by_uuid_args ();
extern bool_t xdr_remote_network_lookup_by_uuid_ret ();
extern bool_t xdr_remote_network_lookup_by_name_args ();
extern bool_t xdr_remote_network_lookup_by_name_ret ();
extern bool_t xdr_remote_network_create_xml_args ();
extern bool_t xdr_remote_network_create_xml_ret ();
extern bool_t xdr_remote_network_define_xml_args ();
extern bool_t xdr_remote_network_define_xml_ret ();
extern bool_t xdr_remote_network_undefine_args ();
extern bool_t xdr_remote_network_create_args ();
extern bool_t xdr_remote_network_destroy_args ();
extern bool_t xdr_remote_network_dump_xml_args ();
extern bool_t xdr_remote_network_dump_xml_ret ();
extern bool_t xdr_remote_network_get_bridge_name_args ();
extern bool_t xdr_remote_network_get_bridge_name_ret ();
extern bool_t xdr_remote_network_get_autostart_args ();
extern bool_t xdr_remote_network_get_autostart_ret ();
extern bool_t xdr_remote_network_set_autostart_args ();
D
Daniel Veillard 已提交
2295 2296 2297
extern bool_t xdr_remote_num_of_interfaces_ret ();
extern bool_t xdr_remote_list_interfaces_args ();
extern bool_t xdr_remote_list_interfaces_ret ();
2298 2299 2300
extern bool_t xdr_remote_num_of_defined_interfaces_ret ();
extern bool_t xdr_remote_list_defined_interfaces_args ();
extern bool_t xdr_remote_list_defined_interfaces_ret ();
D
Daniel Veillard 已提交
2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311
extern bool_t xdr_remote_interface_lookup_by_name_args ();
extern bool_t xdr_remote_interface_lookup_by_name_ret ();
extern bool_t xdr_remote_interface_lookup_by_mac_string_args ();
extern bool_t xdr_remote_interface_lookup_by_mac_string_ret ();
extern bool_t xdr_remote_interface_get_xml_desc_args ();
extern bool_t xdr_remote_interface_get_xml_desc_ret ();
extern bool_t xdr_remote_interface_define_xml_args ();
extern bool_t xdr_remote_interface_define_xml_ret ();
extern bool_t xdr_remote_interface_undefine_args ();
extern bool_t xdr_remote_interface_create_args ();
extern bool_t xdr_remote_interface_destroy_args ();
2312 2313 2314 2315 2316 2317
extern bool_t xdr_remote_auth_list_ret ();
extern bool_t xdr_remote_auth_sasl_init_ret ();
extern bool_t xdr_remote_auth_sasl_start_args ();
extern bool_t xdr_remote_auth_sasl_start_ret ();
extern bool_t xdr_remote_auth_sasl_step_args ();
extern bool_t xdr_remote_auth_sasl_step_ret ();
2318
extern bool_t xdr_remote_auth_polkit_ret ();
2319 2320 2321 2322 2323 2324
extern bool_t xdr_remote_num_of_storage_pools_ret ();
extern bool_t xdr_remote_list_storage_pools_args ();
extern bool_t xdr_remote_list_storage_pools_ret ();
extern bool_t xdr_remote_num_of_defined_storage_pools_ret ();
extern bool_t xdr_remote_list_defined_storage_pools_args ();
extern bool_t xdr_remote_list_defined_storage_pools_ret ();
2325 2326
extern bool_t xdr_remote_find_storage_pool_sources_args ();
extern bool_t xdr_remote_find_storage_pool_sources_ret ();
2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361
extern bool_t xdr_remote_storage_pool_lookup_by_uuid_args ();
extern bool_t xdr_remote_storage_pool_lookup_by_uuid_ret ();
extern bool_t xdr_remote_storage_pool_lookup_by_name_args ();
extern bool_t xdr_remote_storage_pool_lookup_by_name_ret ();
extern bool_t xdr_remote_storage_pool_lookup_by_volume_args ();
extern bool_t xdr_remote_storage_pool_lookup_by_volume_ret ();
extern bool_t xdr_remote_storage_pool_create_xml_args ();
extern bool_t xdr_remote_storage_pool_create_xml_ret ();
extern bool_t xdr_remote_storage_pool_define_xml_args ();
extern bool_t xdr_remote_storage_pool_define_xml_ret ();
extern bool_t xdr_remote_storage_pool_build_args ();
extern bool_t xdr_remote_storage_pool_undefine_args ();
extern bool_t xdr_remote_storage_pool_create_args ();
extern bool_t xdr_remote_storage_pool_destroy_args ();
extern bool_t xdr_remote_storage_pool_delete_args ();
extern bool_t xdr_remote_storage_pool_refresh_args ();
extern bool_t xdr_remote_storage_pool_dump_xml_args ();
extern bool_t xdr_remote_storage_pool_dump_xml_ret ();
extern bool_t xdr_remote_storage_pool_get_info_args ();
extern bool_t xdr_remote_storage_pool_get_info_ret ();
extern bool_t xdr_remote_storage_pool_get_autostart_args ();
extern bool_t xdr_remote_storage_pool_get_autostart_ret ();
extern bool_t xdr_remote_storage_pool_set_autostart_args ();
extern bool_t xdr_remote_storage_pool_num_of_volumes_args ();
extern bool_t xdr_remote_storage_pool_num_of_volumes_ret ();
extern bool_t xdr_remote_storage_pool_list_volumes_args ();
extern bool_t xdr_remote_storage_pool_list_volumes_ret ();
extern bool_t xdr_remote_storage_vol_lookup_by_name_args ();
extern bool_t xdr_remote_storage_vol_lookup_by_name_ret ();
extern bool_t xdr_remote_storage_vol_lookup_by_key_args ();
extern bool_t xdr_remote_storage_vol_lookup_by_key_ret ();
extern bool_t xdr_remote_storage_vol_lookup_by_path_args ();
extern bool_t xdr_remote_storage_vol_lookup_by_path_ret ();
extern bool_t xdr_remote_storage_vol_create_xml_args ();
extern bool_t xdr_remote_storage_vol_create_xml_ret ();
2362 2363
extern bool_t xdr_remote_storage_vol_create_xml_from_args ();
extern bool_t xdr_remote_storage_vol_create_xml_from_ret ();
2364 2365 2366 2367 2368 2369 2370
extern bool_t xdr_remote_storage_vol_delete_args ();
extern bool_t xdr_remote_storage_vol_dump_xml_args ();
extern bool_t xdr_remote_storage_vol_dump_xml_ret ();
extern bool_t xdr_remote_storage_vol_get_info_args ();
extern bool_t xdr_remote_storage_vol_get_info_ret ();
extern bool_t xdr_remote_storage_vol_get_path_args ();
extern bool_t xdr_remote_storage_vol_get_path_ret ();
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384
extern bool_t xdr_remote_node_num_of_devices_args ();
extern bool_t xdr_remote_node_num_of_devices_ret ();
extern bool_t xdr_remote_node_list_devices_args ();
extern bool_t xdr_remote_node_list_devices_ret ();
extern bool_t xdr_remote_node_device_lookup_by_name_args ();
extern bool_t xdr_remote_node_device_lookup_by_name_ret ();
extern bool_t xdr_remote_node_device_dump_xml_args ();
extern bool_t xdr_remote_node_device_dump_xml_ret ();
extern bool_t xdr_remote_node_device_get_parent_args ();
extern bool_t xdr_remote_node_device_get_parent_ret ();
extern bool_t xdr_remote_node_device_num_of_caps_args ();
extern bool_t xdr_remote_node_device_num_of_caps_ret ();
extern bool_t xdr_remote_node_device_list_caps_args ();
extern bool_t xdr_remote_node_device_list_caps_ret ();
2385 2386 2387
extern bool_t xdr_remote_node_device_dettach_args ();
extern bool_t xdr_remote_node_device_re_attach_args ();
extern bool_t xdr_remote_node_device_reset_args ();
2388 2389 2390
extern bool_t xdr_remote_node_device_create_xml_args ();
extern bool_t xdr_remote_node_device_create_xml_ret ();
extern bool_t xdr_remote_node_device_destroy_args ();
2391 2392
extern bool_t xdr_remote_domain_events_register_ret ();
extern bool_t xdr_remote_domain_events_deregister_ret ();
2393
extern bool_t xdr_remote_domain_event_msg ();
2394 2395 2396 2397
extern bool_t xdr_remote_domain_xml_from_native_args ();
extern bool_t xdr_remote_domain_xml_from_native_ret ();
extern bool_t xdr_remote_domain_xml_to_native_args ();
extern bool_t xdr_remote_domain_xml_to_native_ret ();
2398 2399 2400
extern bool_t xdr_remote_num_of_secrets_ret ();
extern bool_t xdr_remote_list_secrets_args ();
extern bool_t xdr_remote_list_secrets_ret ();
2401 2402
extern bool_t xdr_remote_secret_lookup_by_uuid_args ();
extern bool_t xdr_remote_secret_lookup_by_uuid_ret ();
2403 2404 2405 2406 2407 2408 2409 2410
extern bool_t xdr_remote_secret_define_xml_args ();
extern bool_t xdr_remote_secret_define_xml_ret ();
extern bool_t xdr_remote_secret_get_xml_desc_args ();
extern bool_t xdr_remote_secret_get_xml_desc_ret ();
extern bool_t xdr_remote_secret_set_value_args ();
extern bool_t xdr_remote_secret_get_value_args ();
extern bool_t xdr_remote_secret_get_value_ret ();
extern bool_t xdr_remote_secret_undefine_args ();
2411 2412
extern bool_t xdr_remote_secret_lookup_by_usage_args ();
extern bool_t xdr_remote_secret_lookup_by_usage_ret ();
C
Chris Lalancette 已提交
2413
extern bool_t xdr_remote_domain_migrate_prepare_tunnel_args ();
2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428
extern bool_t xdr_remote_is_secure_ret ();
extern bool_t xdr_remote_domain_is_active_args ();
extern bool_t xdr_remote_domain_is_active_ret ();
extern bool_t xdr_remote_domain_is_persistent_args ();
extern bool_t xdr_remote_domain_is_persistent_ret ();
extern bool_t xdr_remote_network_is_active_args ();
extern bool_t xdr_remote_network_is_active_ret ();
extern bool_t xdr_remote_network_is_persistent_args ();
extern bool_t xdr_remote_network_is_persistent_ret ();
extern bool_t xdr_remote_storage_pool_is_active_args ();
extern bool_t xdr_remote_storage_pool_is_active_ret ();
extern bool_t xdr_remote_storage_pool_is_persistent_args ();
extern bool_t xdr_remote_storage_pool_is_persistent_ret ();
extern bool_t xdr_remote_interface_is_active_args ();
extern bool_t xdr_remote_interface_is_active_ret ();
2429 2430
extern bool_t xdr_remote_cpu_compare_args ();
extern bool_t xdr_remote_cpu_compare_ret ();
2431 2432
extern bool_t xdr_remote_cpu_baseline_args ();
extern bool_t xdr_remote_cpu_baseline_ret ();
2433
extern bool_t xdr_remote_procedure ();
2434
extern bool_t xdr_remote_message_type ();
2435 2436 2437 2438 2439 2440 2441 2442 2443
extern bool_t xdr_remote_message_status ();
extern bool_t xdr_remote_message_header ();

#endif /* K&R C */

#ifdef __cplusplus
}
#endif

2444
#endif /* !_RP_H_RPCGEN */