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

6
#ifndef _RP_H_RPCGEN
7
#define _RP_H_RPCGEN
8

9
#include <rpc/rpc.h>
10 11


12
#ifdef __cplusplus
13
extern "C" {
14
#endif
15

16 17
#include "internal.h"
#include <arpa/inet.h>
18 19 20 21 22 23 24 25 26
#ifdef HAVE_XDR_U_INT64_T
# define xdr_uint64_t xdr_u_int64_t
#endif
#ifndef IXDR_PUT_INT32
# define IXDR_PUT_INT32 IXDR_PUT_LONG
#endif
#ifndef IXDR_GET_INT32
# define IXDR_GET_INT32 IXDR_GET_LONG
#endif
27 28 29 30
#define REMOTE_MESSAGE_MAX 262144
#define REMOTE_MESSAGE_HEADER_MAX 24
#define REMOTE_MESSAGE_PAYLOAD_MAX 262120
#define REMOTE_STRING_MAX 65536
31 32 33 34

typedef char *remote_nonnull_string;

typedef remote_nonnull_string *remote_string;
35 36 37 38 39 40 41 42 43 44 45 46 47
#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
#define REMOTE_MIGRATE_COOKIE_MAX 256
#define REMOTE_NETWORK_NAME_LIST_MAX 256
#define REMOTE_INTERFACE_NAME_LIST_MAX 256
#define REMOTE_DEFINED_INTERFACE_NAME_LIST_MAX 256
#define REMOTE_STORAGE_POOL_NAME_LIST_MAX 256
#define REMOTE_STORAGE_VOL_NAME_LIST_MAX 1024
#define REMOTE_NODE_DEVICE_NAME_LIST_MAX 16384
#define REMOTE_NODE_DEVICE_CAPS_LIST_MAX 16384
48
#define REMOTE_NWFILTER_NAME_LIST_MAX 1024
49 50 51 52 53
#define REMOTE_DOMAIN_SCHEDULER_PARAMETERS_MAX 16
#define REMOTE_NODE_MAX_CELLS 1024
#define REMOTE_AUTH_SASL_DATA_MAX 65536
#define REMOTE_AUTH_TYPE_LIST_MAX 20
#define REMOTE_DOMAIN_MEMORY_STATS_MAX 1024
C
Chris Lalancette 已提交
54
#define REMOTE_DOMAIN_SNAPSHOT_LIST_NAMES_MAX 1024
55 56 57 58 59 60 61 62
#define REMOTE_DOMAIN_BLOCK_PEEK_BUFFER_MAX 65536
#define REMOTE_DOMAIN_MEMORY_PEEK_BUFFER_MAX 65536
#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
#define REMOTE_SECRET_VALUE_MAX 65536
#define REMOTE_SECRET_UUID_LIST_MAX 16384
#define REMOTE_CPU_BASELINE_MAX 256
63 64 65 66

typedef char remote_uuid[VIR_UUID_BUFLEN];

struct remote_nonnull_domain {
67 68 69
        remote_nonnull_string name;
        remote_uuid uuid;
        int id;
70 71 72 73
};
typedef struct remote_nonnull_domain remote_nonnull_domain;

struct remote_nonnull_network {
74 75
        remote_nonnull_string name;
        remote_uuid uuid;
76 77 78
};
typedef struct remote_nonnull_network remote_nonnull_network;

79 80 81 82 83 84
struct remote_nonnull_nwfilter {
        remote_nonnull_string name;
        remote_uuid uuid;
};
typedef struct remote_nonnull_nwfilter remote_nonnull_nwfilter;

D
Daniel Veillard 已提交
85 86 87 88 89 90
struct remote_nonnull_interface {
        remote_nonnull_string name;
        remote_nonnull_string mac;
};
typedef struct remote_nonnull_interface remote_nonnull_interface;

91
struct remote_nonnull_storage_pool {
92 93
        remote_nonnull_string name;
        remote_uuid uuid;
94 95 96 97
};
typedef struct remote_nonnull_storage_pool remote_nonnull_storage_pool;

struct remote_nonnull_storage_vol {
98 99 100
        remote_nonnull_string pool;
        remote_nonnull_string name;
        remote_nonnull_string key;
101 102 103
};
typedef struct remote_nonnull_storage_vol remote_nonnull_storage_vol;

104 105 106 107 108
struct remote_nonnull_node_device {
        remote_nonnull_string name;
};
typedef struct remote_nonnull_node_device remote_nonnull_node_device;

109
struct remote_nonnull_secret {
110
        remote_uuid uuid;
111 112
        int usageType;
        remote_nonnull_string usageID;
113 114 115
};
typedef struct remote_nonnull_secret remote_nonnull_secret;

C
Chris Lalancette 已提交
116 117 118 119 120 121
struct remote_nonnull_domain_snapshot {
        remote_nonnull_string name;
        remote_nonnull_domain domain;
};
typedef struct remote_nonnull_domain_snapshot remote_nonnull_domain_snapshot;

122 123 124 125
typedef remote_nonnull_domain *remote_domain;

typedef remote_nonnull_network *remote_network;

126 127
typedef remote_nonnull_nwfilter *remote_nwfilter;

128 129 130 131
typedef remote_nonnull_storage_pool *remote_storage_pool;

typedef remote_nonnull_storage_vol *remote_storage_vol;

132 133
typedef remote_nonnull_node_device *remote_node_device;

134
struct remote_error {
135 136 137 138 139 140 141 142 143 144 145
        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;
146 147 148
};
typedef struct remote_error remote_error;

149
enum remote_auth_type {
150 151 152
        REMOTE_AUTH_NONE = 0,
        REMOTE_AUTH_SASL = 1,
        REMOTE_AUTH_POLKIT = 2,
153 154 155
};
typedef enum remote_auth_type remote_auth_type;

156
struct remote_vcpu_info {
157 158
        u_int number;
        int state;
159
        uint64_t cpu_time;
160
        int cpu;
161 162 163
};
typedef struct remote_vcpu_info remote_vcpu_info;

164
struct remote_sched_param_value {
165 166 167 168
        int type;
        union {
                int i;
                u_int ui;
169 170
                int64_t l;
                uint64_t ul;
171 172 173
                double d;
                int b;
        } remote_sched_param_value_u;
174 175 176 177
};
typedef struct remote_sched_param_value remote_sched_param_value;

struct remote_sched_param {
178 179
        remote_nonnull_string field;
        remote_sched_param_value value;
180 181 182
};
typedef struct remote_sched_param remote_sched_param;

183
struct remote_open_args {
184 185
        remote_string name;
        int flags;
186 187 188
};
typedef struct remote_open_args remote_open_args;

189
struct remote_supports_feature_args {
190
        int feature;
191 192 193 194
};
typedef struct remote_supports_feature_args remote_supports_feature_args;

struct remote_supports_feature_ret {
195
        int supported;
196 197 198
};
typedef struct remote_supports_feature_ret remote_supports_feature_ret;

199
struct remote_get_type_ret {
200
        remote_nonnull_string type;
201 202 203 204
};
typedef struct remote_get_type_ret remote_get_type_ret;

struct remote_get_version_ret {
205
        int64_t hv_ver;
206 207 208
};
typedef struct remote_get_version_ret remote_get_version_ret;

209 210 211 212 213
struct remote_get_lib_version_ret {
        int64_t lib_ver;
};
typedef struct remote_get_lib_version_ret remote_get_lib_version_ret;

214
struct remote_get_hostname_ret {
215
        remote_nonnull_string hostname;
216 217 218
};
typedef struct remote_get_hostname_ret remote_get_hostname_ret;

219 220 221 222 223
struct remote_get_uri_ret {
        remote_nonnull_string uri;
};
typedef struct remote_get_uri_ret remote_get_uri_ret;

224
struct remote_get_max_vcpus_args {
225
        remote_string type;
226 227 228 229
};
typedef struct remote_get_max_vcpus_args remote_get_max_vcpus_args;

struct remote_get_max_vcpus_ret {
230
        int max_vcpus;
231 232 233 234
};
typedef struct remote_get_max_vcpus_ret remote_get_max_vcpus_ret;

struct remote_node_get_info_ret {
235
        char model[32];
236
        int64_t memory;
237 238 239 240 241 242
        int cpus;
        int mhz;
        int nodes;
        int sockets;
        int cores;
        int threads;
243 244 245 246
};
typedef struct remote_node_get_info_ret remote_node_get_info_ret;

struct remote_get_capabilities_ret {
247
        remote_nonnull_string capabilities;
248 249 250
};
typedef struct remote_get_capabilities_ret remote_get_capabilities_ret;

251 252 253 254 255 256 257 258 259
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;
260
                int64_t *freeMems_val;
261 262 263 264 265
        } freeMems;
};
typedef struct remote_node_get_cells_free_memory_ret remote_node_get_cells_free_memory_ret;

struct remote_node_get_free_memory_ret {
266
        int64_t freeMem;
267 268 269
};
typedef struct remote_node_get_free_memory_ret remote_node_get_free_memory_ret;

270
struct remote_domain_get_scheduler_type_args {
271
        remote_nonnull_domain dom;
272 273 274 275
};
typedef struct remote_domain_get_scheduler_type_args remote_domain_get_scheduler_type_args;

struct remote_domain_get_scheduler_type_ret {
276 277
        remote_nonnull_string type;
        int nparams;
278 279 280 281
};
typedef struct remote_domain_get_scheduler_type_ret remote_domain_get_scheduler_type_ret;

struct remote_domain_get_scheduler_parameters_args {
282 283
        remote_nonnull_domain dom;
        int nparams;
284 285 286 287
};
typedef struct remote_domain_get_scheduler_parameters_args remote_domain_get_scheduler_parameters_args;

struct remote_domain_get_scheduler_parameters_ret {
288 289 290 291
        struct {
                u_int params_len;
                remote_sched_param *params_val;
        } params;
292 293 294 295
};
typedef struct remote_domain_get_scheduler_parameters_ret remote_domain_get_scheduler_parameters_ret;

struct remote_domain_set_scheduler_parameters_args {
296 297 298 299 300
        remote_nonnull_domain dom;
        struct {
                u_int params_len;
                remote_sched_param *params_val;
        } params;
301 302 303
};
typedef struct remote_domain_set_scheduler_parameters_args remote_domain_set_scheduler_parameters_args;

304
struct remote_domain_block_stats_args {
305 306
        remote_nonnull_domain dom;
        remote_nonnull_string path;
307 308 309 310
};
typedef struct remote_domain_block_stats_args remote_domain_block_stats_args;

struct remote_domain_block_stats_ret {
311 312 313 314 315
        int64_t rd_req;
        int64_t rd_bytes;
        int64_t wr_req;
        int64_t wr_bytes;
        int64_t errs;
316 317 318 319
};
typedef struct remote_domain_block_stats_ret remote_domain_block_stats_ret;

struct remote_domain_interface_stats_args {
320 321
        remote_nonnull_domain dom;
        remote_nonnull_string path;
322 323 324 325
};
typedef struct remote_domain_interface_stats_args remote_domain_interface_stats_args;

struct remote_domain_interface_stats_ret {
326 327 328 329 330 331 332 333
        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;
334 335 336
};
typedef struct remote_domain_interface_stats_ret remote_domain_interface_stats_ret;

337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
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;

358 359 360
struct remote_domain_block_peek_args {
        remote_nonnull_domain dom;
        remote_nonnull_string path;
361
        uint64_t offset;
362 363 364 365 366 367 368 369 370 371 372 373 374
        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 已提交
375 376
struct remote_domain_memory_peek_args {
        remote_nonnull_domain dom;
377
        uint64_t offset;
R
Richard W.M. Jones 已提交
378 379 380 381 382 383 384 385 386 387 388 389 390
        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;

391 392 393 394 395 396 397 398 399 400 401 402 403 404
struct remote_domain_get_block_info_args {
        remote_nonnull_domain dom;
        remote_nonnull_string path;
        u_int flags;
};
typedef struct remote_domain_get_block_info_args remote_domain_get_block_info_args;

struct remote_domain_get_block_info_ret {
        uint64_t allocation;
        uint64_t capacity;
        uint64_t physical;
};
typedef struct remote_domain_get_block_info_ret remote_domain_get_block_info_ret;

405
struct remote_list_domains_args {
406
        int maxids;
407 408 409 410
};
typedef struct remote_list_domains_args remote_list_domains_args;

struct remote_list_domains_ret {
411 412 413 414
        struct {
                u_int ids_len;
                int *ids_val;
        } ids;
415 416 417 418
};
typedef struct remote_list_domains_ret remote_list_domains_ret;

struct remote_num_of_domains_ret {
419
        int num;
420 421 422
};
typedef struct remote_num_of_domains_ret remote_num_of_domains_ret;

423
struct remote_domain_create_xml_args {
424 425
        remote_nonnull_string xml_desc;
        int flags;
426
};
427
typedef struct remote_domain_create_xml_args remote_domain_create_xml_args;
428

429
struct remote_domain_create_xml_ret {
430
        remote_nonnull_domain dom;
431
};
432
typedef struct remote_domain_create_xml_ret remote_domain_create_xml_ret;
433 434

struct remote_domain_lookup_by_id_args {
435
        int id;
436 437 438 439
};
typedef struct remote_domain_lookup_by_id_args remote_domain_lookup_by_id_args;

struct remote_domain_lookup_by_id_ret {
440
        remote_nonnull_domain dom;
441 442 443 444
};
typedef struct remote_domain_lookup_by_id_ret remote_domain_lookup_by_id_ret;

struct remote_domain_lookup_by_uuid_args {
445
        remote_uuid uuid;
446 447 448 449
};
typedef struct remote_domain_lookup_by_uuid_args remote_domain_lookup_by_uuid_args;

struct remote_domain_lookup_by_uuid_ret {
450
        remote_nonnull_domain dom;
451 452 453 454
};
typedef struct remote_domain_lookup_by_uuid_ret remote_domain_lookup_by_uuid_ret;

struct remote_domain_lookup_by_name_args {
455
        remote_nonnull_string name;
456 457 458 459
};
typedef struct remote_domain_lookup_by_name_args remote_domain_lookup_by_name_args;

struct remote_domain_lookup_by_name_ret {
460
        remote_nonnull_domain dom;
461 462 463 464
};
typedef struct remote_domain_lookup_by_name_ret remote_domain_lookup_by_name_ret;

struct remote_domain_suspend_args {
465
        remote_nonnull_domain dom;
466 467 468 469
};
typedef struct remote_domain_suspend_args remote_domain_suspend_args;

struct remote_domain_resume_args {
470
        remote_nonnull_domain dom;
471 472 473 474
};
typedef struct remote_domain_resume_args remote_domain_resume_args;

struct remote_domain_shutdown_args {
475
        remote_nonnull_domain dom;
476 477 478 479
};
typedef struct remote_domain_shutdown_args remote_domain_shutdown_args;

struct remote_domain_reboot_args {
480 481
        remote_nonnull_domain dom;
        int flags;
482 483 484 485
};
typedef struct remote_domain_reboot_args remote_domain_reboot_args;

struct remote_domain_destroy_args {
486
        remote_nonnull_domain dom;
487 488 489 490
};
typedef struct remote_domain_destroy_args remote_domain_destroy_args;

struct remote_domain_get_os_type_args {
491
        remote_nonnull_domain dom;
492 493 494 495
};
typedef struct remote_domain_get_os_type_args remote_domain_get_os_type_args;

struct remote_domain_get_os_type_ret {
496
        remote_nonnull_string type;
497 498 499 500
};
typedef struct remote_domain_get_os_type_ret remote_domain_get_os_type_ret;

struct remote_domain_get_max_memory_args {
501
        remote_nonnull_domain dom;
502 503 504 505
};
typedef struct remote_domain_get_max_memory_args remote_domain_get_max_memory_args;

struct remote_domain_get_max_memory_ret {
506
        uint64_t memory;
507 508 509 510
};
typedef struct remote_domain_get_max_memory_ret remote_domain_get_max_memory_ret;

struct remote_domain_set_max_memory_args {
511
        remote_nonnull_domain dom;
512
        uint64_t memory;
513 514 515 516
};
typedef struct remote_domain_set_max_memory_args remote_domain_set_max_memory_args;

struct remote_domain_set_memory_args {
517
        remote_nonnull_domain dom;
518
        uint64_t memory;
519 520 521 522
};
typedef struct remote_domain_set_memory_args remote_domain_set_memory_args;

struct remote_domain_get_info_args {
523
        remote_nonnull_domain dom;
524 525 526 527
};
typedef struct remote_domain_get_info_args remote_domain_get_info_args;

struct remote_domain_get_info_ret {
528
        u_char state;
529 530
        uint64_t max_mem;
        uint64_t memory;
531
        u_short nr_virt_cpu;
532
        uint64_t cpu_time;
533 534 535 536
};
typedef struct remote_domain_get_info_ret remote_domain_get_info_ret;

struct remote_domain_save_args {
537 538
        remote_nonnull_domain dom;
        remote_nonnull_string to;
539 540 541 542
};
typedef struct remote_domain_save_args remote_domain_save_args;

struct remote_domain_restore_args {
543
        remote_nonnull_string from;
544 545 546 547
};
typedef struct remote_domain_restore_args remote_domain_restore_args;

struct remote_domain_core_dump_args {
548 549 550
        remote_nonnull_domain dom;
        remote_nonnull_string to;
        int flags;
551 552 553 554
};
typedef struct remote_domain_core_dump_args remote_domain_core_dump_args;

struct remote_domain_dump_xml_args {
555 556
        remote_nonnull_domain dom;
        int flags;
557 558 559 560
};
typedef struct remote_domain_dump_xml_args remote_domain_dump_xml_args;

struct remote_domain_dump_xml_ret {
561
        remote_nonnull_string xml;
562 563 564
};
typedef struct remote_domain_dump_xml_ret remote_domain_dump_xml_ret;

565
struct remote_domain_migrate_prepare_args {
566
        remote_string uri_in;
567
        uint64_t flags;
568
        remote_string dname;
569
        uint64_t resource;
570 571 572 573
};
typedef struct remote_domain_migrate_prepare_args remote_domain_migrate_prepare_args;

struct remote_domain_migrate_prepare_ret {
574 575 576 577 578
        struct {
                u_int cookie_len;
                char *cookie_val;
        } cookie;
        remote_string uri_out;
579 580 581 582
};
typedef struct remote_domain_migrate_prepare_ret remote_domain_migrate_prepare_ret;

struct remote_domain_migrate_perform_args {
583 584 585 586 587 588
        remote_nonnull_domain dom;
        struct {
                u_int cookie_len;
                char *cookie_val;
        } cookie;
        remote_nonnull_string uri;
589
        uint64_t flags;
590
        remote_string dname;
591
        uint64_t resource;
592 593 594 595
};
typedef struct remote_domain_migrate_perform_args remote_domain_migrate_perform_args;

struct remote_domain_migrate_finish_args {
596 597 598 599 600 601
        remote_nonnull_string dname;
        struct {
                u_int cookie_len;
                char *cookie_val;
        } cookie;
        remote_nonnull_string uri;
602
        uint64_t flags;
603 604 605 606
};
typedef struct remote_domain_migrate_finish_args remote_domain_migrate_finish_args;

struct remote_domain_migrate_finish_ret {
607
        remote_nonnull_domain ddom;
608 609 610
};
typedef struct remote_domain_migrate_finish_ret remote_domain_migrate_finish_ret;

D
Daniel Veillard 已提交
611 612
struct remote_domain_migrate_prepare2_args {
        remote_string uri_in;
613
        uint64_t flags;
D
Daniel Veillard 已提交
614
        remote_string dname;
615
        uint64_t resource;
D
Daniel Veillard 已提交
616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635
        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;
636
        uint64_t flags;
D
Daniel Veillard 已提交
637 638 639 640 641 642 643 644 645
        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;

646
struct remote_list_defined_domains_args {
647
        int maxnames;
648 649 650 651
};
typedef struct remote_list_defined_domains_args remote_list_defined_domains_args;

struct remote_list_defined_domains_ret {
652 653 654 655
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
656 657 658 659
};
typedef struct remote_list_defined_domains_ret remote_list_defined_domains_ret;

struct remote_num_of_defined_domains_ret {
660
        int num;
661 662 663 664
};
typedef struct remote_num_of_defined_domains_ret remote_num_of_defined_domains_ret;

struct remote_domain_create_args {
665
        remote_nonnull_domain dom;
666 667 668 669
};
typedef struct remote_domain_create_args remote_domain_create_args;

struct remote_domain_define_xml_args {
670
        remote_nonnull_string xml;
671 672 673 674
};
typedef struct remote_domain_define_xml_args remote_domain_define_xml_args;

struct remote_domain_define_xml_ret {
675
        remote_nonnull_domain dom;
676 677 678 679
};
typedef struct remote_domain_define_xml_ret remote_domain_define_xml_ret;

struct remote_domain_undefine_args {
680
        remote_nonnull_domain dom;
681 682 683 684
};
typedef struct remote_domain_undefine_args remote_domain_undefine_args;

struct remote_domain_set_vcpus_args {
685 686
        remote_nonnull_domain dom;
        int nvcpus;
687 688 689 690
};
typedef struct remote_domain_set_vcpus_args remote_domain_set_vcpus_args;

struct remote_domain_pin_vcpu_args {
691 692 693 694 695 696
        remote_nonnull_domain dom;
        int vcpu;
        struct {
                u_int cpumap_len;
                char *cpumap_val;
        } cpumap;
697 698 699 700
};
typedef struct remote_domain_pin_vcpu_args remote_domain_pin_vcpu_args;

struct remote_domain_get_vcpus_args {
701 702 703
        remote_nonnull_domain dom;
        int maxinfo;
        int maplen;
704 705 706 707
};
typedef struct remote_domain_get_vcpus_args remote_domain_get_vcpus_args;

struct remote_domain_get_vcpus_ret {
708 709 710 711 712 713 714 715
        struct {
                u_int info_len;
                remote_vcpu_info *info_val;
        } info;
        struct {
                u_int cpumaps_len;
                char *cpumaps_val;
        } cpumaps;
716 717 718 719
};
typedef struct remote_domain_get_vcpus_ret remote_domain_get_vcpus_ret;

struct remote_domain_get_max_vcpus_args {
720
        remote_nonnull_domain dom;
721 722 723 724
};
typedef struct remote_domain_get_max_vcpus_args remote_domain_get_max_vcpus_args;

struct remote_domain_get_max_vcpus_ret {
725
        int num;
726 727 728
};
typedef struct remote_domain_get_max_vcpus_ret remote_domain_get_max_vcpus_ret;

729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754
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;

755
struct remote_domain_attach_device_args {
756 757
        remote_nonnull_domain dom;
        remote_nonnull_string xml;
758 759 760
};
typedef struct remote_domain_attach_device_args remote_domain_attach_device_args;

761 762 763 764 765 766 767
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;

768
struct remote_domain_detach_device_args {
769 770
        remote_nonnull_domain dom;
        remote_nonnull_string xml;
771 772 773
};
typedef struct remote_domain_detach_device_args remote_domain_detach_device_args;

774 775 776 777 778 779 780
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;

781 782 783 784 785 786 787
struct remote_domain_update_device_flags_args {
        remote_nonnull_domain dom;
        remote_nonnull_string xml;
        u_int flags;
};
typedef struct remote_domain_update_device_flags_args remote_domain_update_device_flags_args;

788
struct remote_domain_get_autostart_args {
789
        remote_nonnull_domain dom;
790 791 792 793
};
typedef struct remote_domain_get_autostart_args remote_domain_get_autostart_args;

struct remote_domain_get_autostart_ret {
794
        int autostart;
795 796 797 798
};
typedef struct remote_domain_get_autostart_ret remote_domain_get_autostart_ret;

struct remote_domain_set_autostart_args {
799 800
        remote_nonnull_domain dom;
        int autostart;
801 802 803 804
};
typedef struct remote_domain_set_autostart_args remote_domain_set_autostart_args;

struct remote_num_of_networks_ret {
805
        int num;
806 807 808 809
};
typedef struct remote_num_of_networks_ret remote_num_of_networks_ret;

struct remote_list_networks_args {
810
        int maxnames;
811 812 813 814
};
typedef struct remote_list_networks_args remote_list_networks_args;

struct remote_list_networks_ret {
815 816 817 818
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
819 820 821 822
};
typedef struct remote_list_networks_ret remote_list_networks_ret;

struct remote_num_of_defined_networks_ret {
823
        int num;
824 825 826 827
};
typedef struct remote_num_of_defined_networks_ret remote_num_of_defined_networks_ret;

struct remote_list_defined_networks_args {
828
        int maxnames;
829 830 831 832
};
typedef struct remote_list_defined_networks_args remote_list_defined_networks_args;

struct remote_list_defined_networks_ret {
833 834 835 836
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
837 838 839 840
};
typedef struct remote_list_defined_networks_ret remote_list_defined_networks_ret;

struct remote_network_lookup_by_uuid_args {
841
        remote_uuid uuid;
842 843 844 845
};
typedef struct remote_network_lookup_by_uuid_args remote_network_lookup_by_uuid_args;

struct remote_network_lookup_by_uuid_ret {
846
        remote_nonnull_network net;
847 848 849 850
};
typedef struct remote_network_lookup_by_uuid_ret remote_network_lookup_by_uuid_ret;

struct remote_network_lookup_by_name_args {
851
        remote_nonnull_string name;
852 853 854 855
};
typedef struct remote_network_lookup_by_name_args remote_network_lookup_by_name_args;

struct remote_network_lookup_by_name_ret {
856
        remote_nonnull_network net;
857 858 859 860
};
typedef struct remote_network_lookup_by_name_ret remote_network_lookup_by_name_ret;

struct remote_network_create_xml_args {
861
        remote_nonnull_string xml;
862 863 864 865
};
typedef struct remote_network_create_xml_args remote_network_create_xml_args;

struct remote_network_create_xml_ret {
866
        remote_nonnull_network net;
867 868 869 870
};
typedef struct remote_network_create_xml_ret remote_network_create_xml_ret;

struct remote_network_define_xml_args {
871
        remote_nonnull_string xml;
872 873 874 875
};
typedef struct remote_network_define_xml_args remote_network_define_xml_args;

struct remote_network_define_xml_ret {
876
        remote_nonnull_network net;
877 878 879 880
};
typedef struct remote_network_define_xml_ret remote_network_define_xml_ret;

struct remote_network_undefine_args {
881
        remote_nonnull_network net;
882 883 884 885
};
typedef struct remote_network_undefine_args remote_network_undefine_args;

struct remote_network_create_args {
886
        remote_nonnull_network net;
887 888 889 890
};
typedef struct remote_network_create_args remote_network_create_args;

struct remote_network_destroy_args {
891
        remote_nonnull_network net;
892 893 894 895
};
typedef struct remote_network_destroy_args remote_network_destroy_args;

struct remote_network_dump_xml_args {
896 897
        remote_nonnull_network net;
        int flags;
898 899 900 901
};
typedef struct remote_network_dump_xml_args remote_network_dump_xml_args;

struct remote_network_dump_xml_ret {
902
        remote_nonnull_string xml;
903 904 905 906
};
typedef struct remote_network_dump_xml_ret remote_network_dump_xml_ret;

struct remote_network_get_bridge_name_args {
907
        remote_nonnull_network net;
908 909 910 911
};
typedef struct remote_network_get_bridge_name_args remote_network_get_bridge_name_args;

struct remote_network_get_bridge_name_ret {
912
        remote_nonnull_string name;
913 914 915 916
};
typedef struct remote_network_get_bridge_name_ret remote_network_get_bridge_name_ret;

struct remote_network_get_autostart_args {
917
        remote_nonnull_network net;
918 919 920 921
};
typedef struct remote_network_get_autostart_args remote_network_get_autostart_args;

struct remote_network_get_autostart_ret {
922
        int autostart;
923 924 925 926
};
typedef struct remote_network_get_autostart_ret remote_network_get_autostart_ret;

struct remote_network_set_autostart_args {
927 928
        remote_nonnull_network net;
        int autostart;
929 930
};
typedef struct remote_network_set_autostart_args remote_network_set_autostart_args;
931

932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995
struct remote_num_of_nwfilters_ret {
        int num;
};
typedef struct remote_num_of_nwfilters_ret remote_num_of_nwfilters_ret;

struct remote_list_nwfilters_args {
        int maxnames;
};
typedef struct remote_list_nwfilters_args remote_list_nwfilters_args;

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

struct remote_nwfilter_lookup_by_uuid_args {
        remote_uuid uuid;
};
typedef struct remote_nwfilter_lookup_by_uuid_args remote_nwfilter_lookup_by_uuid_args;

struct remote_nwfilter_lookup_by_uuid_ret {
        remote_nonnull_nwfilter nwfilter;
};
typedef struct remote_nwfilter_lookup_by_uuid_ret remote_nwfilter_lookup_by_uuid_ret;

struct remote_nwfilter_lookup_by_name_args {
        remote_nonnull_string name;
};
typedef struct remote_nwfilter_lookup_by_name_args remote_nwfilter_lookup_by_name_args;

struct remote_nwfilter_lookup_by_name_ret {
        remote_nonnull_nwfilter nwfilter;
};
typedef struct remote_nwfilter_lookup_by_name_ret remote_nwfilter_lookup_by_name_ret;

struct remote_nwfilter_define_xml_args {
        remote_nonnull_string xml;
};
typedef struct remote_nwfilter_define_xml_args remote_nwfilter_define_xml_args;

struct remote_nwfilter_define_xml_ret {
        remote_nonnull_nwfilter nwfilter;
};
typedef struct remote_nwfilter_define_xml_ret remote_nwfilter_define_xml_ret;

struct remote_nwfilter_undefine_args {
        remote_nonnull_nwfilter nwfilter;
};
typedef struct remote_nwfilter_undefine_args remote_nwfilter_undefine_args;

struct remote_nwfilter_get_xml_desc_args {
        remote_nonnull_nwfilter nwfilter;
        int flags;
};
typedef struct remote_nwfilter_get_xml_desc_args remote_nwfilter_get_xml_desc_args;

struct remote_nwfilter_get_xml_desc_ret {
        remote_nonnull_string xml;
};
typedef struct remote_nwfilter_get_xml_desc_ret remote_nwfilter_get_xml_desc_ret;

D
Daniel Veillard 已提交
996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013
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;

1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031
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 已提交
1032 1033 1034 1035 1036 1037
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 {
1038
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1039 1040 1041 1042 1043 1044 1045 1046 1047
};
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 {
1048
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1049 1050 1051 1052
};
typedef struct remote_interface_lookup_by_mac_string_ret remote_interface_lookup_by_mac_string_ret;

struct remote_interface_get_xml_desc_args {
1053
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
        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 {
1070
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1071 1072 1073 1074
};
typedef struct remote_interface_define_xml_ret remote_interface_define_xml_ret;

struct remote_interface_undefine_args {
1075
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1076 1077 1078 1079
};
typedef struct remote_interface_undefine_args remote_interface_undefine_args;

struct remote_interface_create_args {
1080
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1081 1082 1083 1084 1085
        u_int flags;
};
typedef struct remote_interface_create_args remote_interface_create_args;

struct remote_interface_destroy_args {
1086
        remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1087 1088 1089 1090
        u_int flags;
};
typedef struct remote_interface_destroy_args remote_interface_destroy_args;

1091
struct remote_auth_list_ret {
1092 1093 1094 1095
        struct {
                u_int types_len;
                remote_auth_type *types_val;
        } types;
1096 1097 1098 1099
};
typedef struct remote_auth_list_ret remote_auth_list_ret;

struct remote_auth_sasl_init_ret {
1100
        remote_nonnull_string mechlist;
1101 1102 1103 1104
};
typedef struct remote_auth_sasl_init_ret remote_auth_sasl_init_ret;

struct remote_auth_sasl_start_args {
1105 1106 1107 1108 1109 1110
        remote_nonnull_string mech;
        int nil;
        struct {
                u_int data_len;
                char *data_val;
        } data;
1111 1112 1113 1114
};
typedef struct remote_auth_sasl_start_args remote_auth_sasl_start_args;

struct remote_auth_sasl_start_ret {
1115 1116 1117 1118 1119 1120
        int complete;
        int nil;
        struct {
                u_int data_len;
                char *data_val;
        } data;
1121 1122 1123 1124
};
typedef struct remote_auth_sasl_start_ret remote_auth_sasl_start_ret;

struct remote_auth_sasl_step_args {
1125 1126 1127 1128 1129
        int nil;
        struct {
                u_int data_len;
                char *data_val;
        } data;
1130 1131 1132 1133
};
typedef struct remote_auth_sasl_step_args remote_auth_sasl_step_args;

struct remote_auth_sasl_step_ret {
1134 1135 1136 1137 1138 1139
        int complete;
        int nil;
        struct {
                u_int data_len;
                char *data_val;
        } data;
1140 1141
};
typedef struct remote_auth_sasl_step_ret remote_auth_sasl_step_ret;
1142 1143

struct remote_auth_polkit_ret {
1144
        int complete;
1145 1146
};
typedef struct remote_auth_polkit_ret remote_auth_polkit_ret;
1147 1148

struct remote_num_of_storage_pools_ret {
1149
        int num;
1150 1151 1152 1153
};
typedef struct remote_num_of_storage_pools_ret remote_num_of_storage_pools_ret;

struct remote_list_storage_pools_args {
1154
        int maxnames;
1155 1156 1157 1158
};
typedef struct remote_list_storage_pools_args remote_list_storage_pools_args;

struct remote_list_storage_pools_ret {
1159 1160 1161 1162
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
1163 1164 1165 1166
};
typedef struct remote_list_storage_pools_ret remote_list_storage_pools_ret;

struct remote_num_of_defined_storage_pools_ret {
1167
        int num;
1168 1169 1170 1171
};
typedef struct remote_num_of_defined_storage_pools_ret remote_num_of_defined_storage_pools_ret;

struct remote_list_defined_storage_pools_args {
1172
        int maxnames;
1173 1174 1175 1176
};
typedef struct remote_list_defined_storage_pools_args remote_list_defined_storage_pools_args;

struct remote_list_defined_storage_pools_ret {
1177 1178 1179 1180
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
1181 1182 1183
};
typedef struct remote_list_defined_storage_pools_ret remote_list_defined_storage_pools_ret;

1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195
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;

1196
struct remote_storage_pool_lookup_by_uuid_args {
1197
        remote_uuid uuid;
1198 1199 1200 1201
};
typedef struct remote_storage_pool_lookup_by_uuid_args remote_storage_pool_lookup_by_uuid_args;

struct remote_storage_pool_lookup_by_uuid_ret {
1202
        remote_nonnull_storage_pool pool;
1203 1204 1205 1206
};
typedef struct remote_storage_pool_lookup_by_uuid_ret remote_storage_pool_lookup_by_uuid_ret;

struct remote_storage_pool_lookup_by_name_args {
1207
        remote_nonnull_string name;
1208 1209 1210 1211
};
typedef struct remote_storage_pool_lookup_by_name_args remote_storage_pool_lookup_by_name_args;

struct remote_storage_pool_lookup_by_name_ret {
1212
        remote_nonnull_storage_pool pool;
1213 1214 1215 1216
};
typedef struct remote_storage_pool_lookup_by_name_ret remote_storage_pool_lookup_by_name_ret;

struct remote_storage_pool_lookup_by_volume_args {
1217
        remote_nonnull_storage_vol vol;
1218 1219 1220 1221
};
typedef struct remote_storage_pool_lookup_by_volume_args remote_storage_pool_lookup_by_volume_args;

struct remote_storage_pool_lookup_by_volume_ret {
1222
        remote_nonnull_storage_pool pool;
1223 1224 1225 1226
};
typedef struct remote_storage_pool_lookup_by_volume_ret remote_storage_pool_lookup_by_volume_ret;

struct remote_storage_pool_create_xml_args {
1227 1228
        remote_nonnull_string xml;
        u_int flags;
1229 1230 1231 1232
};
typedef struct remote_storage_pool_create_xml_args remote_storage_pool_create_xml_args;

struct remote_storage_pool_create_xml_ret {
1233
        remote_nonnull_storage_pool pool;
1234 1235 1236 1237
};
typedef struct remote_storage_pool_create_xml_ret remote_storage_pool_create_xml_ret;

struct remote_storage_pool_define_xml_args {
1238 1239
        remote_nonnull_string xml;
        u_int flags;
1240 1241 1242 1243
};
typedef struct remote_storage_pool_define_xml_args remote_storage_pool_define_xml_args;

struct remote_storage_pool_define_xml_ret {
1244
        remote_nonnull_storage_pool pool;
1245 1246 1247 1248
};
typedef struct remote_storage_pool_define_xml_ret remote_storage_pool_define_xml_ret;

struct remote_storage_pool_build_args {
1249 1250
        remote_nonnull_storage_pool pool;
        u_int flags;
1251 1252 1253 1254
};
typedef struct remote_storage_pool_build_args remote_storage_pool_build_args;

struct remote_storage_pool_undefine_args {
1255
        remote_nonnull_storage_pool pool;
1256 1257 1258 1259
};
typedef struct remote_storage_pool_undefine_args remote_storage_pool_undefine_args;

struct remote_storage_pool_create_args {
1260 1261
        remote_nonnull_storage_pool pool;
        u_int flags;
1262 1263 1264 1265
};
typedef struct remote_storage_pool_create_args remote_storage_pool_create_args;

struct remote_storage_pool_destroy_args {
1266
        remote_nonnull_storage_pool pool;
1267 1268 1269 1270
};
typedef struct remote_storage_pool_destroy_args remote_storage_pool_destroy_args;

struct remote_storage_pool_delete_args {
1271 1272
        remote_nonnull_storage_pool pool;
        u_int flags;
1273 1274 1275 1276
};
typedef struct remote_storage_pool_delete_args remote_storage_pool_delete_args;

struct remote_storage_pool_refresh_args {
1277 1278
        remote_nonnull_storage_pool pool;
        u_int flags;
1279 1280 1281 1282
};
typedef struct remote_storage_pool_refresh_args remote_storage_pool_refresh_args;

struct remote_storage_pool_dump_xml_args {
1283 1284
        remote_nonnull_storage_pool pool;
        u_int flags;
1285 1286 1287 1288
};
typedef struct remote_storage_pool_dump_xml_args remote_storage_pool_dump_xml_args;

struct remote_storage_pool_dump_xml_ret {
1289
        remote_nonnull_string xml;
1290 1291 1292 1293
};
typedef struct remote_storage_pool_dump_xml_ret remote_storage_pool_dump_xml_ret;

struct remote_storage_pool_get_info_args {
1294
        remote_nonnull_storage_pool pool;
1295 1296 1297 1298
};
typedef struct remote_storage_pool_get_info_args remote_storage_pool_get_info_args;

struct remote_storage_pool_get_info_ret {
1299
        u_char state;
1300 1301 1302
        uint64_t capacity;
        uint64_t allocation;
        uint64_t available;
1303 1304 1305 1306
};
typedef struct remote_storage_pool_get_info_ret remote_storage_pool_get_info_ret;

struct remote_storage_pool_get_autostart_args {
1307
        remote_nonnull_storage_pool pool;
1308 1309 1310 1311
};
typedef struct remote_storage_pool_get_autostart_args remote_storage_pool_get_autostart_args;

struct remote_storage_pool_get_autostart_ret {
1312
        int autostart;
1313 1314 1315 1316
};
typedef struct remote_storage_pool_get_autostart_ret remote_storage_pool_get_autostart_ret;

struct remote_storage_pool_set_autostart_args {
1317 1318
        remote_nonnull_storage_pool pool;
        int autostart;
1319 1320 1321 1322
};
typedef struct remote_storage_pool_set_autostart_args remote_storage_pool_set_autostart_args;

struct remote_storage_pool_num_of_volumes_args {
1323
        remote_nonnull_storage_pool pool;
1324 1325 1326 1327
};
typedef struct remote_storage_pool_num_of_volumes_args remote_storage_pool_num_of_volumes_args;

struct remote_storage_pool_num_of_volumes_ret {
1328
        int num;
1329 1330 1331 1332
};
typedef struct remote_storage_pool_num_of_volumes_ret remote_storage_pool_num_of_volumes_ret;

struct remote_storage_pool_list_volumes_args {
1333 1334
        remote_nonnull_storage_pool pool;
        int maxnames;
1335 1336 1337 1338
};
typedef struct remote_storage_pool_list_volumes_args remote_storage_pool_list_volumes_args;

struct remote_storage_pool_list_volumes_ret {
1339 1340 1341 1342
        struct {
                u_int names_len;
                remote_nonnull_string *names_val;
        } names;
1343 1344 1345 1346
};
typedef struct remote_storage_pool_list_volumes_ret remote_storage_pool_list_volumes_ret;

struct remote_storage_vol_lookup_by_name_args {
1347 1348
        remote_nonnull_storage_pool pool;
        remote_nonnull_string name;
1349 1350 1351 1352
};
typedef struct remote_storage_vol_lookup_by_name_args remote_storage_vol_lookup_by_name_args;

struct remote_storage_vol_lookup_by_name_ret {
1353
        remote_nonnull_storage_vol vol;
1354 1355 1356 1357
};
typedef struct remote_storage_vol_lookup_by_name_ret remote_storage_vol_lookup_by_name_ret;

struct remote_storage_vol_lookup_by_key_args {
1358
        remote_nonnull_string key;
1359 1360 1361 1362
};
typedef struct remote_storage_vol_lookup_by_key_args remote_storage_vol_lookup_by_key_args;

struct remote_storage_vol_lookup_by_key_ret {
1363
        remote_nonnull_storage_vol vol;
1364 1365 1366 1367
};
typedef struct remote_storage_vol_lookup_by_key_ret remote_storage_vol_lookup_by_key_ret;

struct remote_storage_vol_lookup_by_path_args {
1368
        remote_nonnull_string path;
1369 1370 1371 1372
};
typedef struct remote_storage_vol_lookup_by_path_args remote_storage_vol_lookup_by_path_args;

struct remote_storage_vol_lookup_by_path_ret {
1373
        remote_nonnull_storage_vol vol;
1374 1375 1376 1377
};
typedef struct remote_storage_vol_lookup_by_path_ret remote_storage_vol_lookup_by_path_ret;

struct remote_storage_vol_create_xml_args {
1378 1379 1380
        remote_nonnull_storage_pool pool;
        remote_nonnull_string xml;
        u_int flags;
1381 1382 1383 1384
};
typedef struct remote_storage_vol_create_xml_args remote_storage_vol_create_xml_args;

struct remote_storage_vol_create_xml_ret {
1385
        remote_nonnull_storage_vol vol;
1386 1387 1388
};
typedef struct remote_storage_vol_create_xml_ret remote_storage_vol_create_xml_ret;

1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401
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;

1402
struct remote_storage_vol_delete_args {
1403 1404
        remote_nonnull_storage_vol vol;
        u_int flags;
1405 1406 1407
};
typedef struct remote_storage_vol_delete_args remote_storage_vol_delete_args;

1408 1409 1410 1411 1412 1413
struct remote_storage_vol_wipe_args {
        remote_nonnull_storage_vol vol;
        u_int flags;
};
typedef struct remote_storage_vol_wipe_args remote_storage_vol_wipe_args;

1414
struct remote_storage_vol_dump_xml_args {
1415 1416
        remote_nonnull_storage_vol vol;
        u_int flags;
1417 1418 1419 1420
};
typedef struct remote_storage_vol_dump_xml_args remote_storage_vol_dump_xml_args;

struct remote_storage_vol_dump_xml_ret {
1421
        remote_nonnull_string xml;
1422 1423 1424 1425
};
typedef struct remote_storage_vol_dump_xml_ret remote_storage_vol_dump_xml_ret;

struct remote_storage_vol_get_info_args {
1426
        remote_nonnull_storage_vol vol;
1427 1428 1429 1430
};
typedef struct remote_storage_vol_get_info_args remote_storage_vol_get_info_args;

struct remote_storage_vol_get_info_ret {
1431
        char type;
1432 1433
        uint64_t capacity;
        uint64_t allocation;
1434 1435 1436 1437
};
typedef struct remote_storage_vol_get_info_ret remote_storage_vol_get_info_ret;

struct remote_storage_vol_get_path_args {
1438
        remote_nonnull_storage_vol vol;
1439 1440 1441 1442
};
typedef struct remote_storage_vol_get_path_args remote_storage_vol_get_path_args;

struct remote_storage_vol_get_path_ret {
1443
        remote_nonnull_string name;
1444 1445
};
typedef struct remote_storage_vol_get_path_ret remote_storage_vol_get_path_ret;
1446

1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527
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;

1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542
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;

1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558
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;

1559 1560 1561 1562 1563 1564 1565 1566 1567 1568
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;

1569
struct remote_domain_event_lifecycle_msg {
1570 1571
        remote_nonnull_domain dom;
        int event;
1572
        int detail;
1573
};
1574
typedef struct remote_domain_event_lifecycle_msg remote_domain_event_lifecycle_msg;
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598

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;
1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617

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;

1618 1619
struct remote_secret_lookup_by_uuid_args {
        remote_uuid uuid;
1620
};
1621
typedef struct remote_secret_lookup_by_uuid_args remote_secret_lookup_by_uuid_args;
1622

1623
struct remote_secret_lookup_by_uuid_ret {
1624 1625
        remote_nonnull_secret secret;
};
1626
typedef struct remote_secret_lookup_by_uuid_ret remote_secret_lookup_by_uuid_ret;
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 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677

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;
1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688

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 已提交
1689 1690 1691 1692 1693 1694 1695 1696 1697

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;

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 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771
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;
1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782

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;
1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796

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;
1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817

struct remote_domain_get_job_info_args {
        remote_nonnull_domain dom;
};
typedef struct remote_domain_get_job_info_args remote_domain_get_job_info_args;

struct remote_domain_get_job_info_ret {
        int type;
        uint64_t timeElapsed;
        uint64_t timeRemaining;
        uint64_t dataTotal;
        uint64_t dataProcessed;
        uint64_t dataRemaining;
        uint64_t memTotal;
        uint64_t memProcessed;
        uint64_t memRemaining;
        uint64_t fileTotal;
        uint64_t fileProcessed;
        uint64_t fileRemaining;
};
typedef struct remote_domain_get_job_info_ret remote_domain_get_job_info_ret;
1818 1819 1820 1821 1822

struct remote_domain_abort_job_args {
        remote_nonnull_domain dom;
};
typedef struct remote_domain_abort_job_args remote_domain_abort_job_args;
1823 1824 1825 1826 1827 1828 1829

struct remote_domain_migrate_set_max_downtime_args {
        remote_nonnull_domain dom;
        uint64_t downtime;
        u_int flags;
};
typedef struct remote_domain_migrate_set_max_downtime_args remote_domain_migrate_set_max_downtime_args;
1830 1831 1832 1833 1834 1835 1836 1837 1838 1839

struct remote_domain_events_register_any_args {
        int eventID;
};
typedef struct remote_domain_events_register_any_args remote_domain_events_register_any_args;

struct remote_domain_events_deregister_any_args {
        int eventID;
};
typedef struct remote_domain_events_deregister_any_args remote_domain_events_deregister_any_args;
1840 1841 1842 1843 1844

struct remote_domain_event_reboot_msg {
        remote_nonnull_domain dom;
};
typedef struct remote_domain_event_reboot_msg remote_domain_event_reboot_msg;
1845 1846 1847 1848 1849 1850

struct remote_domain_event_rtc_change_msg {
        remote_nonnull_domain dom;
        int64_t offset;
};
typedef struct remote_domain_event_rtc_change_msg remote_domain_event_rtc_change_msg;
1851 1852 1853 1854 1855 1856

struct remote_domain_event_watchdog_msg {
        remote_nonnull_domain dom;
        int action;
};
typedef struct remote_domain_event_watchdog_msg remote_domain_event_watchdog_msg;
1857 1858 1859 1860 1861 1862 1863 1864

struct remote_domain_event_io_error_msg {
        remote_nonnull_domain dom;
        remote_nonnull_string srcPath;
        remote_nonnull_string devAlias;
        int action;
};
typedef struct remote_domain_event_io_error_msg remote_domain_event_io_error_msg;
1865

1866 1867 1868 1869 1870 1871 1872 1873 1874
struct remote_domain_event_io_error_reason_msg {
        remote_nonnull_domain dom;
        remote_nonnull_string srcPath;
        remote_nonnull_string devAlias;
        int action;
        remote_nonnull_string reason;
};
typedef struct remote_domain_event_io_error_reason_msg remote_domain_event_io_error_reason_msg;

1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900
struct remote_domain_event_graphics_address {
        int family;
        remote_nonnull_string node;
        remote_nonnull_string service;
};
typedef struct remote_domain_event_graphics_address remote_domain_event_graphics_address;
#define REMOTE_DOMAIN_EVENT_GRAPHICS_IDENTITY_MAX 20

struct remote_domain_event_graphics_identity {
        remote_nonnull_string type;
        remote_nonnull_string name;
};
typedef struct remote_domain_event_graphics_identity remote_domain_event_graphics_identity;

struct remote_domain_event_graphics_msg {
        remote_nonnull_domain dom;
        int phase;
        remote_domain_event_graphics_address local;
        remote_domain_event_graphics_address remote;
        remote_nonnull_string authScheme;
        struct {
                u_int subject_len;
                remote_domain_event_graphics_identity *subject_val;
        } subject;
};
typedef struct remote_domain_event_graphics_msg remote_domain_event_graphics_msg;
1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923

struct remote_domain_managed_save_args {
        remote_nonnull_domain dom;
        u_int flags;
};
typedef struct remote_domain_managed_save_args remote_domain_managed_save_args;

struct remote_domain_has_managed_save_image_args {
        remote_nonnull_domain dom;
        u_int flags;
};
typedef struct remote_domain_has_managed_save_image_args remote_domain_has_managed_save_image_args;

struct remote_domain_has_managed_save_image_ret {
        int ret;
};
typedef struct remote_domain_has_managed_save_image_ret remote_domain_has_managed_save_image_ret;

struct remote_domain_managed_save_remove_args {
        remote_nonnull_domain dom;
        u_int flags;
};
typedef struct remote_domain_managed_save_remove_args remote_domain_managed_save_remove_args;
C
Chris Lalancette 已提交
1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 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 2015 2016 2017 2018

struct remote_domain_snapshot_create_xml_args {
        remote_nonnull_domain domain;
        remote_nonnull_string xml_desc;
        int flags;
};
typedef struct remote_domain_snapshot_create_xml_args remote_domain_snapshot_create_xml_args;

struct remote_domain_snapshot_create_xml_ret {
        remote_nonnull_domain_snapshot snap;
};
typedef struct remote_domain_snapshot_create_xml_ret remote_domain_snapshot_create_xml_ret;

struct remote_domain_snapshot_dump_xml_args {
        remote_nonnull_domain_snapshot snap;
        int flags;
};
typedef struct remote_domain_snapshot_dump_xml_args remote_domain_snapshot_dump_xml_args;

struct remote_domain_snapshot_dump_xml_ret {
        remote_nonnull_string xml;
};
typedef struct remote_domain_snapshot_dump_xml_ret remote_domain_snapshot_dump_xml_ret;

struct remote_domain_snapshot_num_args {
        remote_nonnull_domain domain;
        int flags;
};
typedef struct remote_domain_snapshot_num_args remote_domain_snapshot_num_args;

struct remote_domain_snapshot_num_ret {
        int num;
};
typedef struct remote_domain_snapshot_num_ret remote_domain_snapshot_num_ret;

struct remote_domain_snapshot_list_names_args {
        remote_nonnull_domain domain;
        int nameslen;
        int flags;
};
typedef struct remote_domain_snapshot_list_names_args remote_domain_snapshot_list_names_args;

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

struct remote_domain_snapshot_lookup_by_name_args {
        remote_nonnull_domain domain;
        remote_nonnull_string name;
        int flags;
};
typedef struct remote_domain_snapshot_lookup_by_name_args remote_domain_snapshot_lookup_by_name_args;

struct remote_domain_snapshot_lookup_by_name_ret {
        remote_nonnull_domain_snapshot snap;
};
typedef struct remote_domain_snapshot_lookup_by_name_ret remote_domain_snapshot_lookup_by_name_ret;

struct remote_domain_has_current_snapshot_args {
        remote_nonnull_domain domain;
        int flags;
};
typedef struct remote_domain_has_current_snapshot_args remote_domain_has_current_snapshot_args;

struct remote_domain_has_current_snapshot_ret {
        int result;
};
typedef struct remote_domain_has_current_snapshot_ret remote_domain_has_current_snapshot_ret;

struct remote_domain_snapshot_current_args {
        remote_nonnull_domain domain;
        int flags;
};
typedef struct remote_domain_snapshot_current_args remote_domain_snapshot_current_args;

struct remote_domain_snapshot_current_ret {
        remote_nonnull_domain_snapshot snap;
};
typedef struct remote_domain_snapshot_current_ret remote_domain_snapshot_current_ret;

struct remote_domain_revert_to_snapshot_args {
        remote_nonnull_domain_snapshot snap;
        int flags;
};
typedef struct remote_domain_revert_to_snapshot_args remote_domain_revert_to_snapshot_args;

struct remote_domain_snapshot_delete_args {
        remote_nonnull_domain_snapshot snap;
        int flags;
};
typedef struct remote_domain_snapshot_delete_args remote_domain_snapshot_delete_args;
2019 2020
#define REMOTE_PROGRAM 0x20008086
#define REMOTE_PROTOCOL_VERSION 1
2021 2022

enum remote_procedure {
2023 2024 2025 2026 2027 2028 2029 2030 2031
        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,
2032
        REMOTE_PROC_DOMAIN_CREATE_XML = 10,
2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 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 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096
        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,
2097
        REMOTE_PROC_FIND_STORAGE_POOL_SOURCES = 75,
2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122
        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,
2123 2124
        REMOTE_PROC_NODE_GET_CELLS_FREE_MEMORY = 101,
        REMOTE_PROC_NODE_GET_FREE_MEMORY = 102,
2125
        REMOTE_PROC_DOMAIN_BLOCK_PEEK = 103,
R
Richard W.M. Jones 已提交
2126
        REMOTE_PROC_DOMAIN_MEMORY_PEEK = 104,
2127 2128
        REMOTE_PROC_DOMAIN_EVENTS_REGISTER = 105,
        REMOTE_PROC_DOMAIN_EVENTS_DEREGISTER = 106,
2129
        REMOTE_PROC_DOMAIN_EVENT_LIFECYCLE = 107,
D
Daniel Veillard 已提交
2130 2131
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE2 = 108,
        REMOTE_PROC_DOMAIN_MIGRATE_FINISH2 = 109,
2132
        REMOTE_PROC_GET_URI = 110,
2133 2134 2135 2136 2137 2138 2139
        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,
2140 2141 2142
        REMOTE_PROC_NODE_DEVICE_DETTACH = 118,
        REMOTE_PROC_NODE_DEVICE_RE_ATTACH = 119,
        REMOTE_PROC_NODE_DEVICE_RESET = 120,
2143 2144
        REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL = 121,
        REMOTE_PROC_NODE_GET_SECURITY_MODEL = 122,
2145 2146
        REMOTE_PROC_NODE_DEVICE_CREATE_XML = 123,
        REMOTE_PROC_NODE_DEVICE_DESTROY = 124,
2147
        REMOTE_PROC_STORAGE_VOL_CREATE_XML_FROM = 125,
D
Daniel Veillard 已提交
2148 2149 2150 2151 2152 2153 2154 2155 2156
        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,
2157 2158
        REMOTE_PROC_DOMAIN_XML_FROM_NATIVE = 135,
        REMOTE_PROC_DOMAIN_XML_TO_NATIVE = 136,
2159 2160
        REMOTE_PROC_NUM_OF_DEFINED_INTERFACES = 137,
        REMOTE_PROC_LIST_DEFINED_INTERFACES = 138,
2161 2162
        REMOTE_PROC_NUM_OF_SECRETS = 139,
        REMOTE_PROC_LIST_SECRETS = 140,
2163
        REMOTE_PROC_SECRET_LOOKUP_BY_UUID = 141,
2164 2165 2166 2167 2168
        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,
2169
        REMOTE_PROC_SECRET_LOOKUP_BY_USAGE = 147,
C
Chris Lalancette 已提交
2170
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL = 148,
2171 2172 2173 2174 2175 2176 2177 2178
        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,
2179
        REMOTE_PROC_GET_LIB_VERSION = 157,
2180
        REMOTE_PROC_CPU_COMPARE = 158,
2181
        REMOTE_PROC_DOMAIN_MEMORY_STATS = 159,
2182 2183
        REMOTE_PROC_DOMAIN_ATTACH_DEVICE_FLAGS = 160,
        REMOTE_PROC_DOMAIN_DETACH_DEVICE_FLAGS = 161,
2184
        REMOTE_PROC_CPU_BASELINE = 162,
2185
        REMOTE_PROC_DOMAIN_GET_JOB_INFO = 163,
2186
        REMOTE_PROC_DOMAIN_ABORT_JOB = 164,
2187
        REMOTE_PROC_STORAGE_VOL_WIPE = 165,
2188
        REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_DOWNTIME = 166,
2189 2190
        REMOTE_PROC_DOMAIN_EVENTS_REGISTER_ANY = 167,
        REMOTE_PROC_DOMAIN_EVENTS_DEREGISTER_ANY = 168,
2191
        REMOTE_PROC_DOMAIN_EVENT_REBOOT = 169,
2192
        REMOTE_PROC_DOMAIN_EVENT_RTC_CHANGE = 170,
2193
        REMOTE_PROC_DOMAIN_EVENT_WATCHDOG = 171,
2194
        REMOTE_PROC_DOMAIN_EVENT_IO_ERROR = 172,
2195
        REMOTE_PROC_DOMAIN_EVENT_GRAPHICS = 173,
2196
        REMOTE_PROC_DOMAIN_UPDATE_DEVICE_FLAGS = 174,
2197 2198 2199 2200 2201 2202 2203
        REMOTE_PROC_NWFILTER_LOOKUP_BY_NAME = 175,
        REMOTE_PROC_NWFILTER_LOOKUP_BY_UUID = 176,
        REMOTE_PROC_NWFILTER_GET_XML_DESC = 177,
        REMOTE_PROC_NUM_OF_NWFILTERS = 178,
        REMOTE_PROC_LIST_NWFILTERS = 179,
        REMOTE_PROC_NWFILTER_DEFINE_XML = 180,
        REMOTE_PROC_NWFILTER_UNDEFINE = 181,
2204 2205 2206
        REMOTE_PROC_DOMAIN_MANAGED_SAVE = 182,
        REMOTE_PROC_DOMAIN_HAS_MANAGED_SAVE_IMAGE = 183,
        REMOTE_PROC_DOMAIN_MANAGED_SAVE_REMOVE = 184,
C
Chris Lalancette 已提交
2207 2208 2209 2210 2211 2212 2213 2214 2215
        REMOTE_PROC_DOMAIN_SNAPSHOT_CREATE_XML = 185,
        REMOTE_PROC_DOMAIN_SNAPSHOT_DUMP_XML = 186,
        REMOTE_PROC_DOMAIN_SNAPSHOT_NUM = 187,
        REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_NAMES = 188,
        REMOTE_PROC_DOMAIN_SNAPSHOT_LOOKUP_BY_NAME = 189,
        REMOTE_PROC_DOMAIN_HAS_CURRENT_SNAPSHOT = 190,
        REMOTE_PROC_DOMAIN_SNAPSHOT_CURRENT = 191,
        REMOTE_PROC_DOMAIN_REVERT_TO_SNAPSHOT = 192,
        REMOTE_PROC_DOMAIN_SNAPSHOT_DELETE = 193,
2216
        REMOTE_PROC_DOMAIN_GET_BLOCK_INFO = 194,
2217
        REMOTE_PROC_DOMAIN_EVENT_IO_ERROR_REASON = 195,
2218 2219 2220
};
typedef enum remote_procedure remote_procedure;

2221
enum remote_message_type {
2222 2223 2224
        REMOTE_CALL = 0,
        REMOTE_REPLY = 1,
        REMOTE_MESSAGE = 2,
2225
        REMOTE_STREAM = 3,
2226
};
2227
typedef enum remote_message_type remote_message_type;
2228 2229

enum remote_message_status {
2230 2231
        REMOTE_OK = 0,
        REMOTE_ERROR = 1,
2232
        REMOTE_CONTINUE = 2,
2233 2234
};
typedef enum remote_message_status remote_message_status;
2235
#define REMOTE_MESSAGE_HEADER_XDR_LEN 4
2236 2237

struct remote_message_header {
2238 2239 2240
        u_int prog;
        u_int vers;
        remote_procedure proc;
2241
        remote_message_type type;
2242 2243
        u_int serial;
        remote_message_status status;
2244 2245 2246 2247 2248
};
typedef struct remote_message_header remote_message_header;

/* the xdr functions */

2249
#if defined(__STDC__) || defined(__cplusplus)
2250 2251 2252 2253 2254
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*);
2255
extern  bool_t xdr_remote_nonnull_nwfilter (XDR *, remote_nonnull_nwfilter*);
D
Daniel Veillard 已提交
2256
extern  bool_t xdr_remote_nonnull_interface (XDR *, remote_nonnull_interface*);
2257 2258
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*);
2259
extern  bool_t xdr_remote_nonnull_node_device (XDR *, remote_nonnull_node_device*);
2260
extern  bool_t xdr_remote_nonnull_secret (XDR *, remote_nonnull_secret*);
C
Chris Lalancette 已提交
2261
extern  bool_t xdr_remote_nonnull_domain_snapshot (XDR *, remote_nonnull_domain_snapshot*);
2262 2263
extern  bool_t xdr_remote_domain (XDR *, remote_domain*);
extern  bool_t xdr_remote_network (XDR *, remote_network*);
2264
extern  bool_t xdr_remote_nwfilter (XDR *, remote_nwfilter*);
2265 2266
extern  bool_t xdr_remote_storage_pool (XDR *, remote_storage_pool*);
extern  bool_t xdr_remote_storage_vol (XDR *, remote_storage_vol*);
2267
extern  bool_t xdr_remote_node_device (XDR *, remote_node_device*);
2268
extern  bool_t xdr_remote_error (XDR *, remote_error*);
2269
extern  bool_t xdr_remote_auth_type (XDR *, remote_auth_type*);
2270
extern  bool_t xdr_remote_vcpu_info (XDR *, remote_vcpu_info*);
2271 2272
extern  bool_t xdr_remote_sched_param_value (XDR *, remote_sched_param_value*);
extern  bool_t xdr_remote_sched_param (XDR *, remote_sched_param*);
2273
extern  bool_t xdr_remote_open_args (XDR *, remote_open_args*);
2274 2275
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*);
2276 2277
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*);
2278
extern  bool_t xdr_remote_get_lib_version_ret (XDR *, remote_get_lib_version_ret*);
2279
extern  bool_t xdr_remote_get_hostname_ret (XDR *, remote_get_hostname_ret*);
2280
extern  bool_t xdr_remote_get_uri_ret (XDR *, remote_get_uri_ret*);
2281 2282 2283 2284
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*);
2285 2286 2287
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*);
2288 2289 2290 2291 2292
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*);
2293 2294 2295 2296
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*);
2297 2298 2299
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*);
2300 2301
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 已提交
2302 2303
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*);
2304 2305
extern  bool_t xdr_remote_domain_get_block_info_args (XDR *, remote_domain_get_block_info_args*);
extern  bool_t xdr_remote_domain_get_block_info_ret (XDR *, remote_domain_get_block_info_ret*);
2306 2307 2308
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*);
2309 2310
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*);
2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334
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*);
2335 2336 2337 2338 2339
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 已提交
2340 2341 2342 2343
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*);
2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356
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*);
2357 2358 2359
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*);
2360
extern  bool_t xdr_remote_domain_attach_device_args (XDR *, remote_domain_attach_device_args*);
2361
extern  bool_t xdr_remote_domain_attach_device_flags_args (XDR *, remote_domain_attach_device_flags_args*);
2362
extern  bool_t xdr_remote_domain_detach_device_args (XDR *, remote_domain_detach_device_args*);
2363
extern  bool_t xdr_remote_domain_detach_device_flags_args (XDR *, remote_domain_detach_device_flags_args*);
2364
extern  bool_t xdr_remote_domain_update_device_flags_args (XDR *, remote_domain_update_device_flags_args*);
2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391
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*);
2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403
extern  bool_t xdr_remote_num_of_nwfilters_ret (XDR *, remote_num_of_nwfilters_ret*);
extern  bool_t xdr_remote_list_nwfilters_args (XDR *, remote_list_nwfilters_args*);
extern  bool_t xdr_remote_list_nwfilters_ret (XDR *, remote_list_nwfilters_ret*);
extern  bool_t xdr_remote_nwfilter_lookup_by_uuid_args (XDR *, remote_nwfilter_lookup_by_uuid_args*);
extern  bool_t xdr_remote_nwfilter_lookup_by_uuid_ret (XDR *, remote_nwfilter_lookup_by_uuid_ret*);
extern  bool_t xdr_remote_nwfilter_lookup_by_name_args (XDR *, remote_nwfilter_lookup_by_name_args*);
extern  bool_t xdr_remote_nwfilter_lookup_by_name_ret (XDR *, remote_nwfilter_lookup_by_name_ret*);
extern  bool_t xdr_remote_nwfilter_define_xml_args (XDR *, remote_nwfilter_define_xml_args*);
extern  bool_t xdr_remote_nwfilter_define_xml_ret (XDR *, remote_nwfilter_define_xml_ret*);
extern  bool_t xdr_remote_nwfilter_undefine_args (XDR *, remote_nwfilter_undefine_args*);
extern  bool_t xdr_remote_nwfilter_get_xml_desc_args (XDR *, remote_nwfilter_get_xml_desc_args*);
extern  bool_t xdr_remote_nwfilter_get_xml_desc_ret (XDR *, remote_nwfilter_get_xml_desc_ret*);
D
Daniel Veillard 已提交
2404 2405 2406
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*);
2407 2408 2409
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 已提交
2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420
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*);
2421 2422 2423 2424 2425 2426
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*);
2427
extern  bool_t xdr_remote_auth_polkit_ret (XDR *, remote_auth_polkit_ret*);
2428 2429 2430 2431 2432 2433
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*);
2434 2435
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*);
2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470
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*);
2471 2472
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*);
2473
extern  bool_t xdr_remote_storage_vol_delete_args (XDR *, remote_storage_vol_delete_args*);
2474
extern  bool_t xdr_remote_storage_vol_wipe_args (XDR *, remote_storage_vol_wipe_args*);
2475 2476 2477 2478 2479 2480
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*);
2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494
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*);
2495 2496 2497
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*);
2498 2499 2500
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*);
2501 2502
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*);
2503
extern  bool_t xdr_remote_domain_event_lifecycle_msg (XDR *, remote_domain_event_lifecycle_msg*);
2504 2505 2506 2507
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*);
2508 2509 2510
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*);
2511 2512
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*);
2513 2514 2515 2516 2517 2518 2519 2520
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*);
2521 2522
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 已提交
2523
extern  bool_t xdr_remote_domain_migrate_prepare_tunnel_args (XDR *, remote_domain_migrate_prepare_tunnel_args*);
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538
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*);
2539 2540
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*);
2541 2542
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*);
2543 2544
extern  bool_t xdr_remote_domain_get_job_info_args (XDR *, remote_domain_get_job_info_args*);
extern  bool_t xdr_remote_domain_get_job_info_ret (XDR *, remote_domain_get_job_info_ret*);
2545
extern  bool_t xdr_remote_domain_abort_job_args (XDR *, remote_domain_abort_job_args*);
2546
extern  bool_t xdr_remote_domain_migrate_set_max_downtime_args (XDR *, remote_domain_migrate_set_max_downtime_args*);
2547 2548
extern  bool_t xdr_remote_domain_events_register_any_args (XDR *, remote_domain_events_register_any_args*);
extern  bool_t xdr_remote_domain_events_deregister_any_args (XDR *, remote_domain_events_deregister_any_args*);
2549
extern  bool_t xdr_remote_domain_event_reboot_msg (XDR *, remote_domain_event_reboot_msg*);
2550
extern  bool_t xdr_remote_domain_event_rtc_change_msg (XDR *, remote_domain_event_rtc_change_msg*);
2551
extern  bool_t xdr_remote_domain_event_watchdog_msg (XDR *, remote_domain_event_watchdog_msg*);
2552
extern  bool_t xdr_remote_domain_event_io_error_msg (XDR *, remote_domain_event_io_error_msg*);
2553
extern  bool_t xdr_remote_domain_event_io_error_reason_msg (XDR *, remote_domain_event_io_error_reason_msg*);
2554 2555 2556
extern  bool_t xdr_remote_domain_event_graphics_address (XDR *, remote_domain_event_graphics_address*);
extern  bool_t xdr_remote_domain_event_graphics_identity (XDR *, remote_domain_event_graphics_identity*);
extern  bool_t xdr_remote_domain_event_graphics_msg (XDR *, remote_domain_event_graphics_msg*);
2557 2558 2559 2560
extern  bool_t xdr_remote_domain_managed_save_args (XDR *, remote_domain_managed_save_args*);
extern  bool_t xdr_remote_domain_has_managed_save_image_args (XDR *, remote_domain_has_managed_save_image_args*);
extern  bool_t xdr_remote_domain_has_managed_save_image_ret (XDR *, remote_domain_has_managed_save_image_ret*);
extern  bool_t xdr_remote_domain_managed_save_remove_args (XDR *, remote_domain_managed_save_remove_args*);
C
Chris Lalancette 已提交
2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576
extern  bool_t xdr_remote_domain_snapshot_create_xml_args (XDR *, remote_domain_snapshot_create_xml_args*);
extern  bool_t xdr_remote_domain_snapshot_create_xml_ret (XDR *, remote_domain_snapshot_create_xml_ret*);
extern  bool_t xdr_remote_domain_snapshot_dump_xml_args (XDR *, remote_domain_snapshot_dump_xml_args*);
extern  bool_t xdr_remote_domain_snapshot_dump_xml_ret (XDR *, remote_domain_snapshot_dump_xml_ret*);
extern  bool_t xdr_remote_domain_snapshot_num_args (XDR *, remote_domain_snapshot_num_args*);
extern  bool_t xdr_remote_domain_snapshot_num_ret (XDR *, remote_domain_snapshot_num_ret*);
extern  bool_t xdr_remote_domain_snapshot_list_names_args (XDR *, remote_domain_snapshot_list_names_args*);
extern  bool_t xdr_remote_domain_snapshot_list_names_ret (XDR *, remote_domain_snapshot_list_names_ret*);
extern  bool_t xdr_remote_domain_snapshot_lookup_by_name_args (XDR *, remote_domain_snapshot_lookup_by_name_args*);
extern  bool_t xdr_remote_domain_snapshot_lookup_by_name_ret (XDR *, remote_domain_snapshot_lookup_by_name_ret*);
extern  bool_t xdr_remote_domain_has_current_snapshot_args (XDR *, remote_domain_has_current_snapshot_args*);
extern  bool_t xdr_remote_domain_has_current_snapshot_ret (XDR *, remote_domain_has_current_snapshot_ret*);
extern  bool_t xdr_remote_domain_snapshot_current_args (XDR *, remote_domain_snapshot_current_args*);
extern  bool_t xdr_remote_domain_snapshot_current_ret (XDR *, remote_domain_snapshot_current_ret*);
extern  bool_t xdr_remote_domain_revert_to_snapshot_args (XDR *, remote_domain_revert_to_snapshot_args*);
extern  bool_t xdr_remote_domain_snapshot_delete_args (XDR *, remote_domain_snapshot_delete_args*);
2577
extern  bool_t xdr_remote_procedure (XDR *, remote_procedure*);
2578
extern  bool_t xdr_remote_message_type (XDR *, remote_message_type*);
2579 2580 2581
extern  bool_t xdr_remote_message_status (XDR *, remote_message_status*);
extern  bool_t xdr_remote_message_header (XDR *, remote_message_header*);

2582
#else /* K&R C */
2583 2584 2585 2586 2587
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 ();
2588
extern bool_t xdr_remote_nonnull_nwfilter ();
D
Daniel Veillard 已提交
2589
extern bool_t xdr_remote_nonnull_interface ();
2590 2591
extern bool_t xdr_remote_nonnull_storage_pool ();
extern bool_t xdr_remote_nonnull_storage_vol ();
2592
extern bool_t xdr_remote_nonnull_node_device ();
2593
extern bool_t xdr_remote_nonnull_secret ();
C
Chris Lalancette 已提交
2594
extern bool_t xdr_remote_nonnull_domain_snapshot ();
2595 2596
extern bool_t xdr_remote_domain ();
extern bool_t xdr_remote_network ();
2597
extern bool_t xdr_remote_nwfilter ();
2598 2599
extern bool_t xdr_remote_storage_pool ();
extern bool_t xdr_remote_storage_vol ();
2600
extern bool_t xdr_remote_node_device ();
2601
extern bool_t xdr_remote_error ();
2602
extern bool_t xdr_remote_auth_type ();
2603
extern bool_t xdr_remote_vcpu_info ();
2604 2605
extern bool_t xdr_remote_sched_param_value ();
extern bool_t xdr_remote_sched_param ();
2606
extern bool_t xdr_remote_open_args ();
2607 2608
extern bool_t xdr_remote_supports_feature_args ();
extern bool_t xdr_remote_supports_feature_ret ();
2609 2610
extern bool_t xdr_remote_get_type_ret ();
extern bool_t xdr_remote_get_version_ret ();
2611
extern bool_t xdr_remote_get_lib_version_ret ();
2612
extern bool_t xdr_remote_get_hostname_ret ();
2613
extern bool_t xdr_remote_get_uri_ret ();
2614 2615 2616 2617
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 ();
2618 2619 2620
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 ();
2621 2622 2623 2624 2625
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 ();
2626 2627 2628 2629
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 ();
2630 2631 2632
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 ();
2633 2634
extern bool_t xdr_remote_domain_block_peek_args ();
extern bool_t xdr_remote_domain_block_peek_ret ();
R
Richard W.M. Jones 已提交
2635 2636
extern bool_t xdr_remote_domain_memory_peek_args ();
extern bool_t xdr_remote_domain_memory_peek_ret ();
2637 2638
extern bool_t xdr_remote_domain_get_block_info_args ();
extern bool_t xdr_remote_domain_get_block_info_ret ();
2639 2640 2641
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 ();
2642 2643
extern bool_t xdr_remote_domain_create_xml_args ();
extern bool_t xdr_remote_domain_create_xml_ret ();
2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667
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 ();
2668 2669 2670 2671 2672
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 已提交
2673 2674 2675 2676
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 ();
2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689
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 ();
2690 2691 2692
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 ();
2693
extern bool_t xdr_remote_domain_attach_device_args ();
2694
extern bool_t xdr_remote_domain_attach_device_flags_args ();
2695
extern bool_t xdr_remote_domain_detach_device_args ();
2696
extern bool_t xdr_remote_domain_detach_device_flags_args ();
2697
extern bool_t xdr_remote_domain_update_device_flags_args ();
2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724
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 ();
2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736
extern bool_t xdr_remote_num_of_nwfilters_ret ();
extern bool_t xdr_remote_list_nwfilters_args ();
extern bool_t xdr_remote_list_nwfilters_ret ();
extern bool_t xdr_remote_nwfilter_lookup_by_uuid_args ();
extern bool_t xdr_remote_nwfilter_lookup_by_uuid_ret ();
extern bool_t xdr_remote_nwfilter_lookup_by_name_args ();
extern bool_t xdr_remote_nwfilter_lookup_by_name_ret ();
extern bool_t xdr_remote_nwfilter_define_xml_args ();
extern bool_t xdr_remote_nwfilter_define_xml_ret ();
extern bool_t xdr_remote_nwfilter_undefine_args ();
extern bool_t xdr_remote_nwfilter_get_xml_desc_args ();
extern bool_t xdr_remote_nwfilter_get_xml_desc_ret ();
D
Daniel Veillard 已提交
2737 2738 2739
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 ();
2740 2741 2742
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 已提交
2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753
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 ();
2754 2755 2756 2757 2758 2759
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 ();
2760
extern bool_t xdr_remote_auth_polkit_ret ();
2761 2762 2763 2764 2765 2766
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 ();
2767 2768
extern bool_t xdr_remote_find_storage_pool_sources_args ();
extern bool_t xdr_remote_find_storage_pool_sources_ret ();
2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803
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 ();
2804 2805
extern bool_t xdr_remote_storage_vol_create_xml_from_args ();
extern bool_t xdr_remote_storage_vol_create_xml_from_ret ();
2806
extern bool_t xdr_remote_storage_vol_delete_args ();
2807
extern bool_t xdr_remote_storage_vol_wipe_args ();
2808 2809 2810 2811 2812 2813
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 ();
2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827
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 ();
2828 2829 2830
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 ();
2831 2832 2833
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 ();
2834 2835
extern bool_t xdr_remote_domain_events_register_ret ();
extern bool_t xdr_remote_domain_events_deregister_ret ();
2836
extern bool_t xdr_remote_domain_event_lifecycle_msg ();
2837 2838 2839 2840
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 ();
2841 2842 2843
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 ();
2844 2845
extern bool_t xdr_remote_secret_lookup_by_uuid_args ();
extern bool_t xdr_remote_secret_lookup_by_uuid_ret ();
2846 2847 2848 2849 2850 2851 2852 2853
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 ();
2854 2855
extern bool_t xdr_remote_secret_lookup_by_usage_args ();
extern bool_t xdr_remote_secret_lookup_by_usage_ret ();
C
Chris Lalancette 已提交
2856
extern bool_t xdr_remote_domain_migrate_prepare_tunnel_args ();
2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871
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 ();
2872 2873
extern bool_t xdr_remote_cpu_compare_args ();
extern bool_t xdr_remote_cpu_compare_ret ();
2874 2875
extern bool_t xdr_remote_cpu_baseline_args ();
extern bool_t xdr_remote_cpu_baseline_ret ();
2876 2877
extern bool_t xdr_remote_domain_get_job_info_args ();
extern bool_t xdr_remote_domain_get_job_info_ret ();
2878
extern bool_t xdr_remote_domain_abort_job_args ();
2879
extern bool_t xdr_remote_domain_migrate_set_max_downtime_args ();
2880 2881
extern bool_t xdr_remote_domain_events_register_any_args ();
extern bool_t xdr_remote_domain_events_deregister_any_args ();
2882
extern bool_t xdr_remote_domain_event_reboot_msg ();
2883
extern bool_t xdr_remote_domain_event_rtc_change_msg ();
2884
extern bool_t xdr_remote_domain_event_watchdog_msg ();
2885
extern bool_t xdr_remote_domain_event_io_error_msg ();
2886
extern bool_t xdr_remote_domain_event_io_error_reason_msg ();
2887 2888 2889
extern bool_t xdr_remote_domain_event_graphics_address ();
extern bool_t xdr_remote_domain_event_graphics_identity ();
extern bool_t xdr_remote_domain_event_graphics_msg ();
2890 2891 2892 2893
extern bool_t xdr_remote_domain_managed_save_args ();
extern bool_t xdr_remote_domain_has_managed_save_image_args ();
extern bool_t xdr_remote_domain_has_managed_save_image_ret ();
extern bool_t xdr_remote_domain_managed_save_remove_args ();
C
Chris Lalancette 已提交
2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909
extern bool_t xdr_remote_domain_snapshot_create_xml_args ();
extern bool_t xdr_remote_domain_snapshot_create_xml_ret ();
extern bool_t xdr_remote_domain_snapshot_dump_xml_args ();
extern bool_t xdr_remote_domain_snapshot_dump_xml_ret ();
extern bool_t xdr_remote_domain_snapshot_num_args ();
extern bool_t xdr_remote_domain_snapshot_num_ret ();
extern bool_t xdr_remote_domain_snapshot_list_names_args ();
extern bool_t xdr_remote_domain_snapshot_list_names_ret ();
extern bool_t xdr_remote_domain_snapshot_lookup_by_name_args ();
extern bool_t xdr_remote_domain_snapshot_lookup_by_name_ret ();
extern bool_t xdr_remote_domain_has_current_snapshot_args ();
extern bool_t xdr_remote_domain_has_current_snapshot_ret ();
extern bool_t xdr_remote_domain_snapshot_current_args ();
extern bool_t xdr_remote_domain_snapshot_current_ret ();
extern bool_t xdr_remote_domain_revert_to_snapshot_args ();
extern bool_t xdr_remote_domain_snapshot_delete_args ();
2910
extern bool_t xdr_remote_procedure ();
2911
extern bool_t xdr_remote_message_type ();
2912 2913 2914
extern bool_t xdr_remote_message_status ();
extern bool_t xdr_remote_message_header ();

2915
#endif /* K&R C */
2916

2917
#ifdef __cplusplus
2918
}
2919
#endif
2920

2921
#endif /* !_RP_H_RPCGEN */