Merge tag 'upstream/0.0.7'
Upstream version 0.0.7
# gpg: Signature made Di 03 Apr 2012 12:40:04 CEST
# gpg: using DSA key 0x9FCF2CCD3F3E6426
# gpg: please do a --check-trustdb
# gpg: Good signature from "Guido Günther <agx@sigxcpu.org>"
# gpg: aka "Guido Guenther <agx@debian.org>"
# gpg: aka "Guido Guenther <agx@sigxcpu.org>"
Guido Günther
12 years ago
0 | 2012-03-30 Daniel P. Berrange <berrange@redhat.com> | |
1 | ||
2 | Update NEWS for 0.0.7 release | |
3 | ||
4 | Update RPM specs to required libvirt 0.9.10 | |
5 | ||
6 | Fix typo s/ACCESS_SQUASHED/ACCESS_SQUASH/ | |
7 | ||
8 | Fix generation of docs in a VPATH builder | |
9 | The DOC_SOURCE_DIR variable was missing the $(top_srcdir) variable | |
10 | so it could not find the source files when run from a VPATH build. | |
11 | Empirically the previous comment saying that $(top_srcdir) was not | |
12 | needed is wrong. | |
13 | ||
14 | 2012-03-28 Christophe Fergeau <cfergeau@redhat.com> | |
15 | ||
16 | Do not encode entities in XML attributes | |
17 | libxml2 will properly escape < > and " in XML attribute content. If | |
18 | we use xmlEncodeEntitiesReentrant for attributes, this causes issues | |
19 | with UTF8 filenames (gvir_config_domain_disk_set_source for example): | |
20 | the filename UTF8 characters will be substituted with entities | |
21 | (é -> é), but when it uses this filename, libvirt will use it as | |
22 | is and will fail to find the file. | |
23 | I've tested that with this change gnome-boxes can open ISOs in directories | |
24 | with 'é' in their names, and in directories with '&foo;xx<' in their names. | |
25 | ||
26 | Remove unneeded call in libvirt-gconfig test | |
27 | Because of a copy and paste error, the test program is making an | |
28 | unneeded call to gvir_config_domain_channel_set_target_type | |
29 | when setting up its USB redirection device. | |
30 | ||
31 | 2012-03-22 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
32 | ||
33 | Bump version | |
34 | ||
35 | 2012-03-14 Christophe Fergeau <cfergeau@redhat.com> | |
36 | ||
37 | Add GVirConfigDomainRedirdev | |
38 | This is used to add the SPICE USB redirection channel. Even if | |
39 | the libvirt doc doesn't document it with the other devices deriving | |
40 | from GVirConfigDomainChardev, I think it makes sense to have this | |
41 | class derivers from GVirConfigDomainChardev too since it needs a | |
42 | GVirConfigDomainChardevSource, and it's documented as using a | |
43 | character device for redirection. | |
44 | ||
45 | Add LibvirtGConfigDomainChardevSourceSpiceVmc | |
46 | This is needed to be able to add the SPICE agent channels | |
47 | ||
48 | 2012-03-13 Christophe Fergeau <cfergeau@redhat.com> | |
49 | ||
50 | Fix GVIR_CONFIG_DOMAIN_CHANNEL_TARGET_GUESTFWD name | |
51 | It was called GVIR_CONFIG_DOMAIN_CONSOLE_TARGET_GUESTFWD, which in | |
52 | turn confused glib-mkenums, leading to a wrong value being generated | |
53 | in the XML when trying to use this enumeration. | |
54 | ||
55 | 2012-03-12 Christophe Fergeau <cfergeau@redhat.com> | |
56 | ||
57 | Remove the _glib xml helpers | |
58 | The reason for them being there was that they were more expensive | |
59 | than the helpers returning an xmlChar* (additional g_strdup). Now | |
60 | that we are returning a pointer to const data inside the xml node, | |
61 | the _glib helpers only use is to cast from const xmlChar * to | |
62 | const char *. Removing them makes the code simpler. | |
63 | ||
64 | 2012-03-12 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
65 | ||
66 | All string getters should return 'const' | |
67 | There is no need for all the memory (de)allocations and especially | |
68 | forcing the app developers to free the strings. They can always | |
69 | g_strdup() the returned string if they need. | |
70 | ||
71 | Reviewer and co-author: Christophe Fergeau <cfergeau@redhat.com> | |
72 | ||
73 | 2012-03-06 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
74 | ||
75 | Keep domain devices list sorted | |
76 | While we don't guarantee the order of devices in the list returned from | |
77 | gvir_domain_get_devices(), its not a bad idea to keep them sorted the | |
78 | same way we get them from configuration (XML). | |
79 | ||
0 | 80 | 2012-03-05 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> |
1 | 81 | |
2 | 82 | Release 0.0.6 |
14 | 94 | some reason. (even if it did, I am not sure it would work correctly, |
15 | 95 | so I prefer that patch) |
16 | 96 | |
17 | 2012-03-02 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
97 | 2012-03-01 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
18 | 98 | |
19 | 99 | Correct a check |
20 | ||
21 | 2012-03-01 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
22 | 100 | |
23 | 101 | RFC: Empty statistics for user-mode interfaces |
24 | 102 | One of the limitations of user-mode networking of libvirt is that you |
372 | 450 | |
373 | 451 | Add gvir_gconfig_object_remove_attribute helper |
374 | 452 | |
375 | 2012-01-05 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
453 | 2012-01-04 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
376 | 454 | |
377 | 455 | Add docs for gvir_config_domain_set/get_memory |
378 | 456 | Its not obvious what units these functions deal with so docs are |
507 | 585 | |
508 | 586 | Only enable vala for Fedora 16 and later |
509 | 587 | |
588 | 2011-12-06 Daniel P. Berrange <berrange@redhat.com> | |
589 | ||
510 | 590 | Allow cancelling gvir_stream_send_all & gvir_stream_receive_all |
511 | 591 | Add GCancellable parameters to gvir_stream_send_all and |
512 | 592 | gvir_stream_receive_all to allow I/O to be interrupted |
513 | 593 | before completion |
514 | ||
515 | 2011-12-06 Daniel P. Berrange <berrange@redhat.com> | |
516 | 594 | |
517 | 595 | Add flags for controling how domains are started |
518 | 596 | |
1115 | 1193 | |
1116 | 1194 | Release 0.0.2 |
1117 | 1195 | |
1196 | 2011-11-21 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
1197 | ||
1118 | 1198 | Add API to redefine an existing domain |
1119 | 1199 | |
1120 | 1200 | 2011-11-18 Guido Günther <agx@sigxcpu.org> |
1369 | 1449 | |
1370 | 1450 | Fix vapigen on uninstalled environment |
1371 | 1451 | |
1452 | 2011-10-20 Marc-André Lureau <marcandre.lureau@redhat.com> | |
1453 | ||
1372 | 1454 | Fix GIR scanner on uninstalled environment |
1373 | 1455 | |
1374 | 2011-10-20 Marc-André Lureau <marcandre.lureau@redhat.com> | |
1456 | 2011-10-19 Marc-André Lureau <marcandre.lureau@redhat.com> | |
1375 | 1457 | |
1376 | 1458 | Fix wrong signals arguments |
1377 | 1459 | |
1511 | 1593 | Actually provide gvir_storage_vol_get_path() |
1512 | 1594 | This was only declared in header previously but not implemented. |
1513 | 1595 | |
1596 | 2011-09-27 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
1597 | ||
1514 | 1598 | Refactor two very huge functions a bit |
1515 | ||
1516 | 2011-09-27 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
1517 | 1599 | |
1518 | 1600 | Plug a leak |
1519 | 1601 | |
1531 | 1613 | |
1532 | 1614 | Ability to create new domains |
1533 | 1615 | |
1616 | 2011-09-26 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
1617 | ||
1534 | 1618 | Remove redundant empty line |
1535 | ||
1536 | 2011-09-26 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | |
1537 | 1619 | |
1538 | 1620 | Fix some obvious c&p mistakes |
1539 | 1621 |
0 | 0 | libvirt-glib News |
1 | 1 | ================= |
2 | ||
3 | 0.0.7 - Mar 30, 2012 | |
4 | ==================== | |
5 | ||
6 | - Fix typo in filesystem access mode constant | |
7 | - Remove incorrect encoding of XML attributes | |
8 | - Add support for USB redirection devices | |
9 | - Add support for SPICE agent device | |
10 | - Fix typo in channel device target constant | |
11 | - Make all string getters return a const string | |
12 | - Keep list of devices sorted in original XML order | |
2 | 13 | |
3 | 14 | 0.0.6 - Mar 05, 2012 |
4 | 15 | ==================== |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.68 for libvirt-glib 0.0.6. | |
2 | # Generated by GNU Autoconf 2.68 for libvirt-glib 0.0.7. | |
3 | 3 | # |
4 | 4 | # |
5 | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
566 | 566 | # Identity of this package. |
567 | 567 | PACKAGE_NAME='libvirt-glib' |
568 | 568 | PACKAGE_TARNAME='libvirt-glib' |
569 | PACKAGE_VERSION='0.0.6' | |
570 | PACKAGE_STRING='libvirt-glib 0.0.6' | |
569 | PACKAGE_VERSION='0.0.7' | |
570 | PACKAGE_STRING='libvirt-glib 0.0.7' | |
571 | 571 | PACKAGE_BUGREPORT='' |
572 | 572 | PACKAGE_URL='' |
573 | 573 | |
1377 | 1377 | # Omit some internal or obsolete options to make the list less imposing. |
1378 | 1378 | # This message is too long to be a string in the A/UX 3.1 sh. |
1379 | 1379 | cat <<_ACEOF |
1380 | \`configure' configures libvirt-glib 0.0.6 to adapt to many kinds of systems. | |
1380 | \`configure' configures libvirt-glib 0.0.7 to adapt to many kinds of systems. | |
1381 | 1381 | |
1382 | 1382 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1383 | 1383 | |
1447 | 1447 | |
1448 | 1448 | if test -n "$ac_init_help"; then |
1449 | 1449 | case $ac_init_help in |
1450 | short | recursive ) echo "Configuration of libvirt-glib 0.0.6:";; | |
1450 | short | recursive ) echo "Configuration of libvirt-glib 0.0.7:";; | |
1451 | 1451 | esac |
1452 | 1452 | cat <<\_ACEOF |
1453 | 1453 | |
1594 | 1594 | test -n "$ac_init_help" && exit $ac_status |
1595 | 1595 | if $ac_init_version; then |
1596 | 1596 | cat <<\_ACEOF |
1597 | libvirt-glib configure 0.0.6 | |
1597 | libvirt-glib configure 0.0.7 | |
1598 | 1598 | generated by GNU Autoconf 2.68 |
1599 | 1599 | |
1600 | 1600 | Copyright (C) 2010 Free Software Foundation, Inc. |
1872 | 1872 | This file contains any messages produced by compilers while |
1873 | 1873 | running configure, to aid debugging if configure makes a mistake. |
1874 | 1874 | |
1875 | It was created by libvirt-glib $as_me 0.0.6, which was | |
1875 | It was created by libvirt-glib $as_me 0.0.7, which was | |
1876 | 1876 | generated by GNU Autoconf 2.68. Invocation command line was |
1877 | 1877 | |
1878 | 1878 | $ $0 $@ |
2691 | 2691 | |
2692 | 2692 | # Define the identity of the package. |
2693 | 2693 | PACKAGE='libvirt-glib' |
2694 | VERSION='0.0.6' | |
2694 | VERSION='0.0.7' | |
2695 | 2695 | |
2696 | 2696 | |
2697 | 2697 | cat >>confdefs.h <<_ACEOF |
14627 | 14627 | # report actual input values of CONFIG_FILES etc. instead of their |
14628 | 14628 | # values after options handling. |
14629 | 14629 | ac_log=" |
14630 | This file was extended by libvirt-glib $as_me 0.0.6, which was | |
14630 | This file was extended by libvirt-glib $as_me 0.0.7, which was | |
14631 | 14631 | generated by GNU Autoconf 2.68. Invocation command line was |
14632 | 14632 | |
14633 | 14633 | CONFIG_FILES = $CONFIG_FILES |
14697 | 14697 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14698 | 14698 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
14699 | 14699 | ac_cs_version="\\ |
14700 | libvirt-glib config.status 0.0.6 | |
14700 | libvirt-glib config.status 0.0.7 | |
14701 | 14701 | configured by $0, generated by GNU Autoconf 2.68, |
14702 | 14702 | with options \\"\$ac_cs_config\\" |
14703 | 14703 |
0 | AC_INIT(libvirt-glib, 0.0.6) | |
0 | AC_INIT(libvirt-glib, 0.0.7) | |
1 | 1 | AC_CONFIG_SRCDIR(libvirt-glib/libvirt-glib-main.c) |
2 | 2 | AC_CONFIG_AUX_DIR([build-aux]) |
3 | 3 | AM_CONFIG_HEADER(config.h) |
132 | 132 | GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE_PTY |
133 | 133 | GVirConfigDomainChardevSourcePtyPrivate |
134 | 134 | gvir_config_domain_chardev_source_pty_get_type |
135 | </SECTION> | |
136 | ||
137 | <SECTION> | |
138 | <FILE>libvirt-gconfig-domain-chardev-source-spicevmc</FILE> | |
139 | <TITLE>GVirConfigDomainChardevSourceSpiceVmc</TITLE> | |
140 | GVirConfigDomainChardevSourceSpiceVmc | |
141 | GVirConfigDomainChardevSourceSpiceVmcClass | |
142 | gvir_config_domain_chardev_source_spicevmc_new | |
143 | gvir_config_domain_chardev_source_spicevmc_new_from_xml | |
144 | <SUBSECTION Standard> | |
145 | GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC | |
146 | GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC_CLASS | |
147 | GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC_GET_CLASS | |
148 | GVIR_CONFIG_IS_DOMAIN_CHARDEV_SOURCE_SPICE_VMC | |
149 | GVIR_CONFIG_IS_DOMAIN_CHARDEV_SOURCE_SPICE_VMC_CLASS | |
150 | GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE_SPICE_VMC | |
151 | GVirConfigDomainChardevSourceSpiceVmcPrivate | |
152 | gvir_config_domain_chardev_source_spicevmc_get_type | |
135 | 153 | </SECTION> |
136 | 154 | |
137 | 155 | <SECTION> |
524 | 542 | </SECTION> |
525 | 543 | |
526 | 544 | <SECTION> |
545 | <FILE>libvirt-gconfig-domain-redirdev</FILE> | |
546 | <TITLE>GVirConfigDomainRedirdev</TITLE> | |
547 | GVirConfigDomainRedirdev | |
548 | GVirConfigDomainRedirdevBus | |
549 | GVirConfigDomainRedirdevClass | |
550 | gvir_config_domain_redirdev_new | |
551 | gvir_config_domain_redirdev_new_from_xml | |
552 | gvir_config_domain_redirdev_set_bus | |
553 | <SUBSECTION Standard> | |
554 | GVIR_CONFIG_DOMAIN_REDIRDEV | |
555 | GVIR_CONFIG_DOMAIN_REDIRDEV_CLASS | |
556 | GVIR_CONFIG_DOMAIN_REDIRDEV_GET_CLASS | |
557 | GVIR_CONFIG_IS_DOMAIN_REDIRDEV | |
558 | GVIR_CONFIG_IS_DOMAIN_REDIRDEV_CLASS | |
559 | GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV | |
560 | GVirConfigDomainRedirdevPrivate | |
561 | gvir_config_domain_redirdev_get_type | |
562 | </SECTION> | |
563 | ||
564 | <SECTION> | |
527 | 565 | <FILE>libvirt-gconfig-domain-seclabel</FILE> |
528 | 566 | <TITLE>GVirConfigDomainSeclabel</TITLE> |
529 | 567 | GVirConfigDomainSeclabel |
643 | 681 | </SECTION> |
644 | 682 | |
645 | 683 | <SECTION> |
646 | <FILE>libvirt-gconfig-enum-types</FILE> | |
647 | GVIR_CONFIG_TYPE_DOMAIN_CHANNEL_TARGET_TYPE | |
648 | GVIR_CONFIG_TYPE_DOMAIN_CLOCK_OFFSET | |
649 | GVIR_CONFIG_TYPE_DOMAIN_CONSOLE_TARGET_TYPE | |
650 | GVIR_CONFIG_TYPE_DOMAIN_DISK_BUS | |
651 | GVIR_CONFIG_TYPE_DOMAIN_DISK_CACHE_TYPE | |
652 | GVIR_CONFIG_TYPE_DOMAIN_DISK_GUEST_DEVICE_TYPE | |
653 | GVIR_CONFIG_TYPE_DOMAIN_DISK_SNAPSHOT_TYPE | |
654 | GVIR_CONFIG_TYPE_DOMAIN_DISK_TYPE | |
655 | GVIR_CONFIG_TYPE_DOMAIN_FILESYS_ACCESS_TYPE | |
656 | GVIR_CONFIG_TYPE_DOMAIN_FILESYS_DRIVER_TYPE | |
657 | GVIR_CONFIG_TYPE_DOMAIN_FILESYS_TYPE | |
658 | GVIR_CONFIG_TYPE_DOMAIN_INPUT_BUS | |
659 | GVIR_CONFIG_TYPE_DOMAIN_INPUT_DEVICE_TYPE | |
660 | GVIR_CONFIG_TYPE_DOMAIN_INTERFACE_LINK_STATE | |
661 | GVIR_CONFIG_TYPE_DOMAIN_LIFECYCLE_ACTION | |
662 | GVIR_CONFIG_TYPE_DOMAIN_LIFECYCLE_EVENT | |
663 | GVIR_CONFIG_TYPE_DOMAIN_MEMBALLOON_MODEL | |
664 | GVIR_CONFIG_TYPE_DOMAIN_OS_BOOT_DEVICE | |
665 | GVIR_CONFIG_TYPE_DOMAIN_OS_SM_BIOS_MODE | |
666 | GVIR_CONFIG_TYPE_DOMAIN_OS_TYPE | |
667 | GVIR_CONFIG_TYPE_DOMAIN_SECLABEL_TYPE | |
668 | GVIR_CONFIG_TYPE_DOMAIN_SOUND_MODEL | |
669 | GVIR_CONFIG_TYPE_DOMAIN_VIDEO_MODEL | |
670 | GVIR_CONFIG_TYPE_DOMAIN_VIRT_TYPE | |
671 | GVIR_CONFIG_TYPE_STORAGE_POOL_TYPE | |
672 | <SUBSECTION Standard> | |
673 | gvir_config_domain_channel_target_type_get_type | |
674 | gvir_config_domain_clock_offset_get_type | |
675 | gvir_config_domain_console_target_type_get_type | |
676 | gvir_config_domain_disk_bus_get_type | |
677 | gvir_config_domain_disk_cache_type_get_type | |
678 | gvir_config_domain_disk_guest_device_type_get_type | |
679 | gvir_config_domain_disk_snapshot_type_get_type | |
680 | gvir_config_domain_disk_type_get_type | |
681 | gvir_config_domain_filesys_access_type_get_type | |
682 | gvir_config_domain_filesys_driver_type_get_type | |
683 | gvir_config_domain_filesys_type_get_type | |
684 | gvir_config_domain_input_bus_get_type | |
685 | gvir_config_domain_input_device_type_get_type | |
686 | gvir_config_domain_interface_link_state_get_type | |
687 | gvir_config_domain_lifecycle_action_get_type | |
688 | gvir_config_domain_lifecycle_event_get_type | |
689 | gvir_config_domain_memballoon_model_get_type | |
690 | gvir_config_domain_os_boot_device_get_type | |
691 | gvir_config_domain_os_sm_bios_mode_get_type | |
692 | gvir_config_domain_os_type_get_type | |
693 | gvir_config_domain_seclabel_type_get_type | |
694 | gvir_config_domain_sound_model_get_type | |
695 | gvir_config_domain_video_model_get_type | |
696 | gvir_config_domain_virt_type_get_type | |
697 | gvir_config_storage_pool_type_get_type | |
698 | </SECTION> | |
699 | ||
700 | <SECTION> | |
701 | 684 | <FILE>libvirt-gconfig-helpers</FILE> |
702 | 685 | GVIR_CONFIG_OBJECT_ERROR |
703 | 686 | gvir_config_object_error_quark |
714 | 697 | gvir_config_set_error_valist |
715 | 698 | gvir_config_xml_foreach_child |
716 | 699 | gvir_config_xml_get_attribute_content |
717 | gvir_config_xml_get_attribute_content_glib | |
718 | 700 | gvir_config_xml_get_child_element_content |
719 | gvir_config_xml_get_child_element_content_glib | |
720 | 701 | gvir_config_xml_get_element |
721 | 702 | gvir_config_xml_node_to_string |
722 | 703 | gvir_config_xml_parse |
0 | 0 | gvir_config_capabilities_get_type |
1 | 1 | gvir_config_domain_channel_get_type |
2 | gvir_config_domain_channel_target_type_get_type | |
3 | 2 | gvir_config_domain_chardev_get_type |
4 | 3 | gvir_config_domain_chardev_source_get_type |
5 | 4 | gvir_config_domain_chardev_source_pty_get_type |
5 | gvir_config_domain_chardev_source_spicevmc_get_type | |
6 | 6 | gvir_config_domain_clock_get_type |
7 | gvir_config_domain_clock_offset_get_type | |
8 | 7 | gvir_config_domain_console_get_type |
9 | gvir_config_domain_console_target_type_get_type | |
10 | 8 | gvir_config_domain_device_get_type |
11 | gvir_config_domain_disk_bus_get_type | |
12 | gvir_config_domain_disk_cache_type_get_type | |
13 | 9 | gvir_config_domain_disk_get_type |
14 | gvir_config_domain_disk_guest_device_type_get_type | |
15 | gvir_config_domain_disk_snapshot_type_get_type | |
16 | gvir_config_domain_disk_type_get_type | |
17 | gvir_config_domain_filesys_access_type_get_type | |
18 | gvir_config_domain_filesys_driver_type_get_type | |
19 | 10 | gvir_config_domain_filesys_get_type |
20 | gvir_config_domain_filesys_type_get_type | |
21 | 11 | gvir_config_domain_get_type |
22 | 12 | gvir_config_domain_graphics_get_type |
23 | 13 | gvir_config_domain_graphics_sdl_get_type |
24 | 14 | gvir_config_domain_graphics_spice_get_type |
25 | 15 | gvir_config_domain_graphics_vnc_get_type |
26 | gvir_config_domain_input_bus_get_type | |
27 | gvir_config_domain_input_device_type_get_type | |
28 | 16 | gvir_config_domain_input_get_type |
29 | 17 | gvir_config_domain_interface_bridge_get_type |
30 | 18 | gvir_config_domain_interface_get_type |
31 | gvir_config_domain_interface_link_state_get_type | |
32 | 19 | gvir_config_domain_interface_network_get_type |
33 | 20 | gvir_config_domain_interface_user_get_type |
34 | gvir_config_domain_lifecycle_action_get_type | |
35 | gvir_config_domain_lifecycle_event_get_type | |
36 | 21 | gvir_config_domain_memballoon_get_type |
37 | gvir_config_domain_memballoon_model_get_type | |
38 | gvir_config_domain_os_boot_device_get_type | |
39 | 22 | gvir_config_domain_os_get_type |
40 | gvir_config_domain_os_sm_bios_mode_get_type | |
41 | gvir_config_domain_os_type_get_type | |
42 | 23 | gvir_config_domain_parallel_get_type |
24 | gvir_config_domain_redirdev_get_type | |
43 | 25 | gvir_config_domain_seclabel_get_type |
44 | gvir_config_domain_seclabel_type_get_type | |
45 | 26 | gvir_config_domain_serial_get_type |
46 | 27 | gvir_config_domain_snapshot_get_type |
47 | 28 | gvir_config_domain_sound_get_type |
48 | gvir_config_domain_sound_model_get_type | |
49 | 29 | gvir_config_domain_timer_get_type |
50 | 30 | gvir_config_domain_video_get_type |
51 | gvir_config_domain_video_model_get_type | |
52 | gvir_config_domain_virt_type_get_type | |
53 | 31 | gvir_config_interface_get_type |
54 | 32 | gvir_config_network_filter_get_type |
55 | 33 | gvir_config_network_get_type |
60 | 38 | gvir_config_storage_pool_get_type |
61 | 39 | gvir_config_storage_pool_source_get_type |
62 | 40 | gvir_config_storage_pool_target_get_type |
63 | gvir_config_storage_pool_type_get_type | |
64 | 41 | gvir_config_storage_vol_backing_store_get_type |
65 | 42 | gvir_config_storage_vol_get_type |
66 | 43 | gvir_config_storage_vol_target_get_type |
2 | 2 | |
3 | 3 | DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml |
4 | 4 | |
5 | # Must not use $(top_srcdir) since gtkdoc-scan runs | |
6 | # from the srcdir already, not the builddir | |
7 | DOC_SOURCE_DIR=../../libvirt-gconfig | |
5 | DOC_SOURCE_DIR=$(top_srcdir)/libvirt-gconfig | |
8 | 6 | |
9 | 7 | SCANGOBJ_OPTIONS= |
10 | 8 |
227 | 227 | top_srcdir = @top_srcdir@ |
228 | 228 | DOC_MODULE = Libvirt-gconfig |
229 | 229 | DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml |
230 | ||
231 | # Must not use $(top_srcdir) since gtkdoc-scan runs | |
232 | # from the srcdir already, not the builddir | |
233 | DOC_SOURCE_DIR = ../../libvirt-gconfig | |
230 | DOC_SOURCE_DIR = $(top_srcdir)/libvirt-gconfig | |
234 | 231 | SCANGOBJ_OPTIONS = |
235 | 232 | SCAN_OPTIONS = --rebuild-sections --rebuild-types |
236 | 233 | MKDB_OPTIONS = --sgml-mode --output-format=xml |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gconfig"> |
8 | 8 | <link rel="prev" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"> |
9 | 9 | <link rel="next" href="object-tree.html" title="Object Hierarchy"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | struct <a class="link" href="GVirConfigCapabilities.html#GVirConfigCapabilitiesClass" title="struct GVirConfigCapabilitiesClass">GVirConfigCapabilitiesClass</a>; |
43 | 43 | <a class="link" href="GVirConfigCapabilities.html" title="GVirConfigCapabilities"><span class="returnvalue">GVirConfigCapabilities</span></a> * <a class="link" href="GVirConfigCapabilities.html#gvir-config-capabilities-new" title="gvir_config_capabilities_new ()">gvir_config_capabilities_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); |
44 | 44 | <a class="link" href="GVirConfigCapabilities.html" title="GVirConfigCapabilities"><span class="returnvalue">GVirConfigCapabilities</span></a> * <a class="link" href="GVirConfigCapabilities.html#gvir-config-capabilities-new-from-xml" title="gvir_config_capabilities_new_from_xml ()">gvir_config_capabilities_new_from_xml</a> |
45 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
46 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
45 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
46 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
47 | 47 | </pre> |
48 | 48 | </div> |
49 | 49 | <div class="refsect1"> |
50 | 50 | <a name="GVirConfigCapabilities.object-hierarchy"></a><h2>Object Hierarchy</h2> |
51 | 51 | <pre class="synopsis"> |
52 | GObject | |
52 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
53 | 53 | +----<a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a> |
54 | 54 | +----GVirConfigCapabilities |
55 | 55 | </pre> |
82 | 82 | <div class="refsect2"> |
83 | 83 | <a name="gvir-config-capabilities-new-from-xml"></a><h3>gvir_config_capabilities_new_from_xml ()</h3> |
84 | 84 | <pre class="programlisting"><a class="link" href="GVirConfigCapabilities.html" title="GVirConfigCapabilities"><span class="returnvalue">GVirConfigCapabilities</span></a> * gvir_config_capabilities_new_from_xml |
85 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
86 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
85 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
86 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
87 | 87 | </div> |
88 | 88 | </div> |
89 | 89 | </div> |
90 | 90 | <div class="footer"> |
91 | 91 | <hr> |
92 | Generated by GTK-Doc V1.18.1</div> | |
92 | Generated by GTK-Doc V1.18</div> | |
93 | 93 | </body> |
94 | 94 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gconfig"> |
8 | 8 | <link rel="prev" href="GVirConfigObject.html" title="GVirConfigObject"> |
9 | 9 | <link rel="next" href="GVirConfigDomainSnapshot.html" title="GVirConfigDomainSnapshot"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
40 | 40 | </tr></table></div> |
41 | 41 | <div class="refsynopsisdiv"> |
42 | 42 | <a name="GVirConfigDomain.synopsis"></a><h2>Synopsis</h2> |
43 | <a name="GVirConfigDomainLifecycleAction"></a><a name="GVirConfigDomainLifecycleEvent"></a><a name="GVirConfigDomainVirtType"></a><pre class="synopsis">struct <a class="link" href="GVirConfigDomain.html#GVirConfigDomain-struct" title="struct GVirConfigDomain">GVirConfigDomain</a>; | |
43 | <pre class="synopsis">struct <a class="link" href="GVirConfigDomain.html#GVirConfigDomain-struct" title="struct GVirConfigDomain">GVirConfigDomain</a>; | |
44 | 44 | struct <a class="link" href="GVirConfigDomain.html#GVirConfigDomainClass" title="struct GVirConfigDomainClass">GVirConfigDomainClass</a>; |
45 | enum <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction-enum" title="enum GVirConfigDomainLifecycleAction">GVirConfigDomainLifecycleAction</a>; | |
46 | enum <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent-enum" title="enum GVirConfigDomainLifecycleEvent">GVirConfigDomainLifecycleEvent</a>; | |
47 | enum <a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType-enum" title="enum GVirConfigDomainVirtType">GVirConfigDomainVirtType</a>; | |
45 | enum <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction" title="enum GVirConfigDomainLifecycleAction">GVirConfigDomainLifecycleAction</a>; | |
46 | enum <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent" title="enum GVirConfigDomainLifecycleEvent">GVirConfigDomainLifecycleEvent</a>; | |
47 | enum <a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType" title="enum GVirConfigDomainVirtType">GVirConfigDomainVirtType</a>; | |
48 | 48 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-add-device" title="gvir_config_domain_add_device ()">gvir_config_domain_add_device</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
49 | 49 | <em class="parameter"><code><span class="type">GVirConfigDomainDevice</span> *device</code></em>); |
50 | <span class="returnvalue">gchar</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-custom-xml" title="gvir_config_domain_get_custom_xml ()">gvir_config_domain_get_custom_xml</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, | |
51 | <em class="parameter"><code>const <span class="type">gchar</span> *ns_uri</code></em>); | |
52 | <span class="returnvalue">char</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-description" title="gvir_config_domain_get_description ()">gvir_config_domain_get_description</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
53 | <span class="returnvalue">GList</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-devices" title="gvir_config_domain_get_devices ()">gvir_config_domain_get_devices</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
54 | <span class="returnvalue">GStrv</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-features" title="gvir_config_domain_get_features ()">gvir_config_domain_get_features</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
55 | <span class="returnvalue">guint64</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-memory" title="gvir_config_domain_get_memory ()">gvir_config_domain_get_memory</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
56 | <span class="returnvalue">char</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-name" title="gvir_config_domain_get_name ()">gvir_config_domain_get_name</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
57 | <span class="returnvalue">guint64</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-vcpus" title="gvir_config_domain_get_vcpus ()">gvir_config_domain_get_vcpus</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
50 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-custom-xml" title="gvir_config_domain_get_custom_xml ()">gvir_config_domain_get_custom_xml</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, | |
51 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *ns_uri</code></em>); | |
52 | const <span class="returnvalue">char</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-description" title="gvir_config_domain_get_description ()">gvir_config_domain_get_description</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
53 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-devices" title="gvir_config_domain_get_devices ()">gvir_config_domain_get_devices</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
54 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="returnvalue">GStrv</span></a> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-features" title="gvir_config_domain_get_features ()">gvir_config_domain_get_features</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
55 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-memory" title="gvir_config_domain_get_memory ()">gvir_config_domain_get_memory</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
56 | const <span class="returnvalue">char</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-name" title="gvir_config_domain_get_name ()">gvir_config_domain_get_name</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
57 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-vcpus" title="gvir_config_domain_get_vcpus ()">gvir_config_domain_get_vcpus</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>); | |
58 | 58 | <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="returnvalue">GVirConfigDomain</span></a> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-new" title="gvir_config_domain_new ()">gvir_config_domain_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); |
59 | <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="returnvalue">GVirConfigDomain</span></a> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-new-from-xml" title="gvir_config_domain_new_from_xml ()">gvir_config_domain_new_from_xml</a> (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
60 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
59 | <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="returnvalue">GVirConfigDomain</span></a> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-new-from-xml" title="gvir_config_domain_new_from_xml ()">gvir_config_domain_new_from_xml</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
60 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
61 | 61 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-clock" title="gvir_config_domain_set_clock ()">gvir_config_domain_set_clock</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
62 | 62 | <em class="parameter"><code><span class="type">GVirConfigDomainClock</span> *klock</code></em>); |
63 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-custom-xml" title="gvir_config_domain_set_custom_xml ()">gvir_config_domain_set_custom_xml</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, | |
64 | <em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
65 | <em class="parameter"><code>const <span class="type">gchar</span> *ns</code></em>, | |
66 | <em class="parameter"><code>const <span class="type">gchar</span> *ns_uri</code></em>, | |
67 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
63 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-custom-xml" title="gvir_config_domain_set_custom_xml ()">gvir_config_domain_set_custom_xml</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, | |
64 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
65 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *ns</code></em>, | |
66 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *ns_uri</code></em>, | |
67 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
68 | 68 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-description" title="gvir_config_domain_set_description ()">gvir_config_domain_set_description</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
69 | 69 | <em class="parameter"><code>const <span class="type">char</span> *description</code></em>); |
70 | 70 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-devices" title="gvir_config_domain_set_devices ()">gvir_config_domain_set_devices</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
71 | <em class="parameter"><code><span class="type">GList</span> *devices</code></em>); | |
71 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *devices</code></em>); | |
72 | 72 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-features" title="gvir_config_domain_set_features ()">gvir_config_domain_set_features</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
73 | <em class="parameter"><code>const <span class="type">GStrv</span> features</code></em>); | |
73 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> features</code></em>); | |
74 | 74 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-lifecycle" title="gvir_config_domain_set_lifecycle ()">gvir_config_domain_set_lifecycle</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
75 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent"><span class="type">GVirConfigDomainLifecycleEvent</span></a> event</code></em>, | |
76 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction"><span class="type">GVirConfigDomainLifecycleAction</span></a> action</code></em>); | |
75 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent" title="enum GVirConfigDomainLifecycleEvent"><span class="type">GVirConfigDomainLifecycleEvent</span></a> event</code></em>, | |
76 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction" title="enum GVirConfigDomainLifecycleAction"><span class="type">GVirConfigDomainLifecycleAction</span></a> action</code></em>); | |
77 | 77 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-memory" title="gvir_config_domain_set_memory ()">gvir_config_domain_set_memory</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
78 | <em class="parameter"><code><span class="type">guint64</span> memory</code></em>); | |
78 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> memory</code></em>); | |
79 | 79 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-name" title="gvir_config_domain_set_name ()">gvir_config_domain_set_name</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
80 | 80 | <em class="parameter"><code>const <span class="type">char</span> *name</code></em>); |
81 | 81 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-os" title="gvir_config_domain_set_os ()">gvir_config_domain_set_os</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
83 | 83 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-seclabel" title="gvir_config_domain_set_seclabel ()">gvir_config_domain_set_seclabel</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
84 | 84 | <em class="parameter"><code><span class="type">GVirConfigDomainSeclabel</span> *seclabel</code></em>); |
85 | 85 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-vcpus" title="gvir_config_domain_set_vcpus ()">gvir_config_domain_set_vcpus</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
86 | <em class="parameter"><code><span class="type">guint64</span> vcpu_count</code></em>); | |
86 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> vcpu_count</code></em>); | |
87 | 87 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-virt-type" title="gvir_config_domain_set_virt_type ()">gvir_config_domain_set_virt_type</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
88 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType"><span class="type">GVirConfigDomainVirtType</span></a> type</code></em>); | |
88 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType" title="enum GVirConfigDomainVirtType"><span class="type">GVirConfigDomainVirtType</span></a> type</code></em>); | |
89 | 89 | </pre> |
90 | 90 | </div> |
91 | 91 | <div class="refsect1"> |
92 | 92 | <a name="GVirConfigDomain.object-hierarchy"></a><h2>Object Hierarchy</h2> |
93 | 93 | <pre class="synopsis"> |
94 | GObject | |
94 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
95 | 95 | +----<a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a> |
96 | 96 | +----GVirConfigDomain |
97 | 97 | </pre> |
98 | <pre class="synopsis"> | |
99 | GEnum | |
100 | +----GVirConfigDomainLifecycleAction | |
101 | </pre> | |
102 | <pre class="synopsis"> | |
103 | GEnum | |
104 | +----GVirConfigDomainLifecycleEvent | |
105 | </pre> | |
106 | <pre class="synopsis"> | |
107 | GEnum | |
108 | +----GVirConfigDomainVirtType | |
109 | </pre> | |
110 | 98 | </div> |
111 | 99 | <div class="refsect1"> |
112 | 100 | <a name="GVirConfigDomain.properties"></a><h2>Properties</h2> |
113 | 101 | <pre class="synopsis"> |
114 | "<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--description" title='The "description" property'>description</a>" <span class="type">gchar</span>* : Read / Write | |
115 | "<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--features" title='The "features" property'>features</a>" <span class="type">GStrv</span> : Read / Write | |
116 | "<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--memory" title='The "memory" property'>memory</a>" <span class="type">guint64</span> : Read / Write | |
117 | "<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--name" title='The "name" property'>name</a>" <span class="type">gchar</span>* : Read / Write | |
118 | "<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--vcpu" title='The "vcpu" property'>vcpu</a>" <span class="type">guint64</span> : Read / Write | |
102 | "<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--description" title='The "description" property'>description</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write | |
103 | "<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--features" title='The "features" property'>features</a>" <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> : Read / Write | |
104 | "<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--memory" title='The "memory" property'>memory</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> : Read / Write | |
105 | "<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--name" title='The "name" property'>name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write | |
106 | "<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--vcpu" title='The "vcpu" property'>vcpu</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> : Read / Write | |
119 | 107 | </pre> |
120 | 108 | </div> |
121 | 109 | <div class="refsect1"> |
139 | 127 | </div> |
140 | 128 | <hr> |
141 | 129 | <div class="refsect2"> |
142 | <a name="GVirConfigDomainLifecycleAction-enum"></a><h3>enum GVirConfigDomainLifecycleAction</h3> | |
130 | <a name="GVirConfigDomainLifecycleAction"></a><h3>enum GVirConfigDomainLifecycleAction</h3> | |
143 | 131 | <pre class="programlisting">typedef enum { |
144 | 132 | GVIR_CONFIG_DOMAIN_LIFECYCLE_DESTROY, |
145 | 133 | GVIR_CONFIG_DOMAIN_LIFECYCLE_RESTART, |
152 | 140 | </div> |
153 | 141 | <hr> |
154 | 142 | <div class="refsect2"> |
155 | <a name="GVirConfigDomainLifecycleEvent-enum"></a><h3>enum GVirConfigDomainLifecycleEvent</h3> | |
143 | <a name="GVirConfigDomainLifecycleEvent"></a><h3>enum GVirConfigDomainLifecycleEvent</h3> | |
156 | 144 | <pre class="programlisting">typedef enum { |
157 | 145 | GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_POWEROFF, /*< nick=on_poweroff >*/ |
158 | 146 | GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_REBOOT, /*< nick=on_reboot >*/ |
162 | 150 | </div> |
163 | 151 | <hr> |
164 | 152 | <div class="refsect2"> |
165 | <a name="GVirConfigDomainVirtType-enum"></a><h3>enum GVirConfigDomainVirtType</h3> | |
153 | <a name="GVirConfigDomainVirtType"></a><h3>enum GVirConfigDomainVirtType</h3> | |
166 | 154 | <pre class="programlisting">typedef enum { |
167 | 155 | GVIR_CONFIG_DOMAIN_VIRT_QEMU, |
168 | 156 | GVIR_CONFIG_DOMAIN_VIRT_KQEMU, |
191 | 179 | <hr> |
192 | 180 | <div class="refsect2"> |
193 | 181 | <a name="gvir-config-domain-get-custom-xml"></a><h3>gvir_config_domain_get_custom_xml ()</h3> |
194 | <pre class="programlisting"><span class="returnvalue">gchar</span> * gvir_config_domain_get_custom_xml (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, | |
195 | <em class="parameter"><code>const <span class="type">gchar</span> *ns_uri</code></em>);</pre> | |
182 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_config_domain_get_custom_xml (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, | |
183 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *ns_uri</code></em>);</pre> | |
196 | 184 | </div> |
197 | 185 | <hr> |
198 | 186 | <div class="refsect2"> |
199 | 187 | <a name="gvir-config-domain-get-description"></a><h3>gvir_config_domain_get_description ()</h3> |
200 | <pre class="programlisting"><span class="returnvalue">char</span> * gvir_config_domain_get_description (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
188 | <pre class="programlisting">const <span class="returnvalue">char</span> * gvir_config_domain_get_description (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
201 | 189 | </div> |
202 | 190 | <hr> |
203 | 191 | <div class="refsect2"> |
204 | 192 | <a name="gvir-config-domain-get-devices"></a><h3>gvir_config_domain_get_devices ()</h3> |
205 | <pre class="programlisting"><span class="returnvalue">GList</span> * gvir_config_domain_get_devices (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
193 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gvir_config_domain_get_devices (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
206 | 194 | <p> |
207 | 195 | Gets the list of devices attached to <em class="parameter"><code>domain</code></em> |
208 | 196 | </p> |
210 | 198 | <col align="left" valign="top"> |
211 | 199 | <tbody><tr> |
212 | 200 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
213 | <td>a newly allocated <span class="type">GList</span> of <span class="type">GVirConfigDomainDevice</span>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> LibvirtGConfig.DomainDevice][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
201 | <td>a newly allocated <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <span class="type">GVirConfigDomainDevice</span>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> LibvirtGConfig.DomainDevice][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
214 | 202 | </td> |
215 | 203 | </tr></tbody> |
216 | 204 | </table></div> |
218 | 206 | <hr> |
219 | 207 | <div class="refsect2"> |
220 | 208 | <a name="gvir-config-domain-get-features"></a><h3>gvir_config_domain_get_features ()</h3> |
221 | <pre class="programlisting"><span class="returnvalue">GStrv</span> gvir_config_domain_get_features (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
222 | <div class="variablelist"><table border="0"> | |
223 | <col align="left" valign="top"> | |
224 | <tbody><tr> | |
225 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
226 | <td>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
227 | </td> | |
228 | </tr></tbody> | |
229 | </table></div> | |
209 | <pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="returnvalue">GStrv</span></a> gvir_config_domain_get_features (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
230 | 210 | </div> |
231 | 211 | <hr> |
232 | 212 | <div class="refsect2"> |
233 | 213 | <a name="gvir-config-domain-get-memory"></a><h3>gvir_config_domain_get_memory ()</h3> |
234 | <pre class="programlisting"><span class="returnvalue">guint64</span> gvir_config_domain_get_memory (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
214 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> gvir_config_domain_get_memory (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
235 | 215 | <div class="variablelist"><table border="0"> |
236 | 216 | <col align="left" valign="top"> |
237 | 217 | <tbody> |
249 | 229 | <hr> |
250 | 230 | <div class="refsect2"> |
251 | 231 | <a name="gvir-config-domain-get-name"></a><h3>gvir_config_domain_get_name ()</h3> |
252 | <pre class="programlisting"><span class="returnvalue">char</span> * gvir_config_domain_get_name (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
232 | <pre class="programlisting">const <span class="returnvalue">char</span> * gvir_config_domain_get_name (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
253 | 233 | </div> |
254 | 234 | <hr> |
255 | 235 | <div class="refsect2"> |
256 | 236 | <a name="gvir-config-domain-get-vcpus"></a><h3>gvir_config_domain_get_vcpus ()</h3> |
257 | <pre class="programlisting"><span class="returnvalue">guint64</span> gvir_config_domain_get_vcpus (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
237 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> gvir_config_domain_get_vcpus (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre> | |
258 | 238 | </div> |
259 | 239 | <hr> |
260 | 240 | <div class="refsect2"> |
264 | 244 | <hr> |
265 | 245 | <div class="refsect2"> |
266 | 246 | <a name="gvir-config-domain-new-from-xml"></a><h3>gvir_config_domain_new_from_xml ()</h3> |
267 | <pre class="programlisting"><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="returnvalue">GVirConfigDomain</span></a> * gvir_config_domain_new_from_xml (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
268 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
247 | <pre class="programlisting"><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="returnvalue">GVirConfigDomain</span></a> * gvir_config_domain_new_from_xml (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
248 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
269 | 249 | </div> |
270 | 250 | <hr> |
271 | 251 | <div class="refsect2"> |
276 | 256 | <hr> |
277 | 257 | <div class="refsect2"> |
278 | 258 | <a name="gvir-config-domain-set-custom-xml"></a><h3>gvir_config_domain_set_custom_xml ()</h3> |
279 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_config_domain_set_custom_xml (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, | |
280 | <em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
281 | <em class="parameter"><code>const <span class="type">gchar</span> *ns</code></em>, | |
282 | <em class="parameter"><code>const <span class="type">gchar</span> *ns_uri</code></em>, | |
283 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
259 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_config_domain_set_custom_xml (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, | |
260 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
261 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *ns</code></em>, | |
262 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *ns_uri</code></em>, | |
263 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
284 | 264 | </div> |
285 | 265 | <hr> |
286 | 266 | <div class="refsect2"> |
292 | 272 | <div class="refsect2"> |
293 | 273 | <a name="gvir-config-domain-set-devices"></a><h3>gvir_config_domain_set_devices ()</h3> |
294 | 274 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_devices (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
295 | <em class="parameter"><code><span class="type">GList</span> *devices</code></em>);</pre> | |
275 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *devices</code></em>);</pre> | |
296 | 276 | <div class="variablelist"><table border="0"> |
297 | 277 | <col align="left" valign="top"> |
298 | 278 | <tbody><tr> |
306 | 286 | <div class="refsect2"> |
307 | 287 | <a name="gvir-config-domain-set-features"></a><h3>gvir_config_domain_set_features ()</h3> |
308 | 288 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_features (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
309 | <em class="parameter"><code>const <span class="type">GStrv</span> features</code></em>);</pre> | |
289 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> features</code></em>);</pre> | |
310 | 290 | </div> |
311 | 291 | <hr> |
312 | 292 | <div class="refsect2"> |
313 | 293 | <a name="gvir-config-domain-set-lifecycle"></a><h3>gvir_config_domain_set_lifecycle ()</h3> |
314 | 294 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_lifecycle (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
315 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent"><span class="type">GVirConfigDomainLifecycleEvent</span></a> event</code></em>, | |
316 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction"><span class="type">GVirConfigDomainLifecycleAction</span></a> action</code></em>);</pre> | |
295 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent" title="enum GVirConfigDomainLifecycleEvent"><span class="type">GVirConfigDomainLifecycleEvent</span></a> event</code></em>, | |
296 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction" title="enum GVirConfigDomainLifecycleAction"><span class="type">GVirConfigDomainLifecycleAction</span></a> action</code></em>);</pre> | |
317 | 297 | </div> |
318 | 298 | <hr> |
319 | 299 | <div class="refsect2"> |
320 | 300 | <a name="gvir-config-domain-set-memory"></a><h3>gvir_config_domain_set_memory ()</h3> |
321 | 301 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_memory (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
322 | <em class="parameter"><code><span class="type">guint64</span> memory</code></em>);</pre> | |
302 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> memory</code></em>);</pre> | |
323 | 303 | <p> |
324 | 304 | Sets the amount of RAM allocated to <em class="parameter"><code>domain</code></em> in kilobytes (i.e. blocks of 1024 bytes). |
325 | 305 | </p> |
359 | 339 | <div class="refsect2"> |
360 | 340 | <a name="gvir-config-domain-set-vcpus"></a><h3>gvir_config_domain_set_vcpus ()</h3> |
361 | 341 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_vcpus (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
362 | <em class="parameter"><code><span class="type">guint64</span> vcpu_count</code></em>);</pre> | |
342 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> vcpu_count</code></em>);</pre> | |
363 | 343 | </div> |
364 | 344 | <hr> |
365 | 345 | <div class="refsect2"> |
366 | 346 | <a name="gvir-config-domain-set-virt-type"></a><h3>gvir_config_domain_set_virt_type ()</h3> |
367 | 347 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_virt_type (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>, |
368 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType"><span class="type">GVirConfigDomainVirtType</span></a> type</code></em>);</pre> | |
348 | <em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType" title="enum GVirConfigDomainVirtType"><span class="type">GVirConfigDomainVirtType</span></a> type</code></em>);</pre> | |
369 | 349 | </div> |
370 | 350 | </div> |
371 | 351 | <div class="refsect1"> |
372 | 352 | <a name="GVirConfigDomain.property-details"></a><h2>Property Details</h2> |
373 | 353 | <div class="refsect2"> |
374 | 354 | <a name="GVirConfigDomain--description"></a><h3>The <code class="literal">"description"</code> property</h3> |
375 | <pre class="programlisting"> "description" <span class="type">gchar</span>* : Read / Write</pre> | |
355 | <pre class="programlisting"> "description" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre> | |
376 | 356 | <p>Some human readable description (could be anything).</p> |
377 | 357 | <p>Default value: NULL</p> |
378 | 358 | </div> |
379 | 359 | <hr> |
380 | 360 | <div class="refsect2"> |
381 | 361 | <a name="GVirConfigDomain--features"></a><h3>The <code class="literal">"features"</code> property</h3> |
382 | <pre class="programlisting"> "features" <span class="type">GStrv</span> : Read / Write</pre> | |
362 | <pre class="programlisting"> "features" <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> : Read / Write</pre> | |
383 | 363 | <p>Hypervisor Features.</p> |
384 | 364 | </div> |
385 | 365 | <hr> |
386 | 366 | <div class="refsect2"> |
387 | 367 | <a name="GVirConfigDomain--memory"></a><h3>The <code class="literal">"memory"</code> property</h3> |
388 | <pre class="programlisting"> "memory" <span class="type">guint64</span> : Read / Write</pre> | |
368 | <pre class="programlisting"> "memory" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> : Read / Write</pre> | |
389 | 369 | <p>Maximum Guest Memory (in kilobytes).</p> |
390 | 370 | <p>Default value: 0</p> |
391 | 371 | </div> |
392 | 372 | <hr> |
393 | 373 | <div class="refsect2"> |
394 | 374 | <a name="GVirConfigDomain--name"></a><h3>The <code class="literal">"name"</code> property</h3> |
395 | <pre class="programlisting"> "name" <span class="type">gchar</span>* : Read / Write</pre> | |
375 | <pre class="programlisting"> "name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre> | |
396 | 376 | <p>Domain Name.</p> |
397 | 377 | <p>Default value: NULL</p> |
398 | 378 | </div> |
399 | 379 | <hr> |
400 | 380 | <div class="refsect2"> |
401 | 381 | <a name="GVirConfigDomain--vcpu"></a><h3>The <code class="literal">"vcpu"</code> property</h3> |
402 | <pre class="programlisting"> "vcpu" <span class="type">guint64</span> : Read / Write</pre> | |
382 | <pre class="programlisting"> "vcpu" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> : Read / Write</pre> | |
403 | 383 | <p>Maximum Number of Guest Virtual CPUs.</p> |
404 | 384 | <p>Default value: 1</p> |
405 | 385 | </div> |
407 | 387 | </div> |
408 | 388 | <div class="footer"> |
409 | 389 | <hr> |
410 | Generated by GTK-Doc V1.18.1</div> | |
390 | Generated by GTK-Doc V1.18</div> | |
411 | 391 | </body> |
412 | 392 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gconfig"> |
8 | 8 | <link rel="prev" href="GVirConfigDomain.html" title="GVirConfigDomain"> |
9 | 9 | <link rel="next" href="GVirConfigInterface.html" title="GVirConfigInterface"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
43 | 43 | <a class="link" href="GVirConfigDomainSnapshot.html" title="GVirConfigDomainSnapshot"><span class="returnvalue">GVirConfigDomainSnapshot</span></a> * <a class="link" href="GVirConfigDomainSnapshot.html#gvir-config-domain-snapshot-new" title="gvir_config_domain_snapshot_new ()">gvir_config_domain_snapshot_new</a> |
44 | 44 | (<em class="parameter"><code><span class="type">void</span></code></em>); |
45 | 45 | <a class="link" href="GVirConfigDomainSnapshot.html" title="GVirConfigDomainSnapshot"><span class="returnvalue">GVirConfigDomainSnapshot</span></a> * <a class="link" href="GVirConfigDomainSnapshot.html#gvir-config-domain-snapshot-new-from-xml" title="gvir_config_domain_snapshot_new_from_xml ()">gvir_config_domain_snapshot_new_from_xml</a> |
46 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
47 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
46 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
48 | 48 | </pre> |
49 | 49 | </div> |
50 | 50 | <div class="refsect1"> |
51 | 51 | <a name="GVirConfigDomainSnapshot.object-hierarchy"></a><h2>Object Hierarchy</h2> |
52 | 52 | <pre class="synopsis"> |
53 | GObject | |
53 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
54 | 54 | +----<a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a> |
55 | 55 | +----GVirConfigDomainSnapshot |
56 | 56 | </pre> |
84 | 84 | <div class="refsect2"> |
85 | 85 | <a name="gvir-config-domain-snapshot-new-from-xml"></a><h3>gvir_config_domain_snapshot_new_from_xml ()</h3> |
86 | 86 | <pre class="programlisting"><a class="link" href="GVirConfigDomainSnapshot.html" title="GVirConfigDomainSnapshot"><span class="returnvalue">GVirConfigDomainSnapshot</span></a> * gvir_config_domain_snapshot_new_from_xml |
87 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
88 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
87 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
88 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
89 | 89 | </div> |
90 | 90 | </div> |
91 | 91 | </div> |
92 | 92 | <div class="footer"> |
93 | 93 | <hr> |
94 | Generated by GTK-Doc V1.18.1</div> | |
94 | Generated by GTK-Doc V1.18</div> | |
95 | 95 | </body> |
96 | 96 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gconfig"> |
8 | 8 | <link rel="prev" href="GVirConfigDomainSnapshot.html" title="GVirConfigDomainSnapshot"> |
9 | 9 | <link rel="next" href="GVirConfigNetworkFilter.html" title="GVirConfigNetworkFilter"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | struct <a class="link" href="GVirConfigInterface.html#GVirConfigInterfaceClass" title="struct GVirConfigInterfaceClass">GVirConfigInterfaceClass</a>; |
43 | 43 | <a class="link" href="GVirConfigInterface.html" title="GVirConfigInterface"><span class="returnvalue">GVirConfigInterface</span></a> * <a class="link" href="GVirConfigInterface.html#gvir-config-interface-new" title="gvir_config_interface_new ()">gvir_config_interface_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); |
44 | 44 | <a class="link" href="GVirConfigInterface.html" title="GVirConfigInterface"><span class="returnvalue">GVirConfigInterface</span></a> * <a class="link" href="GVirConfigInterface.html#gvir-config-interface-new-from-xml" title="gvir_config_interface_new_from_xml ()">gvir_config_interface_new_from_xml</a> |
45 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
46 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
45 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
46 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
47 | 47 | </pre> |
48 | 48 | </div> |
49 | 49 | <div class="refsect1"> |
50 | 50 | <a name="GVirConfigInterface.object-hierarchy"></a><h2>Object Hierarchy</h2> |
51 | 51 | <pre class="synopsis"> |
52 | GObject | |
52 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
53 | 53 | +----<a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a> |
54 | 54 | +----GVirConfigInterface |
55 | 55 | </pre> |
82 | 82 | <div class="refsect2"> |
83 | 83 | <a name="gvir-config-interface-new-from-xml"></a><h3>gvir_config_interface_new_from_xml ()</h3> |
84 | 84 | <pre class="programlisting"><a class="link" href="GVirConfigInterface.html" title="GVirConfigInterface"><span class="returnvalue">GVirConfigInterface</span></a> * gvir_config_interface_new_from_xml |
85 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
86 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
85 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
86 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
87 | 87 | </div> |
88 | 88 | </div> |
89 | 89 | </div> |
90 | 90 | <div class="footer"> |
91 | 91 | <hr> |
92 | Generated by GTK-Doc V1.18.1</div> | |
92 | Generated by GTK-Doc V1.18</div> | |
93 | 93 | </body> |
94 | 94 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gconfig"> |
8 | 8 | <link rel="prev" href="GVirConfigNetworkFilter.html" title="GVirConfigNetworkFilter"> |
9 | 9 | <link rel="next" href="GVirConfigNodeDevice.html" title="GVirConfigNodeDevice"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
41 | 41 | <pre class="synopsis">struct <a class="link" href="GVirConfigNetwork.html#GVirConfigNetwork-struct" title="struct GVirConfigNetwork">GVirConfigNetwork</a>; |
42 | 42 | struct <a class="link" href="GVirConfigNetwork.html#GVirConfigNetworkClass" title="struct GVirConfigNetworkClass">GVirConfigNetworkClass</a>; |
43 | 43 | <a class="link" href="GVirConfigNetwork.html" title="GVirConfigNetwork"><span class="returnvalue">GVirConfigNetwork</span></a> * <a class="link" href="GVirConfigNetwork.html#gvir-config-network-new" title="gvir_config_network_new ()">gvir_config_network_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); |
44 | <a class="link" href="GVirConfigNetwork.html" title="GVirConfigNetwork"><span class="returnvalue">GVirConfigNetwork</span></a> * <a class="link" href="GVirConfigNetwork.html#gvir-config-network-new-from-xml" title="gvir_config_network_new_from_xml ()">gvir_config_network_new_from_xml</a> (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
45 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
44 | <a class="link" href="GVirConfigNetwork.html" title="GVirConfigNetwork"><span class="returnvalue">GVirConfigNetwork</span></a> * <a class="link" href="GVirConfigNetwork.html#gvir-config-network-new-from-xml" title="gvir_config_network_new_from_xml ()">gvir_config_network_new_from_xml</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
45 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
46 | 46 | </pre> |
47 | 47 | </div> |
48 | 48 | <div class="refsect1"> |
49 | 49 | <a name="GVirConfigNetwork.object-hierarchy"></a><h2>Object Hierarchy</h2> |
50 | 50 | <pre class="synopsis"> |
51 | GObject | |
51 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
52 | 52 | +----<a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a> |
53 | 53 | +----GVirConfigNetwork |
54 | 54 | </pre> |
80 | 80 | <hr> |
81 | 81 | <div class="refsect2"> |
82 | 82 | <a name="gvir-config-network-new-from-xml"></a><h3>gvir_config_network_new_from_xml ()</h3> |
83 | <pre class="programlisting"><a class="link" href="GVirConfigNetwork.html" title="GVirConfigNetwork"><span class="returnvalue">GVirConfigNetwork</span></a> * gvir_config_network_new_from_xml (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
84 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
83 | <pre class="programlisting"><a class="link" href="GVirConfigNetwork.html" title="GVirConfigNetwork"><span class="returnvalue">GVirConfigNetwork</span></a> * gvir_config_network_new_from_xml (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
84 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
85 | 85 | </div> |
86 | 86 | </div> |
87 | 87 | </div> |
88 | 88 | <div class="footer"> |
89 | 89 | <hr> |
90 | Generated by GTK-Doc V1.18.1</div> | |
90 | Generated by GTK-Doc V1.18</div> | |
91 | 91 | </body> |
92 | 92 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gconfig"> |
8 | 8 | <link rel="prev" href="GVirConfigInterface.html" title="GVirConfigInterface"> |
9 | 9 | <link rel="next" href="GVirConfigNetwork.html" title="GVirConfigNetwork"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
43 | 43 | <a class="link" href="GVirConfigNetworkFilter.html" title="GVirConfigNetworkFilter"><span class="returnvalue">GVirConfigNetworkFilter</span></a> * <a class="link" href="GVirConfigNetworkFilter.html#gvir-config-network-filter-new" title="gvir_config_network_filter_new ()">gvir_config_network_filter_new</a> |
44 | 44 | (<em class="parameter"><code><span class="type">void</span></code></em>); |
45 | 45 | <a class="link" href="GVirConfigNetworkFilter.html" title="GVirConfigNetworkFilter"><span class="returnvalue">GVirConfigNetworkFilter</span></a> * <a class="link" href="GVirConfigNetworkFilter.html#gvir-config-network-filter-new-from-xml" title="gvir_config_network_filter_new_from_xml ()">gvir_config_network_filter_new_from_xml</a> |
46 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
47 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
46 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
48 | 48 | </pre> |
49 | 49 | </div> |
50 | 50 | <div class="refsect1"> |
51 | 51 | <a name="GVirConfigNetworkFilter.object-hierarchy"></a><h2>Object Hierarchy</h2> |
52 | 52 | <pre class="synopsis"> |
53 | GObject | |
53 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
54 | 54 | +----<a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a> |
55 | 55 | +----GVirConfigNetworkFilter |
56 | 56 | </pre> |
84 | 84 | <div class="refsect2"> |
85 | 85 | <a name="gvir-config-network-filter-new-from-xml"></a><h3>gvir_config_network_filter_new_from_xml ()</h3> |
86 | 86 | <pre class="programlisting"><a class="link" href="GVirConfigNetworkFilter.html" title="GVirConfigNetworkFilter"><span class="returnvalue">GVirConfigNetworkFilter</span></a> * gvir_config_network_filter_new_from_xml |
87 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
88 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
87 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
88 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
89 | 89 | </div> |
90 | 90 | </div> |
91 | 91 | </div> |
92 | 92 | <div class="footer"> |
93 | 93 | <hr> |
94 | Generated by GTK-Doc V1.18.1</div> | |
94 | Generated by GTK-Doc V1.18</div> | |
95 | 95 | </body> |
96 | 96 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gconfig"> |
8 | 8 | <link rel="prev" href="GVirConfigNetwork.html" title="GVirConfigNetwork"> |
9 | 9 | <link rel="next" href="GVirConfigSecret.html" title="GVirConfigSecret"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | struct <a class="link" href="GVirConfigNodeDevice.html#GVirConfigNodeDeviceClass" title="struct GVirConfigNodeDeviceClass">GVirConfigNodeDeviceClass</a>; |
43 | 43 | <a class="link" href="GVirConfigNodeDevice.html" title="GVirConfigNodeDevice"><span class="returnvalue">GVirConfigNodeDevice</span></a> * <a class="link" href="GVirConfigNodeDevice.html#gvir-config-node-device-new" title="gvir_config_node_device_new ()">gvir_config_node_device_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); |
44 | 44 | <a class="link" href="GVirConfigNodeDevice.html" title="GVirConfigNodeDevice"><span class="returnvalue">GVirConfigNodeDevice</span></a> * <a class="link" href="GVirConfigNodeDevice.html#gvir-config-node-device-new-from-xml" title="gvir_config_node_device_new_from_xml ()">gvir_config_node_device_new_from_xml</a> |
45 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
46 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
45 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
46 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
47 | 47 | </pre> |
48 | 48 | </div> |
49 | 49 | <div class="refsect1"> |
50 | 50 | <a name="GVirConfigNodeDevice.object-hierarchy"></a><h2>Object Hierarchy</h2> |
51 | 51 | <pre class="synopsis"> |
52 | GObject | |
52 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
53 | 53 | +----<a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a> |
54 | 54 | +----GVirConfigNodeDevice |
55 | 55 | </pre> |
82 | 82 | <div class="refsect2"> |
83 | 83 | <a name="gvir-config-node-device-new-from-xml"></a><h3>gvir_config_node_device_new_from_xml ()</h3> |
84 | 84 | <pre class="programlisting"><a class="link" href="GVirConfigNodeDevice.html" title="GVirConfigNodeDevice"><span class="returnvalue">GVirConfigNodeDevice</span></a> * gvir_config_node_device_new_from_xml |
85 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
86 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
85 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
86 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
87 | 87 | </div> |
88 | 88 | </div> |
89 | 89 | </div> |
90 | 90 | <div class="footer"> |
91 | 91 | <hr> |
92 | Generated by GTK-Doc V1.18.1</div> | |
92 | Generated by GTK-Doc V1.18</div> | |
93 | 93 | </body> |
94 | 94 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gconfig"> |
8 | 8 | <link rel="prev" href="ch01.html" title="Libvirt-gconfig"> |
9 | 9 | <link rel="next" href="GVirConfigDomain.html" title="GVirConfigDomain"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | <a name="GVirConfigObject.synopsis"></a><h2>Synopsis</h2> |
43 | 43 | <pre class="synopsis">struct <a class="link" href="GVirConfigObject.html#GVirConfigObject-struct" title="struct GVirConfigObject">GVirConfigObject</a>; |
44 | 44 | struct <a class="link" href="GVirConfigObject.html#GVirConfigObjectClass" title="struct GVirConfigObjectClass">GVirConfigObjectClass</a>; |
45 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirConfigObject.html#gvir-config-object-get-schema" title="gvir_config_object_get_schema ()">gvir_config_object_get_schema</a> (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>); | |
46 | <a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> * <a class="link" href="GVirConfigObject.html#gvir-config-object-new" title="gvir_config_object_new ()">gvir_config_object_new</a> (<em class="parameter"><code><span class="type">GType</span> type</code></em>, | |
45 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirConfigObject.html#gvir-config-object-get-schema" title="gvir_config_object_get_schema ()">gvir_config_object_get_schema</a> (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>); | |
46 | <a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> * <a class="link" href="GVirConfigObject.html#gvir-config-object-new" title="gvir_config_object_new ()">gvir_config_object_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>, | |
47 | 47 | <em class="parameter"><code>const <span class="type">char</span> *root_name</code></em>, |
48 | 48 | <em class="parameter"><code>const <span class="type">char</span> *schema</code></em>); |
49 | <a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> * <a class="link" href="GVirConfigObject.html#gvir-config-object-new-from-xml" title="gvir_config_object_new_from_xml ()">gvir_config_object_new_from_xml</a> (<em class="parameter"><code><span class="type">GType</span> type</code></em>, | |
49 | <a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> * <a class="link" href="GVirConfigObject.html#gvir-config-object-new-from-xml" title="gvir_config_object_new_from_xml ()">gvir_config_object_new_from_xml</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>, | |
50 | 50 | <em class="parameter"><code>const <span class="type">char</span> *root_name</code></em>, |
51 | 51 | <em class="parameter"><code>const <span class="type">char</span> *schema</code></em>, |
52 | <em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
53 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
54 | <span class="returnvalue">gchar</span> * <a class="link" href="GVirConfigObject.html#gvir-config-object-to-xml" title="gvir_config_object_to_xml ()">gvir_config_object_to_xml</a> (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>); | |
52 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
53 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
54 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirConfigObject.html#gvir-config-object-to-xml" title="gvir_config_object_to_xml ()">gvir_config_object_to_xml</a> (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>); | |
55 | 55 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigObject.html#gvir-config-object-validate" title="gvir_config_object_validate ()">gvir_config_object_validate</a> (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>, |
56 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
56 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
57 | 57 | </pre> |
58 | 58 | </div> |
59 | 59 | <div class="refsect1"> |
60 | 60 | <a name="GVirConfigObject.object-hierarchy"></a><h2>Object Hierarchy</h2> |
61 | 61 | <pre class="synopsis"> |
62 | GObject | |
62 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
63 | 63 | +----GVirConfigObject |
64 | 64 | +----<a class="link" href="GVirConfigCapabilities.html" title="GVirConfigCapabilities">GVirConfigCapabilities</a> |
65 | 65 | +----GVirConfigDomainDevice |
88 | 88 | <a name="GVirConfigObject.properties"></a><h2>Properties</h2> |
89 | 89 | <pre class="synopsis"> |
90 | 90 | "<a class="link" href="GVirConfigObject.html#GVirConfigObject--doc" title='The "doc" property'>doc</a>" <span class="type">GVirConfigXmlDoc</span>* : Read / Write / Construct Only |
91 | "<a class="link" href="GVirConfigObject.html#GVirConfigObject--node" title='The "node" property'>node</a>" <span class="type">gpointer</span> : Read / Write / Construct Only | |
92 | "<a class="link" href="GVirConfigObject.html#GVirConfigObject--schema" title='The "schema" property'>schema</a>" <span class="type">gchar</span>* : Read / Write / Construct Only | |
91 | "<a class="link" href="GVirConfigObject.html#GVirConfigObject--node" title='The "node" property'>node</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only | |
92 | "<a class="link" href="GVirConfigObject.html#GVirConfigObject--schema" title='The "schema" property'>schema</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only | |
93 | 93 | </pre> |
94 | 94 | </div> |
95 | 95 | <div class="refsect1"> |
114 | 114 | <hr> |
115 | 115 | <div class="refsect2"> |
116 | 116 | <a name="gvir-config-object-get-schema"></a><h3>gvir_config_object_get_schema ()</h3> |
117 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_config_object_get_schema (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>);</pre> | |
117 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_config_object_get_schema (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>);</pre> | |
118 | 118 | </div> |
119 | 119 | <hr> |
120 | 120 | <div class="refsect2"> |
121 | 121 | <a name="gvir-config-object-new"></a><h3>gvir_config_object_new ()</h3> |
122 | <pre class="programlisting"><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> * gvir_config_object_new (<em class="parameter"><code><span class="type">GType</span> type</code></em>, | |
122 | <pre class="programlisting"><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> * gvir_config_object_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>, | |
123 | 123 | <em class="parameter"><code>const <span class="type">char</span> *root_name</code></em>, |
124 | 124 | <em class="parameter"><code>const <span class="type">char</span> *schema</code></em>);</pre> |
125 | 125 | </div> |
126 | 126 | <hr> |
127 | 127 | <div class="refsect2"> |
128 | 128 | <a name="gvir-config-object-new-from-xml"></a><h3>gvir_config_object_new_from_xml ()</h3> |
129 | <pre class="programlisting"><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> * gvir_config_object_new_from_xml (<em class="parameter"><code><span class="type">GType</span> type</code></em>, | |
129 | <pre class="programlisting"><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> * gvir_config_object_new_from_xml (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>, | |
130 | 130 | <em class="parameter"><code>const <span class="type">char</span> *root_name</code></em>, |
131 | 131 | <em class="parameter"><code>const <span class="type">char</span> *schema</code></em>, |
132 | <em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
133 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
132 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
133 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
134 | 134 | </div> |
135 | 135 | <hr> |
136 | 136 | <div class="refsect2"> |
137 | 137 | <a name="gvir-config-object-to-xml"></a><h3>gvir_config_object_to_xml ()</h3> |
138 | <pre class="programlisting"><span class="returnvalue">gchar</span> * gvir_config_object_to_xml (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>);</pre> | |
138 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_config_object_to_xml (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>);</pre> | |
139 | 139 | </div> |
140 | 140 | <hr> |
141 | 141 | <div class="refsect2"> |
142 | 142 | <a name="gvir-config-object-validate"></a><h3>gvir_config_object_validate ()</h3> |
143 | 143 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_object_validate (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>, |
144 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
144 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
145 | 145 | </div> |
146 | 146 | </div> |
147 | 147 | <div class="refsect1"> |
154 | 154 | <hr> |
155 | 155 | <div class="refsect2"> |
156 | 156 | <a name="GVirConfigObject--node"></a><h3>The <code class="literal">"node"</code> property</h3> |
157 | <pre class="programlisting"> "node" <span class="type">gpointer</span> : Read / Write / Construct Only</pre> | |
157 | <pre class="programlisting"> "node" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only</pre> | |
158 | 158 | <p>The XML node this config object corresponds to.</p> |
159 | 159 | </div> |
160 | 160 | <hr> |
161 | 161 | <div class="refsect2"> |
162 | 162 | <a name="GVirConfigObject--schema"></a><h3>The <code class="literal">"schema"</code> property</h3> |
163 | <pre class="programlisting"> "schema" <span class="type">gchar</span>* : Read / Write / Construct Only</pre> | |
163 | <pre class="programlisting"> "schema" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre> | |
164 | 164 | <p>The doc RNG schema.</p> |
165 | 165 | <p>Default value: NULL</p> |
166 | 166 | </div> |
168 | 168 | </div> |
169 | 169 | <div class="footer"> |
170 | 170 | <hr> |
171 | Generated by GTK-Doc V1.18.1</div> | |
171 | Generated by GTK-Doc V1.18</div> | |
172 | 172 | </body> |
173 | 173 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gconfig"> |
8 | 8 | <link rel="prev" href="GVirConfigNodeDevice.html" title="GVirConfigNodeDevice"> |
9 | 9 | <link rel="next" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
41 | 41 | <pre class="synopsis">struct <a class="link" href="GVirConfigSecret.html#GVirConfigSecret-struct" title="struct GVirConfigSecret">GVirConfigSecret</a>; |
42 | 42 | struct <a class="link" href="GVirConfigSecret.html#GVirConfigSecretClass" title="struct GVirConfigSecretClass">GVirConfigSecretClass</a>; |
43 | 43 | <a class="link" href="GVirConfigSecret.html" title="GVirConfigSecret"><span class="returnvalue">GVirConfigSecret</span></a> * <a class="link" href="GVirConfigSecret.html#gvir-config-secret-new" title="gvir_config_secret_new ()">gvir_config_secret_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); |
44 | <a class="link" href="GVirConfigSecret.html" title="GVirConfigSecret"><span class="returnvalue">GVirConfigSecret</span></a> * <a class="link" href="GVirConfigSecret.html#gvir-config-secret-new-from-xml" title="gvir_config_secret_new_from_xml ()">gvir_config_secret_new_from_xml</a> (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
45 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
44 | <a class="link" href="GVirConfigSecret.html" title="GVirConfigSecret"><span class="returnvalue">GVirConfigSecret</span></a> * <a class="link" href="GVirConfigSecret.html#gvir-config-secret-new-from-xml" title="gvir_config_secret_new_from_xml ()">gvir_config_secret_new_from_xml</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
45 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
46 | 46 | </pre> |
47 | 47 | </div> |
48 | 48 | <div class="refsect1"> |
49 | 49 | <a name="GVirConfigSecret.object-hierarchy"></a><h2>Object Hierarchy</h2> |
50 | 50 | <pre class="synopsis"> |
51 | GObject | |
51 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
52 | 52 | +----<a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a> |
53 | 53 | +----GVirConfigSecret |
54 | 54 | </pre> |
80 | 80 | <hr> |
81 | 81 | <div class="refsect2"> |
82 | 82 | <a name="gvir-config-secret-new-from-xml"></a><h3>gvir_config_secret_new_from_xml ()</h3> |
83 | <pre class="programlisting"><a class="link" href="GVirConfigSecret.html" title="GVirConfigSecret"><span class="returnvalue">GVirConfigSecret</span></a> * gvir_config_secret_new_from_xml (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
84 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
83 | <pre class="programlisting"><a class="link" href="GVirConfigSecret.html" title="GVirConfigSecret"><span class="returnvalue">GVirConfigSecret</span></a> * gvir_config_secret_new_from_xml (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
84 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
85 | 85 | </div> |
86 | 86 | </div> |
87 | 87 | </div> |
88 | 88 | <div class="footer"> |
89 | 89 | <hr> |
90 | Generated by GTK-Doc V1.18.1</div> | |
90 | Generated by GTK-Doc V1.18</div> | |
91 | 91 | </body> |
92 | 92 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gconfig"> |
8 | 8 | <link rel="prev" href="GVirConfigSecret.html" title="GVirConfigSecret"> |
9 | 9 | <link rel="next" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
38 | 38 | </tr></table></div> |
39 | 39 | <div class="refsynopsisdiv"> |
40 | 40 | <a name="GVirConfigStoragePool.synopsis"></a><h2>Synopsis</h2> |
41 | <a name="GVirConfigStoragePoolType"></a><pre class="synopsis">struct <a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePool-struct" title="struct GVirConfigStoragePool">GVirConfigStoragePool</a>; | |
41 | <pre class="synopsis">struct <a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePool-struct" title="struct GVirConfigStoragePool">GVirConfigStoragePool</a>; | |
42 | 42 | struct <a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolClass" title="struct GVirConfigStoragePoolClass">GVirConfigStoragePoolClass</a>; |
43 | enum <a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType-enum" title="enum GVirConfigStoragePoolType">GVirConfigStoragePoolType</a>; | |
43 | enum <a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType" title="enum GVirConfigStoragePoolType">GVirConfigStoragePoolType</a>; | |
44 | 44 | <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="returnvalue">GVirConfigStoragePool</span></a> * <a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-new" title="gvir_config_storage_pool_new ()">gvir_config_storage_pool_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); |
45 | 45 | <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="returnvalue">GVirConfigStoragePool</span></a> * <a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-new-from-xml" title="gvir_config_storage_pool_new_from_xml ()">gvir_config_storage_pool_new_from_xml</a> |
46 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
47 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
46 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
48 | 48 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-allocation" title="gvir_config_storage_pool_set_allocation ()">gvir_config_storage_pool_set_allocation</a> |
49 | 49 | (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>, |
50 | <em class="parameter"><code><span class="type">guint64</span> allocation</code></em>); | |
50 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> allocation</code></em>); | |
51 | 51 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-available" title="gvir_config_storage_pool_set_available ()">gvir_config_storage_pool_set_available</a> |
52 | 52 | (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>, |
53 | <em class="parameter"><code><span class="type">guint64</span> available</code></em>); | |
53 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> available</code></em>); | |
54 | 54 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-capacity" title="gvir_config_storage_pool_set_capacity ()">gvir_config_storage_pool_set_capacity</a> |
55 | 55 | (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>, |
56 | <em class="parameter"><code><span class="type">guint64</span> capacity</code></em>); | |
56 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> capacity</code></em>); | |
57 | 57 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-name" title="gvir_config_storage_pool_set_name ()">gvir_config_storage_pool_set_name</a> (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>, |
58 | 58 | <em class="parameter"><code>const <span class="type">char</span> *name</code></em>); |
59 | 59 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-pool-type" title="gvir_config_storage_pool_set_pool_type ()">gvir_config_storage_pool_set_pool_type</a> |
60 | 60 | (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>, |
61 | <em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType"><span class="type">GVirConfigStoragePoolType</span></a> type</code></em>); | |
61 | <em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType" title="enum GVirConfigStoragePoolType"><span class="type">GVirConfigStoragePoolType</span></a> type</code></em>); | |
62 | 62 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-source" title="gvir_config_storage_pool_set_source ()">gvir_config_storage_pool_set_source</a> (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>, |
63 | 63 | <em class="parameter"><code><span class="type">GVirConfigStoragePoolSource</span> *source</code></em>); |
64 | 64 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-target" title="gvir_config_storage_pool_set_target ()">gvir_config_storage_pool_set_target</a> (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>, |
70 | 70 | <div class="refsect1"> |
71 | 71 | <a name="GVirConfigStoragePool.object-hierarchy"></a><h2>Object Hierarchy</h2> |
72 | 72 | <pre class="synopsis"> |
73 | GObject | |
73 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
74 | 74 | +----<a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a> |
75 | 75 | +----GVirConfigStoragePool |
76 | </pre> | |
77 | <pre class="synopsis"> | |
78 | GEnum | |
79 | +----GVirConfigStoragePoolType | |
80 | 76 | </pre> |
81 | 77 | </div> |
82 | 78 | <div class="refsect1"> |
100 | 96 | </div> |
101 | 97 | <hr> |
102 | 98 | <div class="refsect2"> |
103 | <a name="GVirConfigStoragePoolType-enum"></a><h3>enum GVirConfigStoragePoolType</h3> | |
99 | <a name="GVirConfigStoragePoolType"></a><h3>enum GVirConfigStoragePoolType</h3> | |
104 | 100 | <pre class="programlisting">typedef enum { |
105 | 101 | GVIR_CONFIG_STORAGE_POOL_TYPE_DIR, |
106 | 102 | GVIR_CONFIG_STORAGE_POOL_TYPE_FS, |
122 | 118 | <div class="refsect2"> |
123 | 119 | <a name="gvir-config-storage-pool-new-from-xml"></a><h3>gvir_config_storage_pool_new_from_xml ()</h3> |
124 | 120 | <pre class="programlisting"><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="returnvalue">GVirConfigStoragePool</span></a> * gvir_config_storage_pool_new_from_xml |
125 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
126 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
121 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
122 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
127 | 123 | </div> |
128 | 124 | <hr> |
129 | 125 | <div class="refsect2"> |
130 | 126 | <a name="gvir-config-storage-pool-set-allocation"></a><h3>gvir_config_storage_pool_set_allocation ()</h3> |
131 | 127 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_storage_pool_set_allocation |
132 | 128 | (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>, |
133 | <em class="parameter"><code><span class="type">guint64</span> allocation</code></em>);</pre> | |
129 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> allocation</code></em>);</pre> | |
134 | 130 | </div> |
135 | 131 | <hr> |
136 | 132 | <div class="refsect2"> |
137 | 133 | <a name="gvir-config-storage-pool-set-available"></a><h3>gvir_config_storage_pool_set_available ()</h3> |
138 | 134 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_storage_pool_set_available |
139 | 135 | (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>, |
140 | <em class="parameter"><code><span class="type">guint64</span> available</code></em>);</pre> | |
136 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> available</code></em>);</pre> | |
141 | 137 | </div> |
142 | 138 | <hr> |
143 | 139 | <div class="refsect2"> |
144 | 140 | <a name="gvir-config-storage-pool-set-capacity"></a><h3>gvir_config_storage_pool_set_capacity ()</h3> |
145 | 141 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_storage_pool_set_capacity |
146 | 142 | (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>, |
147 | <em class="parameter"><code><span class="type">guint64</span> capacity</code></em>);</pre> | |
143 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> capacity</code></em>);</pre> | |
148 | 144 | </div> |
149 | 145 | <hr> |
150 | 146 | <div class="refsect2"> |
157 | 153 | <a name="gvir-config-storage-pool-set-pool-type"></a><h3>gvir_config_storage_pool_set_pool_type ()</h3> |
158 | 154 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_storage_pool_set_pool_type |
159 | 155 | (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>, |
160 | <em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType"><span class="type">GVirConfigStoragePoolType</span></a> type</code></em>);</pre> | |
156 | <em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType" title="enum GVirConfigStoragePoolType"><span class="type">GVirConfigStoragePoolType</span></a> type</code></em>);</pre> | |
161 | 157 | </div> |
162 | 158 | <hr> |
163 | 159 | <div class="refsect2"> |
181 | 177 | </div> |
182 | 178 | <div class="footer"> |
183 | 179 | <hr> |
184 | Generated by GTK-Doc V1.18.1</div> | |
180 | Generated by GTK-Doc V1.18</div> | |
185 | 181 | </body> |
186 | 182 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gconfig"> |
8 | 8 | <link rel="prev" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"> |
9 | 9 | <link rel="next" href="GVirConfigCapabilities.html" title="GVirConfigCapabilities"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | struct <a class="link" href="GVirConfigStorageVol.html#GVirConfigStorageVolClass" title="struct GVirConfigStorageVolClass">GVirConfigStorageVolClass</a>; |
43 | 43 | <a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"><span class="returnvalue">GVirConfigStorageVol</span></a> * <a class="link" href="GVirConfigStorageVol.html#gvir-config-storage-vol-new" title="gvir_config_storage_vol_new ()">gvir_config_storage_vol_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); |
44 | 44 | <a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"><span class="returnvalue">GVirConfigStorageVol</span></a> * <a class="link" href="GVirConfigStorageVol.html#gvir-config-storage-vol-new-from-xml" title="gvir_config_storage_vol_new_from_xml ()">gvir_config_storage_vol_new_from_xml</a> |
45 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
46 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
45 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
46 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
47 | 47 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStorageVol.html#gvir-config-storage-vol-set-allocation" title="gvir_config_storage_vol_set_allocation ()">gvir_config_storage_vol_set_allocation</a> |
48 | 48 | (<em class="parameter"><code><a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"><span class="type">GVirConfigStorageVol</span></a> *vol</code></em>, |
49 | <em class="parameter"><code><span class="type">guint64</span> allocation</code></em>); | |
49 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> allocation</code></em>); | |
50 | 50 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStorageVol.html#gvir-config-storage-vol-set-backing-store" title="gvir_config_storage_vol_set_backing_store ()">gvir_config_storage_vol_set_backing_store</a> |
51 | 51 | (<em class="parameter"><code><a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"><span class="type">GVirConfigStorageVol</span></a> *vol</code></em>, |
52 | 52 | <em class="parameter"><code><span class="type">GVirConfigStorageVolBackingStore</span> *backing_store</code></em>); |
53 | 53 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStorageVol.html#gvir-config-storage-vol-set-capacity" title="gvir_config_storage_vol_set_capacity ()">gvir_config_storage_vol_set_capacity</a> |
54 | 54 | (<em class="parameter"><code><a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"><span class="type">GVirConfigStorageVol</span></a> *vol</code></em>, |
55 | <em class="parameter"><code><span class="type">guint64</span> capacity</code></em>); | |
55 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> capacity</code></em>); | |
56 | 56 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStorageVol.html#gvir-config-storage-vol-set-name" title="gvir_config_storage_vol_set_name ()">gvir_config_storage_vol_set_name</a> (<em class="parameter"><code><a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"><span class="type">GVirConfigStorageVol</span></a> *vol</code></em>, |
57 | 57 | <em class="parameter"><code>const <span class="type">char</span> *name</code></em>); |
58 | 58 | <span class="returnvalue">void</span> <a class="link" href="GVirConfigStorageVol.html#gvir-config-storage-vol-set-target" title="gvir_config_storage_vol_set_target ()">gvir_config_storage_vol_set_target</a> (<em class="parameter"><code><a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"><span class="type">GVirConfigStorageVol</span></a> *vol</code></em>, |
62 | 62 | <div class="refsect1"> |
63 | 63 | <a name="GVirConfigStorageVol.object-hierarchy"></a><h2>Object Hierarchy</h2> |
64 | 64 | <pre class="synopsis"> |
65 | GObject | |
65 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
66 | 66 | +----<a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a> |
67 | 67 | +----GVirConfigStorageVol |
68 | 68 | </pre> |
95 | 95 | <div class="refsect2"> |
96 | 96 | <a name="gvir-config-storage-vol-new-from-xml"></a><h3>gvir_config_storage_vol_new_from_xml ()</h3> |
97 | 97 | <pre class="programlisting"><a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"><span class="returnvalue">GVirConfigStorageVol</span></a> * gvir_config_storage_vol_new_from_xml |
98 | (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>, | |
99 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
98 | (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>, | |
99 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
100 | 100 | </div> |
101 | 101 | <hr> |
102 | 102 | <div class="refsect2"> |
103 | 103 | <a name="gvir-config-storage-vol-set-allocation"></a><h3>gvir_config_storage_vol_set_allocation ()</h3> |
104 | 104 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_storage_vol_set_allocation |
105 | 105 | (<em class="parameter"><code><a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"><span class="type">GVirConfigStorageVol</span></a> *vol</code></em>, |
106 | <em class="parameter"><code><span class="type">guint64</span> allocation</code></em>);</pre> | |
106 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> allocation</code></em>);</pre> | |
107 | 107 | </div> |
108 | 108 | <hr> |
109 | 109 | <div class="refsect2"> |
117 | 117 | <a name="gvir-config-storage-vol-set-capacity"></a><h3>gvir_config_storage_vol_set_capacity ()</h3> |
118 | 118 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_config_storage_vol_set_capacity |
119 | 119 | (<em class="parameter"><code><a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol"><span class="type">GVirConfigStorageVol</span></a> *vol</code></em>, |
120 | <em class="parameter"><code><span class="type">guint64</span> capacity</code></em>);</pre> | |
120 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> capacity</code></em>);</pre> | |
121 | 121 | </div> |
122 | 122 | <hr> |
123 | 123 | <div class="refsect2"> |
135 | 135 | </div> |
136 | 136 | <div class="footer"> |
137 | 137 | <hr> |
138 | Generated by GTK-Doc V1.18.1</div> | |
138 | Generated by GTK-Doc V1.18</div> | |
139 | 139 | </body> |
140 | 140 | </html>⏎ |
31 | 31 | <keyword type="property" name="The "schema" property" link="GVirConfigObject.html#GVirConfigObject--schema"/> |
32 | 32 | <keyword type="struct" name="struct GVirConfigDomain" link="GVirConfigDomain.html#GVirConfigDomain-struct"/> |
33 | 33 | <keyword type="struct" name="struct GVirConfigDomainClass" link="GVirConfigDomain.html#GVirConfigDomainClass"/> |
34 | <keyword type="enum" name="enum GVirConfigDomainLifecycleAction" link="GVirConfigDomain.html#GVirConfigDomainLifecycleAction-enum"/> | |
35 | <keyword type="enum" name="enum GVirConfigDomainLifecycleEvent" link="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent-enum"/> | |
36 | <keyword type="enum" name="enum GVirConfigDomainVirtType" link="GVirConfigDomain.html#GVirConfigDomainVirtType-enum"/> | |
34 | <keyword type="enum" name="enum GVirConfigDomainLifecycleAction" link="GVirConfigDomain.html#GVirConfigDomainLifecycleAction"/> | |
35 | <keyword type="enum" name="enum GVirConfigDomainLifecycleEvent" link="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent"/> | |
36 | <keyword type="enum" name="enum GVirConfigDomainVirtType" link="GVirConfigDomain.html#GVirConfigDomainVirtType"/> | |
37 | 37 | <keyword type="function" name="gvir_config_domain_add_device ()" link="GVirConfigDomain.html#gvir-config-domain-add-device"/> |
38 | 38 | <keyword type="function" name="gvir_config_domain_get_custom_xml ()" link="GVirConfigDomain.html#gvir-config-domain-get-custom-xml"/> |
39 | 39 | <keyword type="function" name="gvir_config_domain_get_description ()" link="GVirConfigDomain.html#gvir-config-domain-get-description"/> |
87 | 87 | <keyword type="function" name="gvir_config_secret_new_from_xml ()" link="GVirConfigSecret.html#gvir-config-secret-new-from-xml"/> |
88 | 88 | <keyword type="struct" name="struct GVirConfigStoragePool" link="GVirConfigStoragePool.html#GVirConfigStoragePool-struct"/> |
89 | 89 | <keyword type="struct" name="struct GVirConfigStoragePoolClass" link="GVirConfigStoragePool.html#GVirConfigStoragePoolClass"/> |
90 | <keyword type="enum" name="enum GVirConfigStoragePoolType" link="GVirConfigStoragePool.html#GVirConfigStoragePoolType-enum"/> | |
90 | <keyword type="enum" name="enum GVirConfigStoragePoolType" link="GVirConfigStoragePool.html#GVirConfigStoragePoolType"/> | |
91 | 91 | <keyword type="function" name="gvir_config_storage_pool_new ()" link="GVirConfigStoragePool.html#gvir-config-storage-pool-new"/> |
92 | 92 | <keyword type="function" name="gvir_config_storage_pool_new_from_xml ()" link="GVirConfigStoragePool.html#gvir-config-storage-pool-new-from-xml"/> |
93 | 93 | <keyword type="function" name="gvir_config_storage_pool_set_allocation ()" link="GVirConfigStoragePool.html#gvir-config-storage-pool-set-allocation"/> |
6 | 6 | <link rel="home" href="index.html" title="Libvirt-gconfig Reference Manual"> |
7 | 7 | <link rel="up" href="index.html" title="Libvirt-gconfig Reference Manual"> |
8 | 8 | <link rel="prev" href="api-index-full.html" title="API Index"> |
9 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
9 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
10 | 10 | <link rel="stylesheet" href="style.css" type="text/css"> |
11 | 11 | </head> |
12 | 12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
62 | 62 | </div> |
63 | 63 | <div class="footer"> |
64 | 64 | <hr> |
65 | Generated by GTK-Doc V1.18.1</div> | |
65 | Generated by GTK-Doc V1.18</div> | |
66 | 66 | </body> |
67 | 67 | </html>⏎ |
7 | 7 | <link rel="up" href="index.html" title="Libvirt-gconfig Reference Manual"> |
8 | 8 | <link rel="prev" href="object-tree.html" title="Object Hierarchy"> |
9 | 9 | <link rel="next" href="annotation-glossary.html" title="Annotation Glossary"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
94 | 94 | </dt> |
95 | 95 | <dd></dd> |
96 | 96 | <dt> |
97 | GVirConfigDomainChardevSourceSpiceVmc, struct in GVirConfigDomainChardevSourceSpiceVmc | |
98 | </dt> | |
99 | <dd></dd> | |
100 | <dt> | |
101 | GVirConfigDomainChardevSourceSpiceVmcClass, struct in GVirConfigDomainChardevSourceSpiceVmc | |
102 | </dt> | |
103 | <dd></dd> | |
104 | <dt> | |
97 | 105 | <a class="link" href="GVirConfigDomain.html#GVirConfigDomainClass" title="struct GVirConfigDomainClass">GVirConfigDomainClass</a>, struct in <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain">GVirConfigDomain</a> |
98 | 106 | </dt> |
99 | 107 | <dd></dd> |
262 | 270 | </dt> |
263 | 271 | <dd></dd> |
264 | 272 | <dt> |
265 | <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction-enum" title="enum GVirConfigDomainLifecycleAction">GVirConfigDomainLifecycleAction</a>, enum in <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain">GVirConfigDomain</a> | |
266 | </dt> | |
267 | <dd></dd> | |
268 | <dt> | |
269 | <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent-enum" title="enum GVirConfigDomainLifecycleEvent">GVirConfigDomainLifecycleEvent</a>, enum in <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain">GVirConfigDomain</a> | |
273 | <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction" title="enum GVirConfigDomainLifecycleAction">GVirConfigDomainLifecycleAction</a>, enum in <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain">GVirConfigDomain</a> | |
274 | </dt> | |
275 | <dd></dd> | |
276 | <dt> | |
277 | <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent" title="enum GVirConfigDomainLifecycleEvent">GVirConfigDomainLifecycleEvent</a>, enum in <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain">GVirConfigDomain</a> | |
270 | 278 | </dt> |
271 | 279 | <dd></dd> |
272 | 280 | <dt> |
310 | 318 | </dt> |
311 | 319 | <dd></dd> |
312 | 320 | <dt> |
321 | GVirConfigDomainRedirdev, struct in GVirConfigDomainRedirdev | |
322 | </dt> | |
323 | <dd></dd> | |
324 | <dt> | |
325 | GVirConfigDomainRedirdevBus, enum in GVirConfigDomainRedirdev | |
326 | </dt> | |
327 | <dd></dd> | |
328 | <dt> | |
329 | GVirConfigDomainRedirdevClass, struct in GVirConfigDomainRedirdev | |
330 | </dt> | |
331 | <dd></dd> | |
332 | <dt> | |
313 | 333 | GVirConfigDomainSeclabel, struct in GVirConfigDomainSeclabel |
314 | 334 | </dt> |
315 | 335 | <dd></dd> |
370 | 390 | </dt> |
371 | 391 | <dd></dd> |
372 | 392 | <dt> |
373 | <a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType-enum" title="enum GVirConfigDomainVirtType">GVirConfigDomainVirtType</a>, enum in <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain">GVirConfigDomain</a> | |
393 | <a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType" title="enum GVirConfigDomainVirtType">GVirConfigDomainVirtType</a>, enum in <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain">GVirConfigDomain</a> | |
374 | 394 | </dt> |
375 | 395 | <dd></dd> |
376 | 396 | <dt> |
466 | 486 | </dt> |
467 | 487 | <dd></dd> |
468 | 488 | <dt> |
469 | <a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType-enum" title="enum GVirConfigStoragePoolType">GVirConfigStoragePoolType</a>, enum in <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool">GVirConfigStoragePool</a> | |
489 | <a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType" title="enum GVirConfigStoragePoolType">GVirConfigStoragePoolType</a>, enum in <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool">GVirConfigStoragePool</a> | |
470 | 490 | </dt> |
471 | 491 | <dd></dd> |
472 | 492 | <dt> |
550 | 570 | </dt> |
551 | 571 | <dd></dd> |
552 | 572 | <dt> |
573 | gvir_config_domain_chardev_source_spicevmc_new, function in GVirConfigDomainChardevSourceSpiceVmc | |
574 | </dt> | |
575 | <dd></dd> | |
576 | <dt> | |
577 | gvir_config_domain_chardev_source_spicevmc_new_from_xml, function in GVirConfigDomainChardevSourceSpiceVmc | |
578 | </dt> | |
579 | <dd></dd> | |
580 | <dt> | |
553 | 581 | gvir_config_domain_clock_new, function in GVirConfigDomainClock |
554 | 582 | </dt> |
555 | 583 | <dd></dd> |
966 | 994 | </dt> |
967 | 995 | <dd></dd> |
968 | 996 | <dt> |
997 | gvir_config_domain_redirdev_new, function in GVirConfigDomainRedirdev | |
998 | </dt> | |
999 | <dd></dd> | |
1000 | <dt> | |
1001 | gvir_config_domain_redirdev_new_from_xml, function in GVirConfigDomainRedirdev | |
1002 | </dt> | |
1003 | <dd></dd> | |
1004 | <dt> | |
1005 | gvir_config_domain_redirdev_set_bus, function in GVirConfigDomainRedirdev | |
1006 | </dt> | |
1007 | <dd></dd> | |
1008 | <dt> | |
969 | 1009 | gvir_config_domain_seclabel_new, function in GVirConfigDomainSeclabel |
970 | 1010 | </dt> |
971 | 1011 | <dd></dd> |
1474 | 1514 | </dt> |
1475 | 1515 | <dd></dd> |
1476 | 1516 | <dt> |
1477 | GVIR_CONFIG_TYPE_DOMAIN_CHANNEL_TARGET_TYPE, macro in libvirt-gconfig-enum-types | |
1478 | </dt> | |
1479 | <dd></dd> | |
1480 | <dt> | |
1481 | GVIR_CONFIG_TYPE_DOMAIN_CLOCK_OFFSET, macro in libvirt-gconfig-enum-types | |
1482 | </dt> | |
1483 | <dd></dd> | |
1484 | <dt> | |
1485 | GVIR_CONFIG_TYPE_DOMAIN_CONSOLE_TARGET_TYPE, macro in libvirt-gconfig-enum-types | |
1486 | </dt> | |
1487 | <dd></dd> | |
1488 | <dt> | |
1489 | GVIR_CONFIG_TYPE_DOMAIN_DISK_BUS, macro in libvirt-gconfig-enum-types | |
1490 | </dt> | |
1491 | <dd></dd> | |
1492 | <dt> | |
1493 | GVIR_CONFIG_TYPE_DOMAIN_DISK_CACHE_TYPE, macro in libvirt-gconfig-enum-types | |
1494 | </dt> | |
1495 | <dd></dd> | |
1496 | <dt> | |
1497 | GVIR_CONFIG_TYPE_DOMAIN_DISK_GUEST_DEVICE_TYPE, macro in libvirt-gconfig-enum-types | |
1498 | </dt> | |
1499 | <dd></dd> | |
1500 | <dt> | |
1501 | GVIR_CONFIG_TYPE_DOMAIN_DISK_SNAPSHOT_TYPE, macro in libvirt-gconfig-enum-types | |
1502 | </dt> | |
1503 | <dd></dd> | |
1504 | <dt> | |
1505 | GVIR_CONFIG_TYPE_DOMAIN_DISK_TYPE, macro in libvirt-gconfig-enum-types | |
1506 | </dt> | |
1507 | <dd></dd> | |
1508 | <dt> | |
1509 | GVIR_CONFIG_TYPE_DOMAIN_FILESYS_ACCESS_TYPE, macro in libvirt-gconfig-enum-types | |
1510 | </dt> | |
1511 | <dd></dd> | |
1512 | <dt> | |
1513 | GVIR_CONFIG_TYPE_DOMAIN_FILESYS_DRIVER_TYPE, macro in libvirt-gconfig-enum-types | |
1514 | </dt> | |
1515 | <dd></dd> | |
1516 | <dt> | |
1517 | GVIR_CONFIG_TYPE_DOMAIN_FILESYS_TYPE, macro in libvirt-gconfig-enum-types | |
1518 | </dt> | |
1519 | <dd></dd> | |
1520 | <dt> | |
1521 | GVIR_CONFIG_TYPE_DOMAIN_INPUT_BUS, macro in libvirt-gconfig-enum-types | |
1522 | </dt> | |
1523 | <dd></dd> | |
1524 | <dt> | |
1525 | GVIR_CONFIG_TYPE_DOMAIN_INPUT_DEVICE_TYPE, macro in libvirt-gconfig-enum-types | |
1526 | </dt> | |
1527 | <dd></dd> | |
1528 | <dt> | |
1529 | GVIR_CONFIG_TYPE_DOMAIN_INTERFACE_LINK_STATE, macro in libvirt-gconfig-enum-types | |
1530 | </dt> | |
1531 | <dd></dd> | |
1532 | <dt> | |
1533 | GVIR_CONFIG_TYPE_DOMAIN_LIFECYCLE_ACTION, macro in libvirt-gconfig-enum-types | |
1534 | </dt> | |
1535 | <dd></dd> | |
1536 | <dt> | |
1537 | GVIR_CONFIG_TYPE_DOMAIN_LIFECYCLE_EVENT, macro in libvirt-gconfig-enum-types | |
1538 | </dt> | |
1539 | <dd></dd> | |
1540 | <dt> | |
1541 | GVIR_CONFIG_TYPE_DOMAIN_MEMBALLOON_MODEL, macro in libvirt-gconfig-enum-types | |
1542 | </dt> | |
1543 | <dd></dd> | |
1544 | <dt> | |
1545 | GVIR_CONFIG_TYPE_DOMAIN_OS_BOOT_DEVICE, macro in libvirt-gconfig-enum-types | |
1546 | </dt> | |
1547 | <dd></dd> | |
1548 | <dt> | |
1549 | GVIR_CONFIG_TYPE_DOMAIN_OS_SM_BIOS_MODE, macro in libvirt-gconfig-enum-types | |
1550 | </dt> | |
1551 | <dd></dd> | |
1552 | <dt> | |
1553 | GVIR_CONFIG_TYPE_DOMAIN_OS_TYPE, macro in libvirt-gconfig-enum-types | |
1554 | </dt> | |
1555 | <dd></dd> | |
1556 | <dt> | |
1557 | GVIR_CONFIG_TYPE_DOMAIN_SECLABEL_TYPE, macro in libvirt-gconfig-enum-types | |
1558 | </dt> | |
1559 | <dd></dd> | |
1560 | <dt> | |
1561 | GVIR_CONFIG_TYPE_DOMAIN_SOUND_MODEL, macro in libvirt-gconfig-enum-types | |
1562 | </dt> | |
1563 | <dd></dd> | |
1564 | <dt> | |
1565 | GVIR_CONFIG_TYPE_DOMAIN_VIDEO_MODEL, macro in libvirt-gconfig-enum-types | |
1566 | </dt> | |
1567 | <dd></dd> | |
1568 | <dt> | |
1569 | GVIR_CONFIG_TYPE_DOMAIN_VIRT_TYPE, macro in libvirt-gconfig-enum-types | |
1570 | </dt> | |
1571 | <dd></dd> | |
1572 | <dt> | |
1573 | GVIR_CONFIG_TYPE_STORAGE_POOL_TYPE, macro in libvirt-gconfig-enum-types | |
1574 | </dt> | |
1575 | <dd></dd> | |
1576 | <dt> | |
1577 | 1517 | gvir_config_xml_doc_new, function in GVirConfigXmlDoc |
1578 | 1518 | </dt> |
1579 | 1519 | <dd></dd> |
1586 | 1526 | </dt> |
1587 | 1527 | <dd></dd> |
1588 | 1528 | <dt> |
1589 | gvir_config_xml_get_attribute_content_glib, function in libvirt-gconfig-helpers-private | |
1590 | </dt> | |
1591 | <dd></dd> | |
1592 | <dt> | |
1593 | 1529 | gvir_config_xml_get_child_element_content, function in libvirt-gconfig-helpers-private |
1594 | </dt> | |
1595 | <dd></dd> | |
1596 | <dt> | |
1597 | gvir_config_xml_get_child_element_content_glib, function in libvirt-gconfig-helpers-private | |
1598 | 1530 | </dt> |
1599 | 1531 | <dd></dd> |
1600 | 1532 | <dt> |
1612 | 1544 | </div> |
1613 | 1545 | <div class="footer"> |
1614 | 1546 | <hr> |
1615 | Generated by GTK-Doc V1.18.1</div> | |
1547 | Generated by GTK-Doc V1.18</div> | |
1616 | 1548 | </body> |
1617 | 1549 | </html>⏎ |
7 | 7 | <link rel="up" href="index.html" title="Libvirt-gconfig Reference Manual"> |
8 | 8 | <link rel="prev" href="index.html" title="Libvirt-gconfig Reference Manual"> |
9 | 9 | <link rel="next" href="GVirConfigObject.html" title="GVirConfigObject"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter"> |
22 | 22 | <div class="titlepage"><div><div><h2 class="title"> |
23 | <a name="id492697"></a>Libvirt-gconfig</h2></div></div></div> | |
23 | <a name="id454486"></a>Libvirt-gconfig</h2></div></div></div> | |
24 | 24 | <div class="toc"><dl> |
25 | 25 | <dt> |
26 | 26 | <span class="refentrytitle"><a href="GVirConfigObject.html">GVirConfigObject</a></span><span class="refpurpose"></span> |
59 | 59 | </div> |
60 | 60 | <div class="footer"> |
61 | 61 | <hr> |
62 | Generated by GTK-Doc V1.18.1</div> | |
62 | Generated by GTK-Doc V1.18</div> | |
63 | 63 | </body> |
64 | 64 | </html>⏎ |
5 | 5 | <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> |
6 | 6 | <link rel="home" href="index.html" title="Libvirt-gconfig Reference Manual"> |
7 | 7 | <link rel="next" href="ch01.html" title="Libvirt-gconfig"> |
8 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
8 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
9 | 9 | <link rel="stylesheet" href="style.css" type="text/css"> |
10 | 10 | </head> |
11 | 11 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
58 | 58 | </div> |
59 | 59 | <div class="footer"> |
60 | 60 | <hr> |
61 | Generated by GTK-Doc V1.18.1</div> | |
61 | Generated by GTK-Doc V1.18</div> | |
62 | 62 | </body> |
63 | 63 | </html>⏎ |
16 | 16 | <ANCHOR id="GVirConfigObject--schema" href="Libvirt-gconfig/GVirConfigObject.html#GVirConfigObject--schema"> |
17 | 17 | <ANCHOR id="GVirConfigDomain" href="Libvirt-gconfig/GVirConfigDomain.html"> |
18 | 18 | <ANCHOR id="GVirConfigDomain.synopsis" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomain.synopsis"> |
19 | <ANCHOR id="GVirConfigDomainLifecycleAction" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomainLifecycleAction"> | |
20 | <ANCHOR id="GVirConfigDomainLifecycleEvent" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomainLifecycleEvent"> | |
21 | <ANCHOR id="GVirConfigDomainVirtType" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomainVirtType"> | |
22 | 19 | <ANCHOR id="GVirConfigDomain.object-hierarchy" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomain.object-hierarchy"> |
23 | 20 | <ANCHOR id="GVirConfigDomain.properties" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomain.properties"> |
24 | 21 | <ANCHOR id="GVirConfigDomain.description" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomain.description"> |
25 | 22 | <ANCHOR id="GVirConfigDomain.details" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomain.details"> |
26 | 23 | <ANCHOR id="GVirConfigDomain-struct" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomain-struct"> |
27 | 24 | <ANCHOR id="GVirConfigDomainClass" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomainClass"> |
28 | <ANCHOR id="GVirConfigDomainLifecycleAction-enum" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomainLifecycleAction-enum"> | |
29 | <ANCHOR id="GVirConfigDomainLifecycleEvent-enum" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomainLifecycleEvent-enum"> | |
30 | <ANCHOR id="GVirConfigDomainVirtType-enum" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomainVirtType-enum"> | |
25 | <ANCHOR id="GVirConfigDomainLifecycleAction" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomainLifecycleAction"> | |
26 | <ANCHOR id="GVirConfigDomainLifecycleEvent" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomainLifecycleEvent"> | |
27 | <ANCHOR id="GVirConfigDomainVirtType" href="Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomainVirtType"> | |
31 | 28 | <ANCHOR id="gvir-config-domain-add-device" href="Libvirt-gconfig/GVirConfigDomain.html#gvir-config-domain-add-device"> |
32 | 29 | <ANCHOR id="gvir-config-domain-get-custom-xml" href="Libvirt-gconfig/GVirConfigDomain.html#gvir-config-domain-get-custom-xml"> |
33 | 30 | <ANCHOR id="gvir-config-domain-get-description" href="Libvirt-gconfig/GVirConfigDomain.html#gvir-config-domain-get-description"> |
112 | 109 | <ANCHOR id="gvir-config-secret-new-from-xml" href="Libvirt-gconfig/GVirConfigSecret.html#gvir-config-secret-new-from-xml"> |
113 | 110 | <ANCHOR id="GVirConfigStoragePool" href="Libvirt-gconfig/GVirConfigStoragePool.html"> |
114 | 111 | <ANCHOR id="GVirConfigStoragePool.synopsis" href="Libvirt-gconfig/GVirConfigStoragePool.html#GVirConfigStoragePool.synopsis"> |
115 | <ANCHOR id="GVirConfigStoragePoolType" href="Libvirt-gconfig/GVirConfigStoragePool.html#GVirConfigStoragePoolType"> | |
116 | 112 | <ANCHOR id="GVirConfigStoragePool.object-hierarchy" href="Libvirt-gconfig/GVirConfigStoragePool.html#GVirConfigStoragePool.object-hierarchy"> |
117 | 113 | <ANCHOR id="GVirConfigStoragePool.description" href="Libvirt-gconfig/GVirConfigStoragePool.html#GVirConfigStoragePool.description"> |
118 | 114 | <ANCHOR id="GVirConfigStoragePool.details" href="Libvirt-gconfig/GVirConfigStoragePool.html#GVirConfigStoragePool.details"> |
119 | 115 | <ANCHOR id="GVirConfigStoragePool-struct" href="Libvirt-gconfig/GVirConfigStoragePool.html#GVirConfigStoragePool-struct"> |
120 | 116 | <ANCHOR id="GVirConfigStoragePoolClass" href="Libvirt-gconfig/GVirConfigStoragePool.html#GVirConfigStoragePoolClass"> |
121 | <ANCHOR id="GVirConfigStoragePoolType-enum" href="Libvirt-gconfig/GVirConfigStoragePool.html#GVirConfigStoragePoolType-enum"> | |
117 | <ANCHOR id="GVirConfigStoragePoolType" href="Libvirt-gconfig/GVirConfigStoragePool.html#GVirConfigStoragePoolType"> | |
122 | 118 | <ANCHOR id="gvir-config-storage-pool-new" href="Libvirt-gconfig/GVirConfigStoragePool.html#gvir-config-storage-pool-new"> |
123 | 119 | <ANCHOR id="gvir-config-storage-pool-new-from-xml" href="Libvirt-gconfig/GVirConfigStoragePool.html#gvir-config-storage-pool-new-from-xml"> |
124 | 120 | <ANCHOR id="gvir-config-storage-pool-set-allocation" href="Libvirt-gconfig/GVirConfigStoragePool.html#gvir-config-storage-pool-set-allocation"> |
7 | 7 | <link rel="up" href="index.html" title="Libvirt-gconfig Reference Manual"> |
8 | 8 | <link rel="prev" href="GVirConfigCapabilities.html" title="GVirConfigCapabilities"> |
9 | 9 | <link rel="next" href="api-index-full.html" title="API Index"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
22 | 22 | <div class="titlepage"><div><div><h2 class="title"> |
23 | 23 | <a name="object-tree"></a>Object Hierarchy</h2></div></div></div> |
24 | 24 | <pre class="screen"> |
25 | GObject | |
25 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
26 | 26 | <a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a> |
27 | 27 | <a class="link" href="GVirConfigCapabilities.html" title="GVirConfigCapabilities">GVirConfigCapabilities</a> |
28 | 28 | GVirConfigDomainDevice |
30 | 30 | GVirConfigDomainChannel |
31 | 31 | GVirConfigDomainConsole |
32 | 32 | GVirConfigDomainParallel |
33 | GVirConfigDomainRedirdev | |
33 | 34 | GVirConfigDomainSerial |
34 | 35 | GVirConfigDomainDisk |
35 | 36 | GVirConfigDomainFilesys |
47 | 48 | GVirConfigDomainVideo |
48 | 49 | GVirConfigDomainChardevSource |
49 | 50 | GVirConfigDomainChardevSourcePty |
51 | GVirConfigDomainChardevSourceSpiceVmc | |
50 | 52 | GVirConfigDomainClock |
51 | 53 | <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain">GVirConfigDomain</a> |
52 | 54 | GVirConfigDomainOs |
66 | 68 | <a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol">GVirConfigStorageVol</a> |
67 | 69 | GVirConfigStorageVolTarget |
68 | 70 | GVirConfigXmlDoc |
69 | GEnum | |
70 | GVirConfigDomainChannelTargetType | |
71 | GVirConfigDomainClockOffset | |
72 | GVirConfigDomainConsoleTargetType | |
73 | GVirConfigDomainDiskBus | |
74 | GVirConfigDomainDiskCacheType | |
75 | GVirConfigDomainDiskGuestDeviceType | |
76 | GVirConfigDomainDiskSnapshotType | |
77 | GVirConfigDomainDiskType | |
78 | GVirConfigDomainFilesysAccessType | |
79 | GVirConfigDomainFilesysDriverType | |
80 | GVirConfigDomainFilesysType | |
81 | GVirConfigDomainInputBus | |
82 | GVirConfigDomainInputDeviceType | |
83 | GVirConfigDomainInterfaceLinkState | |
84 | <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction">GVirConfigDomainLifecycleAction</a> | |
85 | <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent">GVirConfigDomainLifecycleEvent</a> | |
86 | GVirConfigDomainMemballoonModel | |
87 | GVirConfigDomainOsBootDevice | |
88 | GVirConfigDomainOsSmBiosMode | |
89 | GVirConfigDomainOsType | |
90 | GVirConfigDomainSeclabelType | |
91 | GVirConfigDomainSoundModel | |
92 | GVirConfigDomainVideoModel | |
93 | <a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType">GVirConfigDomainVirtType</a> | |
94 | <a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType">GVirConfigStoragePoolType</a> | |
95 | 71 | </pre> |
96 | 72 | </div> |
97 | 73 | <div class="footer"> |
98 | 74 | <hr> |
99 | Generated by GTK-Doc V1.18.1</div> | |
75 | Generated by GTK-Doc V1.18</div> | |
100 | 76 | </body> |
101 | 77 | </html>⏎ |
2 | 2 | |
3 | 3 | DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml |
4 | 4 | |
5 | # Must not use $(top_srcdir) since gtkdoc-scan runs | |
6 | # from the srcdir already, not the builddir | |
7 | DOC_SOURCE_DIR=../../libvirt-glib | |
5 | DOC_SOURCE_DIR=$(top_srcdir)/libvirt-glib | |
8 | 6 | |
9 | 7 | SCANGOBJ_OPTIONS= |
10 | 8 |
227 | 227 | top_srcdir = @top_srcdir@ |
228 | 228 | DOC_MODULE = Libvirt-glib |
229 | 229 | DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml |
230 | ||
231 | # Must not use $(top_srcdir) since gtkdoc-scan runs | |
232 | # from the srcdir already, not the builddir | |
233 | DOC_SOURCE_DIR = ../../libvirt-glib | |
230 | DOC_SOURCE_DIR = $(top_srcdir)/libvirt-glib | |
234 | 231 | SCANGOBJ_OPTIONS = |
235 | 232 | SCAN_OPTIONS = --rebuild-sections --rebuild-types |
236 | 233 | MKDB_OPTIONS = --sgml-mode --output-format=xml |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-glib"> |
8 | 8 | <link rel="prev" href="Libvirt-glib-libvirt-glib-main.html" title="libvirt-glib-main"> |
9 | 9 | <link rel="next" href="Libvirt-glib-libvirt-glib-event.html" title="libvirt-glib-event"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
36 | 36 | </tr></table></div> |
37 | 37 | <div class="refsynopsisdiv"> |
38 | 38 | <a name="Libvirt-glib-libvirt-glib-error.synopsis"></a><h2>Synopsis</h2> |
39 | <pre class="synopsis"><span class="returnvalue">GError</span> * <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-error-new" title="gvir_error_new ()">gvir_error_new</a> (<em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
40 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
41 | <em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>, | |
39 | <pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-error-new" title="gvir_error_new ()">gvir_error_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
40 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
41 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>, | |
42 | 42 | <em class="parameter"><code>...</code></em>); |
43 | <span class="returnvalue">GError</span> * <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-error-new-literal" title="gvir_error_new_literal ()">gvir_error_new_literal</a> (<em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
44 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
45 | <em class="parameter"><code>const <span class="type">gchar</span> *message</code></em>); | |
46 | <span class="returnvalue">GError</span> * <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-error-new-valist" title="gvir_error_new_valist ()">gvir_error_new_valist</a> (<em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
47 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
48 | <em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>, | |
43 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-error-new-literal" title="gvir_error_new_literal ()">gvir_error_new_literal</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
44 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
45 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>); | |
46 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-error-new-valist" title="gvir_error_new_valist ()">gvir_error_new_valist</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
48 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>, | |
49 | 49 | <em class="parameter"><code><span class="type">va_list</span> args</code></em>); |
50 | <span class="returnvalue">void</span> <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-set-error" title="gvir_set_error ()">gvir_set_error</a> (<em class="parameter"><code><span class="type">GError</span> **error</code></em>, | |
51 | <em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
52 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
53 | <em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>, | |
50 | <span class="returnvalue">void</span> <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-set-error" title="gvir_set_error ()">gvir_set_error</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>, | |
51 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
52 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
53 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>, | |
54 | 54 | <em class="parameter"><code>...</code></em>); |
55 | <span class="returnvalue">void</span> <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-set-error-literal" title="gvir_set_error_literal ()">gvir_set_error_literal</a> (<em class="parameter"><code><span class="type">GError</span> **error</code></em>, | |
56 | <em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
57 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
58 | <em class="parameter"><code>const <span class="type">gchar</span> *message</code></em>); | |
59 | <span class="returnvalue">void</span> <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-set-error-valist" title="gvir_set_error_valist ()">gvir_set_error_valist</a> (<em class="parameter"><code><span class="type">GError</span> **error</code></em>, | |
60 | <em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
61 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
62 | <em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>, | |
55 | <span class="returnvalue">void</span> <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-set-error-literal" title="gvir_set_error_literal ()">gvir_set_error_literal</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>, | |
56 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
57 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
58 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>); | |
59 | <span class="returnvalue">void</span> <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-set-error-valist" title="gvir_set_error_valist ()">gvir_set_error_valist</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>, | |
60 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
61 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
62 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>, | |
63 | 63 | <em class="parameter"><code><span class="type">va_list</span> args</code></em>); |
64 | 64 | </pre> |
65 | 65 | </div> |
70 | 70 | <a name="Libvirt-glib-libvirt-glib-error.details"></a><h2>Details</h2> |
71 | 71 | <div class="refsect2"> |
72 | 72 | <a name="gvir-error-new"></a><h3>gvir_error_new ()</h3> |
73 | <pre class="programlisting"><span class="returnvalue">GError</span> * gvir_error_new (<em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
74 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
75 | <em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>, | |
73 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * gvir_error_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
74 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
75 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>, | |
76 | 76 | <em class="parameter"><code>...</code></em>);</pre> |
77 | 77 | <p> |
78 | Creates a new <span class="type">GError</span> with the given <em class="parameter"><code>domain</code></em> and <em class="parameter"><code>code</code></em>, | |
78 | Creates a new <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with the given <em class="parameter"><code>domain</code></em> and <em class="parameter"><code>code</code></em>, | |
79 | 79 | and a message formatted with <em class="parameter"><code>format</code></em>. |
80 | 80 | </p> |
81 | 81 | <div class="variablelist"><table border="0"> |
99 | 99 | </tr> |
100 | 100 | <tr> |
101 | 101 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
102 | <td>a new <span class="type">GError</span> | |
102 | <td>a new <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> | |
103 | 103 | </td> |
104 | 104 | </tr> |
105 | 105 | </tbody> |
108 | 108 | <hr> |
109 | 109 | <div class="refsect2"> |
110 | 110 | <a name="gvir-error-new-literal"></a><h3>gvir_error_new_literal ()</h3> |
111 | <pre class="programlisting"><span class="returnvalue">GError</span> * gvir_error_new_literal (<em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
112 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
113 | <em class="parameter"><code>const <span class="type">gchar</span> *message</code></em>);</pre> | |
114 | <p> | |
115 | Creates a new <span class="type">GError</span>; unlike <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-error-new" title="gvir_error_new ()"><code class="function">gvir_error_new()</code></a>, <em class="parameter"><code>message</code></em> is | |
111 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * gvir_error_new_literal (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
112 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
113 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>);</pre> | |
114 | <p> | |
115 | Creates a new <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>; unlike <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-error-new" title="gvir_error_new ()"><code class="function">gvir_error_new()</code></a>, <em class="parameter"><code>message</code></em> is | |
116 | 116 | not a <code class="function">printf()</code>-style format string. Use this function if |
117 | 117 | <em class="parameter"><code>message</code></em> contains text you don't have control over, |
118 | 118 | that could include <code class="function">printf()</code> escape sequences. |
134 | 134 | </tr> |
135 | 135 | <tr> |
136 | 136 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
137 | <td>a new <span class="type">GError</span> | |
137 | <td>a new <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> | |
138 | 138 | </td> |
139 | 139 | </tr> |
140 | 140 | </tbody> |
143 | 143 | <hr> |
144 | 144 | <div class="refsect2"> |
145 | 145 | <a name="gvir-error-new-valist"></a><h3>gvir_error_new_valist ()</h3> |
146 | <pre class="programlisting"><span class="returnvalue">GError</span> * gvir_error_new_valist (<em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
147 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
148 | <em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>, | |
146 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * gvir_error_new_valist (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
147 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
148 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>, | |
149 | 149 | <em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre> |
150 | 150 | <p> |
151 | Creates a new <span class="type">GError</span> with the given <em class="parameter"><code>domain</code></em> and <em class="parameter"><code>code</code></em>, | |
151 | Creates a new <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with the given <em class="parameter"><code>domain</code></em> and <em class="parameter"><code>code</code></em>, | |
152 | 152 | and a message formatted with <em class="parameter"><code>format</code></em>. |
153 | 153 | </p> |
154 | 154 | <div class="variablelist"><table border="0"> |
173 | 173 | </tr> |
174 | 174 | <tr> |
175 | 175 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
176 | <td>a new <span class="type">GError</span> | |
176 | <td>a new <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> | |
177 | 177 | </td> |
178 | 178 | </tr> |
179 | 179 | </tbody> |
182 | 182 | <hr> |
183 | 183 | <div class="refsect2"> |
184 | 184 | <a name="gvir-set-error"></a><h3>gvir_set_error ()</h3> |
185 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_set_error (<em class="parameter"><code><span class="type">GError</span> **error</code></em>, | |
186 | <em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
187 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
188 | <em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>, | |
185 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_set_error (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>, | |
186 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
187 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
188 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>, | |
189 | 189 | <em class="parameter"><code>...</code></em>);</pre> |
190 | 190 | <p> |
191 | 191 | If <em class="parameter"><code>error</code></em> is NULL this does nothing. Otherwise it |
192 | creates a new <span class="type">GError</span> with the given <em class="parameter"><code>domain</code></em> and <em class="parameter"><code>code</code></em>, | |
192 | creates a new <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with the given <em class="parameter"><code>domain</code></em> and <em class="parameter"><code>code</code></em>, | |
193 | 193 | and a message formatted with <em class="parameter"><code>format</code></em>, and stores it |
194 | 194 | in <em class="parameter"><code>error</code></em>. |
195 | 195 | </p> |
222 | 222 | <hr> |
223 | 223 | <div class="refsect2"> |
224 | 224 | <a name="gvir-set-error-literal"></a><h3>gvir_set_error_literal ()</h3> |
225 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_set_error_literal (<em class="parameter"><code><span class="type">GError</span> **error</code></em>, | |
226 | <em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
227 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
228 | <em class="parameter"><code>const <span class="type">gchar</span> *message</code></em>);</pre> | |
225 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_set_error_literal (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>, | |
226 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
227 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
228 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>);</pre> | |
229 | 229 | <p> |
230 | 230 | If <em class="parameter"><code>error</code></em> is NULL this does nothing. Otherwise it |
231 | creates a new <span class="type">GError</span> and stores it in <em class="parameter"><code>error</code></em>; unlike | |
231 | creates a new <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> and stores it in <em class="parameter"><code>error</code></em>; unlike | |
232 | 232 | <a class="link" href="Libvirt-glib-libvirt-glib-error.html#gvir-set-error" title="gvir_set_error ()"><code class="function">gvir_set_error()</code></a>, <em class="parameter"><code>message</code></em> is not a <code class="function">printf()</code>-style |
233 | 233 | format string. Use this function if <em class="parameter"><code>message</code></em> contains |
234 | 234 | text you don't have control over, that could include |
259 | 259 | <hr> |
260 | 260 | <div class="refsect2"> |
261 | 261 | <a name="gvir-set-error-valist"></a><h3>gvir_set_error_valist ()</h3> |
262 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_set_error_valist (<em class="parameter"><code><span class="type">GError</span> **error</code></em>, | |
263 | <em class="parameter"><code><span class="type">GQuark</span> domain</code></em>, | |
264 | <em class="parameter"><code><span class="type">gint</span> code</code></em>, | |
265 | <em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>, | |
262 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_set_error_valist (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>, | |
263 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>, | |
264 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>, | |
265 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>, | |
266 | 266 | <em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre> |
267 | 267 | <p> |
268 | 268 | If <em class="parameter"><code>error</code></em> is NULL this does nothing. Otherwise it |
269 | creates a new <span class="type">GError</span> with the given <em class="parameter"><code>domain</code></em> and <em class="parameter"><code>code</code></em>, | |
269 | creates a new <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with the given <em class="parameter"><code>domain</code></em> and <em class="parameter"><code>code</code></em>, | |
270 | 270 | and a message formatted with <em class="parameter"><code>format</code></em>, and stores it |
271 | 271 | in <em class="parameter"><code>error</code></em>. |
272 | 272 | </p> |
301 | 301 | </div> |
302 | 302 | <div class="footer"> |
303 | 303 | <hr> |
304 | Generated by GTK-Doc V1.18.1</div> | |
304 | Generated by GTK-Doc V1.18</div> | |
305 | 305 | </body> |
306 | 306 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-glib"> |
8 | 8 | <link rel="prev" href="Libvirt-glib-libvirt-glib-error.html" title="libvirt-glib-error"> |
9 | 9 | <link rel="next" href="object-tree.html" title="Object Hierarchy"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
52 | 52 | </div> |
53 | 53 | <div class="footer"> |
54 | 54 | <hr> |
55 | Generated by GTK-Doc V1.18.1</div> | |
55 | Generated by GTK-Doc V1.18</div> | |
56 | 56 | </body> |
57 | 57 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-glib"> |
8 | 8 | <link rel="prev" href="ch01.html" title="Libvirt-glib"> |
9 | 9 | <link rel="next" href="Libvirt-glib-libvirt-glib-error.html" title="libvirt-glib-error"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
38 | 38 | <a name="Libvirt-glib-libvirt-glib-main.synopsis"></a><h2>Synopsis</h2> |
39 | 39 | <pre class="synopsis"><span class="returnvalue">void</span> <a class="link" href="Libvirt-glib-libvirt-glib-main.html#gvir-init" title="gvir_init ()">gvir_init</a> (<em class="parameter"><code><span class="type">int</span> *argc</code></em>, |
40 | 40 | <em class="parameter"><code><span class="type">char</span> ***argv</code></em>); |
41 | <span class="returnvalue">gboolean</span> <a class="link" href="Libvirt-glib-libvirt-glib-main.html#gvir-init-check" title="gvir_init_check ()">gvir_init_check</a> (<em class="parameter"><code><span class="type">int</span> *argc</code></em>, | |
41 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="Libvirt-glib-libvirt-glib-main.html#gvir-init-check" title="gvir_init_check ()">gvir_init_check</a> (<em class="parameter"><code><span class="type">int</span> *argc</code></em>, | |
42 | 42 | <em class="parameter"><code><span class="type">char</span> ***argv</code></em>, |
43 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
43 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
44 | 44 | </pre> |
45 | 45 | </div> |
46 | 46 | <div class="refsect1"> |
56 | 56 | <hr> |
57 | 57 | <div class="refsect2"> |
58 | 58 | <a name="gvir-init-check"></a><h3>gvir_init_check ()</h3> |
59 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_init_check (<em class="parameter"><code><span class="type">int</span> *argc</code></em>, | |
59 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_init_check (<em class="parameter"><code><span class="type">int</span> *argc</code></em>, | |
60 | 60 | <em class="parameter"><code><span class="type">char</span> ***argv</code></em>, |
61 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
61 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
62 | 62 | </div> |
63 | 63 | </div> |
64 | 64 | </div> |
65 | 65 | <div class="footer"> |
66 | 66 | <hr> |
67 | Generated by GTK-Doc V1.18.1</div> | |
67 | Generated by GTK-Doc V1.18</div> | |
68 | 68 | </body> |
69 | 69 | </html>⏎ |
6 | 6 | <link rel="home" href="index.html" title="Libvirt-glib Reference Manual"> |
7 | 7 | <link rel="up" href="index.html" title="Libvirt-glib Reference Manual"> |
8 | 8 | <link rel="prev" href="object-tree.html" title="Object Hierarchy"> |
9 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
9 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
10 | 10 | <link rel="stylesheet" href="style.css" type="text/css"> |
11 | 11 | </head> |
12 | 12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
71 | 71 | </div> |
72 | 72 | <div class="footer"> |
73 | 73 | <hr> |
74 | Generated by GTK-Doc V1.18.1</div> | |
74 | Generated by GTK-Doc V1.18</div> | |
75 | 75 | </body> |
76 | 76 | </html>⏎ |
7 | 7 | <link rel="up" href="index.html" title="Libvirt-glib Reference Manual"> |
8 | 8 | <link rel="prev" href="index.html" title="Libvirt-glib Reference Manual"> |
9 | 9 | <link rel="next" href="Libvirt-glib-libvirt-glib-main.html" title="libvirt-glib-main"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter"> |
22 | 22 | <div class="titlepage"><div><div><h2 class="title"> |
23 | <a name="id562056"></a>Libvirt-glib</h2></div></div></div> | |
23 | <a name="id581769"></a>Libvirt-glib</h2></div></div></div> | |
24 | 24 | <div class="toc"><dl> |
25 | 25 | <dt> |
26 | 26 | <span class="refentrytitle"><a href="Libvirt-glib-libvirt-glib-main.html">libvirt-glib-main</a></span><span class="refpurpose"></span> |
35 | 35 | </div> |
36 | 36 | <div class="footer"> |
37 | 37 | <hr> |
38 | Generated by GTK-Doc V1.18.1</div> | |
38 | Generated by GTK-Doc V1.18</div> | |
39 | 39 | </body> |
40 | 40 | </html>⏎ |
5 | 5 | <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> |
6 | 6 | <link rel="home" href="index.html" title="Libvirt-glib Reference Manual"> |
7 | 7 | <link rel="next" href="ch01.html" title="Libvirt-glib"> |
8 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
8 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
9 | 9 | <link rel="stylesheet" href="style.css" type="text/css"> |
10 | 10 | </head> |
11 | 11 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
33 | 33 | </div> |
34 | 34 | <div class="footer"> |
35 | 35 | <hr> |
36 | Generated by GTK-Doc V1.18.1</div> | |
36 | Generated by GTK-Doc V1.18</div> | |
37 | 37 | </body> |
38 | 38 | </html>⏎ |
7 | 7 | <link rel="up" href="index.html" title="Libvirt-glib Reference Manual"> |
8 | 8 | <link rel="prev" href="Libvirt-glib-libvirt-glib-event.html" title="libvirt-glib-event"> |
9 | 9 | <link rel="next" href="api-index-full.html" title="API Index"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
26 | 26 | </div> |
27 | 27 | <div class="footer"> |
28 | 28 | <hr> |
29 | Generated by GTK-Doc V1.18.1</div> | |
29 | Generated by GTK-Doc V1.18</div> | |
30 | 30 | </body> |
31 | 31 | </html>⏎ |
204 | 204 | </SECTION> |
205 | 205 | |
206 | 206 | <SECTION> |
207 | <FILE>libvirt-gobject-enums</FILE> | |
208 | <SUBSECTION Standard> | |
209 | GVIR_TYPE_DOMAIN_DELETE_FLAGS | |
210 | GVIR_TYPE_DOMAIN_START_FLAGS | |
211 | GVIR_TYPE_DOMAIN_STATE | |
212 | gvir_domain_delete_flags_get_type | |
213 | gvir_domain_start_flags_get_type | |
214 | gvir_domain_state_get_type | |
215 | </SECTION> | |
216 | ||
217 | <SECTION> | |
218 | 207 | <FILE>libvirt-gobject-input-stream</FILE> |
219 | 208 | <TITLE>GVirInputStream</TITLE> |
220 | 209 | GVirInputStreamClass |
0 | 0 | gvir_connection_get_type |
1 | 1 | gvir_connection_handle_get_type |
2 | gvir_domain_delete_flags_get_type | |
3 | 2 | gvir_domain_device_get_type |
4 | 3 | gvir_domain_disk_get_type |
5 | 4 | gvir_domain_disk_stats_get_type |
10 | 9 | gvir_domain_interface_stats_get_type |
11 | 10 | gvir_domain_snapshot_get_type |
12 | 11 | gvir_domain_snapshot_handle_get_type |
13 | gvir_domain_start_flags_get_type | |
14 | gvir_domain_state_get_type | |
15 | 12 | gvir_interface_get_type |
16 | 13 | gvir_interface_handle_get_type |
17 | 14 | gvir_manager_get_type |
2 | 2 | |
3 | 3 | DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml |
4 | 4 | |
5 | # Must not use $(top_srcdir) since gtkdoc-scan runs | |
6 | # from the srcdir already, not the builddir | |
7 | DOC_SOURCE_DIR=../../libvirt-gobject | |
5 | DOC_SOURCE_DIR=$(top_srcdir)/libvirt-gobject | |
8 | 6 | |
9 | 7 | SCANGOBJ_OPTIONS= |
10 | 8 |
227 | 227 | top_srcdir = @top_srcdir@ |
228 | 228 | DOC_MODULE = Libvirt-gobject |
229 | 229 | DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml |
230 | ||
231 | # Must not use $(top_srcdir) since gtkdoc-scan runs | |
232 | # from the srcdir already, not the builddir | |
233 | DOC_SOURCE_DIR = ../../libvirt-gobject | |
230 | DOC_SOURCE_DIR = $(top_srcdir)/libvirt-gobject | |
234 | 231 | SCANGOBJ_OPTIONS = |
235 | 232 | SCAN_OPTIONS = --rebuild-sections --rebuild-types |
236 | 233 | MKDB_OPTIONS = --sgml-mode --output-format=xml |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="ch01.html" title="Libvirt-gobject"> |
9 | 9 | <link rel="next" href="GVirDomain.html" title="GVirDomain"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
47 | 47 | struct <a class="link" href="GVirConnection.html#GVirNodeInfo-struct" title="struct GVirNodeInfo">GVirNodeInfo</a>; |
48 | 48 | <span class="returnvalue">void</span> <a class="link" href="GVirConnection.html#gvir-connection-close" title="gvir_connection_close ()">gvir_connection_close</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); |
49 | 49 | <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-create-domain" title="gvir_connection_create_domain ()">gvir_connection_create_domain</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
50 | <em class="parameter"><code><span class="type">GVirConfigDomain</span> *conf</code></em>, | |
51 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
50 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html"><span class="type">GVirConfigDomain</span></a> *conf</code></em>, | |
51 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
52 | 52 | <a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-create-storage-pool" title="gvir_connection_create_storage_pool ()">gvir_connection_create_storage_pool</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
53 | <em class="parameter"><code><span class="type">GVirConfigStoragePool</span> *conf</code></em>, | |
54 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
55 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
56 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirConnection.html#gvir-connection-fetch-domains" title="gvir_connection_fetch_domains ()">gvir_connection_fetch_domains</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
57 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
58 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
53 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigStoragePool.html"><span class="type">GVirConfigStoragePool</span></a> *conf</code></em>, | |
54 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
55 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
56 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirConnection.html#gvir-connection-fetch-domains" title="gvir_connection_fetch_domains ()">gvir_connection_fetch_domains</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
57 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
58 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
59 | 59 | <span class="returnvalue">void</span> <a class="link" href="GVirConnection.html#gvir-connection-fetch-domains-async" title="gvir_connection_fetch_domains_async ()">gvir_connection_fetch_domains_async</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
60 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
61 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
62 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>); | |
63 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirConnection.html#gvir-connection-fetch-domains-finish" title="gvir_connection_fetch_domains_finish ()">gvir_connection_fetch_domains_finish</a> | |
64 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
65 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
66 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
67 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirConnection.html#gvir-connection-fetch-storage-pools" title="gvir_connection_fetch_storage_pools ()">gvir_connection_fetch_storage_pools</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
68 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
69 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
60 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
61 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
62 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); | |
63 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirConnection.html#gvir-connection-fetch-domains-finish" title="gvir_connection_fetch_domains_finish ()">gvir_connection_fetch_domains_finish</a> | |
64 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
65 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
66 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
67 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirConnection.html#gvir-connection-fetch-storage-pools" title="gvir_connection_fetch_storage_pools ()">gvir_connection_fetch_storage_pools</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
68 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
69 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
70 | 70 | <span class="returnvalue">void</span> <a class="link" href="GVirConnection.html#gvir-connection-fetch-storage-pools-async" title="gvir_connection_fetch_storage_pools_async ()">gvir_connection_fetch_storage_pools_async</a> |
71 | 71 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
72 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
73 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
74 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>); | |
75 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirConnection.html#gvir-connection-fetch-storage-pools-finish" title="gvir_connection_fetch_storage_pools_finish ()">gvir_connection_fetch_storage_pools_finish</a> | |
76 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
77 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
78 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
72 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
73 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
74 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); | |
75 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirConnection.html#gvir-connection-fetch-storage-pools-finish" title="gvir_connection_fetch_storage_pools_finish ()">gvir_connection_fetch_storage_pools_finish</a> | |
76 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
77 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
78 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
79 | 79 | <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-find-domain-by-id" title="gvir_connection_find_domain_by_id ()">gvir_connection_find_domain_by_id</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
80 | <em class="parameter"><code><span class="type">gint</span> id</code></em>); | |
80 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>); | |
81 | 81 | <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-find-domain-by-name" title="gvir_connection_find_domain_by_name ()">gvir_connection_find_domain_by_name</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
82 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>); | |
82 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); | |
83 | 83 | <a class="link" href="GVirInterface.html" title="GVirInterface"><span class="returnvalue">GVirInterface</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-find-interface-by-mac" title="gvir_connection_find_interface_by_mac ()">gvir_connection_find_interface_by_mac</a> |
84 | 84 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
85 | <em class="parameter"><code>const <span class="type">gchar</span> *macaddr</code></em>); | |
85 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *macaddr</code></em>); | |
86 | 86 | <a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="returnvalue">GVirNetwork</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-find-network-by-name" title="gvir_connection_find_network_by_name ()">gvir_connection_find_network_by_name</a> |
87 | 87 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
88 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>); | |
88 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); | |
89 | 89 | <a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="returnvalue">GVirNetworkFilter</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-find-network-filter-by-name" title="gvir_connection_find_network_filter_by_name ()">gvir_connection_find_network_filter_by_name</a> |
90 | 90 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
91 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>); | |
91 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); | |
92 | 92 | <a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-find-storage-pool-by-name" title="gvir_connection_find_storage_pool_by_name ()">gvir_connection_find_storage_pool_by_name</a> |
93 | 93 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
94 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>); | |
94 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); | |
95 | 95 | <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-domain" title="gvir_connection_get_domain ()">gvir_connection_get_domain</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
96 | <em class="parameter"><code>const <span class="type">gchar</span> *uuid</code></em>); | |
97 | <span class="returnvalue">GList</span> * <a class="link" href="GVirConnection.html#gvir-connection-get-domains" title="gvir_connection_get_domains ()">gvir_connection_get_domains</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
96 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>); | |
97 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-domains" title="gvir_connection_get_domains ()">gvir_connection_get_domains</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
98 | 98 | <a class="link" href="GVirInterface.html" title="GVirInterface"><span class="returnvalue">GVirInterface</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-interface" title="gvir_connection_get_interface ()">gvir_connection_get_interface</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
99 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>); | |
100 | <span class="returnvalue">GList</span> * <a class="link" href="GVirConnection.html#gvir-connection-get-interfaces" title="gvir_connection_get_interfaces ()">gvir_connection_get_interfaces</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
99 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); | |
100 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-interfaces" title="gvir_connection_get_interfaces ()">gvir_connection_get_interfaces</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
101 | 101 | <a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="returnvalue">GVirNetwork</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-network" title="gvir_connection_get_network ()">gvir_connection_get_network</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
102 | <em class="parameter"><code>const <span class="type">gchar</span> *uuid</code></em>); | |
102 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>); | |
103 | 103 | <a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="returnvalue">GVirNetworkFilter</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-network-filter" title="gvir_connection_get_network_filter ()">gvir_connection_get_network_filter</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
104 | <em class="parameter"><code>const <span class="type">gchar</span> *uuid</code></em>); | |
105 | <span class="returnvalue">GList</span> * <a class="link" href="GVirConnection.html#gvir-connection-get-network-filters" title="gvir_connection_get_network_filters ()">gvir_connection_get_network_filters</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
106 | <span class="returnvalue">GList</span> * <a class="link" href="GVirConnection.html#gvir-connection-get-networks" title="gvir_connection_get_networks ()">gvir_connection_get_networks</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
104 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>); | |
105 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-network-filters" title="gvir_connection_get_network_filters ()">gvir_connection_get_network_filters</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
106 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-networks" title="gvir_connection_get_networks ()">gvir_connection_get_networks</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
107 | 107 | <a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="returnvalue">GVirNodeDevice</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-node-device" title="gvir_connection_get_node_device ()">gvir_connection_get_node_device</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
108 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>); | |
109 | <span class="returnvalue">GList</span> * <a class="link" href="GVirConnection.html#gvir-connection-get-node-devices" title="gvir_connection_get_node_devices ()">gvir_connection_get_node_devices</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
108 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); | |
109 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-node-devices" title="gvir_connection_get_node_devices ()">gvir_connection_get_node_devices</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
110 | 110 | <a class="link" href="GVirConnection.html#GVirNodeInfo"><span class="returnvalue">GVirNodeInfo</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-node-info" title="gvir_connection_get_node_info ()">gvir_connection_get_node_info</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
111 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
111 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
112 | 112 | <a class="link" href="GVirSecret.html" title="GVirSecret"><span class="returnvalue">GVirSecret</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-secret" title="gvir_connection_get_secret ()">gvir_connection_get_secret</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
113 | <em class="parameter"><code>const <span class="type">gchar</span> *uuid</code></em>); | |
114 | <span class="returnvalue">GList</span> * <a class="link" href="GVirConnection.html#gvir-connection-get-secrets" title="gvir_connection_get_secrets ()">gvir_connection_get_secrets</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
113 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>); | |
114 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-secrets" title="gvir_connection_get_secrets ()">gvir_connection_get_secrets</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
115 | 115 | <a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-storage-pool" title="gvir_connection_get_storage_pool ()">gvir_connection_get_storage_pool</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
116 | <em class="parameter"><code>const <span class="type">gchar</span> *uuid</code></em>); | |
117 | <span class="returnvalue">GList</span> * <a class="link" href="GVirConnection.html#gvir-connection-get-storage-pools" title="gvir_connection_get_storage_pools ()">gvir_connection_get_storage_pools</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
116 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>); | |
117 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-storage-pools" title="gvir_connection_get_storage_pools ()">gvir_connection_get_storage_pools</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
118 | 118 | <a class="link" href="GVirStream.html" title="GVirStream"><span class="returnvalue">GVirStream</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-stream" title="gvir_connection_get_stream ()">gvir_connection_get_stream</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
119 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>); | |
120 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirConnection.html#gvir-connection-get-uri" title="gvir_connection_get_uri ()">gvir_connection_get_uri</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
121 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirConnection.html#gvir-connection-is-open" title="gvir_connection_is_open ()">gvir_connection_is_open</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
119 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>); | |
120 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-get-uri" title="gvir_connection_get_uri ()">gvir_connection_get_uri</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
121 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirConnection.html#gvir-connection-is-open" title="gvir_connection_is_open ()">gvir_connection_is_open</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); | |
122 | 122 | <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="returnvalue">GVirConnection</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-new" title="gvir_connection_new ()">gvir_connection_new</a> (<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>); |
123 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirConnection.html#gvir-connection-open" title="gvir_connection_open ()">gvir_connection_open</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
124 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
125 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
123 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirConnection.html#gvir-connection-open" title="gvir_connection_open ()">gvir_connection_open</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
124 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
125 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
126 | 126 | <span class="returnvalue">void</span> <a class="link" href="GVirConnection.html#gvir-connection-open-async" title="gvir_connection_open_async ()">gvir_connection_open_async</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
127 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
128 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
129 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>); | |
130 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirConnection.html#gvir-connection-open-finish" title="gvir_connection_open_finish ()">gvir_connection_open_finish</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
131 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
132 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
127 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
128 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
129 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); | |
130 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirConnection.html#gvir-connection-open-finish" title="gvir_connection_open_finish ()">gvir_connection_open_finish</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
131 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
132 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
133 | 133 | <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> * <a class="link" href="GVirConnection.html#gvir-connection-start-domain" title="gvir_connection_start_domain ()">gvir_connection_start_domain</a> (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
134 | <em class="parameter"><code><span class="type">GVirConfigDomain</span> *conf</code></em>, | |
135 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
136 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
134 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html"><span class="type">GVirConfigDomain</span></a> *conf</code></em>, | |
135 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
136 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
137 | 137 | </pre> |
138 | 138 | </div> |
139 | 139 | <div class="refsect1"> |
140 | 140 | <a name="GVirConnection.object-hierarchy"></a><h2>Object Hierarchy</h2> |
141 | 141 | <pre class="synopsis"> |
142 | GObject | |
142 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
143 | 143 | +----GVirConnection |
144 | 144 | </pre> |
145 | 145 | <pre class="synopsis"> |
151 | 151 | <a name="GVirConnection.properties"></a><h2>Properties</h2> |
152 | 152 | <pre class="synopsis"> |
153 | 153 | "<a class="link" href="GVirConnection.html#GVirConnection--handle" title='The "handle" property'>handle</a>" <span class="type">GVirConnectionHandle</span>* : Read / Write / Construct Only |
154 | "<a class="link" href="GVirConnection.html#GVirConnection--uri" title='The "uri" property'>uri</a>" <span class="type">gchar</span>* : Read / Write / Construct Only | |
154 | "<a class="link" href="GVirConnection.html#GVirConnection--uri" title='The "uri" property'>uri</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only | |
155 | 155 | </pre> |
156 | 156 | </div> |
157 | 157 | <div class="refsect1"> |
158 | 158 | <a name="GVirConnection.signals"></a><h2>Signals</h2> |
159 | 159 | <pre class="synopsis"> |
160 | "<a class="link" href="GVirConnection.html#GVirConnection-connection-closed" title='The "connection-closed" signal'>connection-closed</a>" : <code class="literal">Run First</code> | |
161 | "<a class="link" href="GVirConnection.html#GVirConnection-connection-opened" title='The "connection-opened" signal'>connection-opened</a>" : <code class="literal">Run First</code> | |
162 | "<a class="link" href="GVirConnection.html#GVirConnection-domain-added" title='The "domain-added" signal'>domain-added</a>" : <code class="literal">Run First</code> | |
163 | "<a class="link" href="GVirConnection.html#GVirConnection-domain-removed" title='The "domain-removed" signal'>domain-removed</a>" : <code class="literal">Run First</code> | |
160 | "<a class="link" href="GVirConnection.html#GVirConnection-connection-closed" title='The "connection-closed" signal'>connection-closed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a> | |
161 | "<a class="link" href="GVirConnection.html#GVirConnection-connection-opened" title='The "connection-opened" signal'>connection-opened</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a> | |
162 | "<a class="link" href="GVirConnection.html#GVirConnection-domain-added" title='The "domain-added" signal'>domain-added</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a> | |
163 | "<a class="link" href="GVirConnection.html#GVirConnection-domain-removed" title='The "domain-removed" signal'>domain-removed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a> | |
164 | 164 | </pre> |
165 | 165 | </div> |
166 | 166 | <div class="refsect1"> |
215 | 215 | <div class="refsect2"> |
216 | 216 | <a name="gvir-connection-create-domain"></a><h3>gvir_connection_create_domain ()</h3> |
217 | 217 | <pre class="programlisting"><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> * gvir_connection_create_domain (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
218 | <em class="parameter"><code><span class="type">GVirConfigDomain</span> *conf</code></em>, | |
219 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
218 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html"><span class="type">GVirConfigDomain</span></a> *conf</code></em>, | |
219 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
220 | 220 | <p> |
221 | 221 | Create the configuration file for a new persistent domain. |
222 | 222 | The returned domain will initially be in the shutoff state. |
244 | 244 | <div class="refsect2"> |
245 | 245 | <a name="gvir-connection-create-storage-pool"></a><h3>gvir_connection_create_storage_pool ()</h3> |
246 | 246 | <pre class="programlisting"><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> * gvir_connection_create_storage_pool (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
247 | <em class="parameter"><code><span class="type">GVirConfigStoragePool</span> *conf</code></em>, | |
248 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
249 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
247 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigStoragePool.html"><span class="type">GVirConfigStoragePool</span></a> *conf</code></em>, | |
248 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
249 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
250 | 250 | <div class="variablelist"><table border="0"> |
251 | 251 | <col align="left" valign="top"> |
252 | 252 | <tbody> |
264 | 264 | </tr> |
265 | 265 | <tr> |
266 | 266 | <td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td> |
267 | <td>return location for any <span class="type">GError</span> | |
267 | <td>return location for any <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> | |
268 | 268 | </td> |
269 | 269 | </tr> |
270 | 270 | <tr> |
278 | 278 | <hr> |
279 | 279 | <div class="refsect2"> |
280 | 280 | <a name="gvir-connection-fetch-domains"></a><h3>gvir_connection_fetch_domains ()</h3> |
281 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_connection_fetch_domains (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
282 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
283 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
281 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_connection_fetch_domains (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
282 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
283 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
284 | 284 | <div class="variablelist"><table border="0"> |
285 | 285 | <col align="left" valign="top"> |
286 | 286 | <tbody> |
300 | 300 | <div class="refsect2"> |
301 | 301 | <a name="gvir-connection-fetch-domains-async"></a><h3>gvir_connection_fetch_domains_async ()</h3> |
302 | 302 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_connection_fetch_domains_async (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
303 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
304 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
305 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> | |
303 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
304 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
305 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> | |
306 | 306 | <div class="variablelist"><table border="0"> |
307 | 307 | <col align="left" valign="top"> |
308 | 308 | <tbody> |
331 | 331 | <hr> |
332 | 332 | <div class="refsect2"> |
333 | 333 | <a name="gvir-connection-fetch-domains-finish"></a><h3>gvir_connection_fetch_domains_finish ()</h3> |
334 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_connection_fetch_domains_finish | |
335 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
336 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
337 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
334 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_connection_fetch_domains_finish | |
335 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
336 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
337 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
338 | 338 | <div class="variablelist"><table border="0"> |
339 | 339 | <col align="left" valign="top"> |
340 | 340 | <tbody> |
353 | 353 | <hr> |
354 | 354 | <div class="refsect2"> |
355 | 355 | <a name="gvir-connection-fetch-storage-pools"></a><h3>gvir_connection_fetch_storage_pools ()</h3> |
356 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_connection_fetch_storage_pools (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
357 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
358 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
356 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_connection_fetch_storage_pools (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
357 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
358 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
359 | 359 | <div class="variablelist"><table border="0"> |
360 | 360 | <col align="left" valign="top"> |
361 | 361 | <tbody> |
376 | 376 | <a name="gvir-connection-fetch-storage-pools-async"></a><h3>gvir_connection_fetch_storage_pools_async ()</h3> |
377 | 377 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_connection_fetch_storage_pools_async |
378 | 378 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
379 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
380 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
381 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> | |
379 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
380 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
381 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> | |
382 | 382 | <div class="variablelist"><table border="0"> |
383 | 383 | <col align="left" valign="top"> |
384 | 384 | <tbody> |
407 | 407 | <hr> |
408 | 408 | <div class="refsect2"> |
409 | 409 | <a name="gvir-connection-fetch-storage-pools-finish"></a><h3>gvir_connection_fetch_storage_pools_finish ()</h3> |
410 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_connection_fetch_storage_pools_finish | |
411 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
412 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
413 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
410 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_connection_fetch_storage_pools_finish | |
411 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
412 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
413 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
414 | 414 | <div class="variablelist"><table border="0"> |
415 | 415 | <col align="left" valign="top"> |
416 | 416 | <tbody> |
430 | 430 | <div class="refsect2"> |
431 | 431 | <a name="gvir-connection-find-domain-by-id"></a><h3>gvir_connection_find_domain_by_id ()</h3> |
432 | 432 | <pre class="programlisting"><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> * gvir_connection_find_domain_by_id (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
433 | <em class="parameter"><code><span class="type">gint</span> id</code></em>);</pre> | |
433 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>);</pre> | |
434 | 434 | <div class="variablelist"><table border="0"> |
435 | 435 | <col align="left" valign="top"> |
436 | 436 | <tbody> |
450 | 450 | <div class="refsect2"> |
451 | 451 | <a name="gvir-connection-find-domain-by-name"></a><h3>gvir_connection_find_domain_by_name ()</h3> |
452 | 452 | <pre class="programlisting"><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> * gvir_connection_find_domain_by_name (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
453 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre> | |
453 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> | |
454 | 454 | <div class="variablelist"><table border="0"> |
455 | 455 | <col align="left" valign="top"> |
456 | 456 | <tbody> |
471 | 471 | <a name="gvir-connection-find-interface-by-mac"></a><h3>gvir_connection_find_interface_by_mac ()</h3> |
472 | 472 | <pre class="programlisting"><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="returnvalue">GVirInterface</span></a> * gvir_connection_find_interface_by_mac |
473 | 473 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
474 | <em class="parameter"><code>const <span class="type">gchar</span> *macaddr</code></em>);</pre> | |
474 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *macaddr</code></em>);</pre> | |
475 | 475 | </div> |
476 | 476 | <hr> |
477 | 477 | <div class="refsect2"> |
478 | 478 | <a name="gvir-connection-find-network-by-name"></a><h3>gvir_connection_find_network_by_name ()</h3> |
479 | 479 | <pre class="programlisting"><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="returnvalue">GVirNetwork</span></a> * gvir_connection_find_network_by_name |
480 | 480 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
481 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre> | |
481 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> | |
482 | 482 | </div> |
483 | 483 | <hr> |
484 | 484 | <div class="refsect2"> |
485 | 485 | <a name="gvir-connection-find-network-filter-by-name"></a><h3>gvir_connection_find_network_filter_by_name ()</h3> |
486 | 486 | <pre class="programlisting"><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="returnvalue">GVirNetworkFilter</span></a> * gvir_connection_find_network_filter_by_name |
487 | 487 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
488 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre> | |
488 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> | |
489 | 489 | </div> |
490 | 490 | <hr> |
491 | 491 | <div class="refsect2"> |
492 | 492 | <a name="gvir-connection-find-storage-pool-by-name"></a><h3>gvir_connection_find_storage_pool_by_name ()</h3> |
493 | 493 | <pre class="programlisting"><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> * gvir_connection_find_storage_pool_by_name |
494 | 494 | (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
495 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre> | |
495 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> | |
496 | 496 | <div class="variablelist"><table border="0"> |
497 | 497 | <col align="left" valign="top"> |
498 | 498 | <tbody> |
512 | 512 | <div class="refsect2"> |
513 | 513 | <a name="gvir-connection-get-domain"></a><h3>gvir_connection_get_domain ()</h3> |
514 | 514 | <pre class="programlisting"><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> * gvir_connection_get_domain (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
515 | <em class="parameter"><code>const <span class="type">gchar</span> *uuid</code></em>);</pre> | |
515 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>);</pre> | |
516 | 516 | <div class="variablelist"><table border="0"> |
517 | 517 | <col align="left" valign="top"> |
518 | 518 | <tbody> |
531 | 531 | <hr> |
532 | 532 | <div class="refsect2"> |
533 | 533 | <a name="gvir-connection-get-domains"></a><h3>gvir_connection_get_domains ()</h3> |
534 | <pre class="programlisting"><span class="returnvalue">GList</span> * gvir_connection_get_domains (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
534 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gvir_connection_get_domains (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
535 | 535 | <div class="variablelist"><table border="0"> |
536 | 536 | <col align="left" valign="top"> |
537 | 537 | <tbody><tr> |
545 | 545 | <div class="refsect2"> |
546 | 546 | <a name="gvir-connection-get-interface"></a><h3>gvir_connection_get_interface ()</h3> |
547 | 547 | <pre class="programlisting"><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="returnvalue">GVirInterface</span></a> * gvir_connection_get_interface (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
548 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre> | |
548 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> | |
549 | 549 | </div> |
550 | 550 | <hr> |
551 | 551 | <div class="refsect2"> |
552 | 552 | <a name="gvir-connection-get-interfaces"></a><h3>gvir_connection_get_interfaces ()</h3> |
553 | <pre class="programlisting"><span class="returnvalue">GList</span> * gvir_connection_get_interfaces (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
553 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gvir_connection_get_interfaces (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
554 | 554 | </div> |
555 | 555 | <hr> |
556 | 556 | <div class="refsect2"> |
557 | 557 | <a name="gvir-connection-get-network"></a><h3>gvir_connection_get_network ()</h3> |
558 | 558 | <pre class="programlisting"><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="returnvalue">GVirNetwork</span></a> * gvir_connection_get_network (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
559 | <em class="parameter"><code>const <span class="type">gchar</span> *uuid</code></em>);</pre> | |
559 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>);</pre> | |
560 | 560 | </div> |
561 | 561 | <hr> |
562 | 562 | <div class="refsect2"> |
563 | 563 | <a name="gvir-connection-get-network-filter"></a><h3>gvir_connection_get_network_filter ()</h3> |
564 | 564 | <pre class="programlisting"><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="returnvalue">GVirNetworkFilter</span></a> * gvir_connection_get_network_filter (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
565 | <em class="parameter"><code>const <span class="type">gchar</span> *uuid</code></em>);</pre> | |
565 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>);</pre> | |
566 | 566 | </div> |
567 | 567 | <hr> |
568 | 568 | <div class="refsect2"> |
569 | 569 | <a name="gvir-connection-get-network-filters"></a><h3>gvir_connection_get_network_filters ()</h3> |
570 | <pre class="programlisting"><span class="returnvalue">GList</span> * gvir_connection_get_network_filters (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
570 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gvir_connection_get_network_filters (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
571 | 571 | </div> |
572 | 572 | <hr> |
573 | 573 | <div class="refsect2"> |
574 | 574 | <a name="gvir-connection-get-networks"></a><h3>gvir_connection_get_networks ()</h3> |
575 | <pre class="programlisting"><span class="returnvalue">GList</span> * gvir_connection_get_networks (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
575 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gvir_connection_get_networks (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
576 | 576 | </div> |
577 | 577 | <hr> |
578 | 578 | <div class="refsect2"> |
579 | 579 | <a name="gvir-connection-get-node-device"></a><h3>gvir_connection_get_node_device ()</h3> |
580 | 580 | <pre class="programlisting"><a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="returnvalue">GVirNodeDevice</span></a> * gvir_connection_get_node_device (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
581 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre> | |
581 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> | |
582 | 582 | </div> |
583 | 583 | <hr> |
584 | 584 | <div class="refsect2"> |
585 | 585 | <a name="gvir-connection-get-node-devices"></a><h3>gvir_connection_get_node_devices ()</h3> |
586 | <pre class="programlisting"><span class="returnvalue">GList</span> * gvir_connection_get_node_devices (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
586 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gvir_connection_get_node_devices (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
587 | 587 | </div> |
588 | 588 | <hr> |
589 | 589 | <div class="refsect2"> |
590 | 590 | <a name="gvir-connection-get-node-info"></a><h3>gvir_connection_get_node_info ()</h3> |
591 | 591 | <pre class="programlisting"><a class="link" href="GVirConnection.html#GVirNodeInfo"><span class="returnvalue">GVirNodeInfo</span></a> * gvir_connection_get_node_info (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
592 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
592 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
593 | 593 | <div class="variablelist"><table border="0"> |
594 | 594 | <col align="left" valign="top"> |
595 | 595 | <tbody> |
599 | 599 | </tr> |
600 | 600 | <tr> |
601 | 601 | <td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td> |
602 | <td>return location for any <span class="type">GError</span> | |
602 | <td>return location for any <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> | |
603 | 603 | </td> |
604 | 604 | </tr> |
605 | 605 | <tr> |
614 | 614 | <div class="refsect2"> |
615 | 615 | <a name="gvir-connection-get-secret"></a><h3>gvir_connection_get_secret ()</h3> |
616 | 616 | <pre class="programlisting"><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="returnvalue">GVirSecret</span></a> * gvir_connection_get_secret (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
617 | <em class="parameter"><code>const <span class="type">gchar</span> *uuid</code></em>);</pre> | |
617 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>);</pre> | |
618 | 618 | </div> |
619 | 619 | <hr> |
620 | 620 | <div class="refsect2"> |
621 | 621 | <a name="gvir-connection-get-secrets"></a><h3>gvir_connection_get_secrets ()</h3> |
622 | <pre class="programlisting"><span class="returnvalue">GList</span> * gvir_connection_get_secrets (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
622 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gvir_connection_get_secrets (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
623 | 623 | </div> |
624 | 624 | <hr> |
625 | 625 | <div class="refsect2"> |
626 | 626 | <a name="gvir-connection-get-storage-pool"></a><h3>gvir_connection_get_storage_pool ()</h3> |
627 | 627 | <pre class="programlisting"><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> * gvir_connection_get_storage_pool (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
628 | <em class="parameter"><code>const <span class="type">gchar</span> *uuid</code></em>);</pre> | |
628 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>);</pre> | |
629 | 629 | <div class="variablelist"><table border="0"> |
630 | 630 | <col align="left" valign="top"> |
631 | 631 | <tbody> |
644 | 644 | <hr> |
645 | 645 | <div class="refsect2"> |
646 | 646 | <a name="gvir-connection-get-storage-pools"></a><h3>gvir_connection_get_storage_pools ()</h3> |
647 | <pre class="programlisting"><span class="returnvalue">GList</span> * gvir_connection_get_storage_pools (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
647 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gvir_connection_get_storage_pools (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
648 | 648 | <div class="variablelist"><table border="0"> |
649 | 649 | <col align="left" valign="top"> |
650 | 650 | <tbody><tr> |
659 | 659 | <div class="refsect2"> |
660 | 660 | <a name="gvir-connection-get-stream"></a><h3>gvir_connection_get_stream ()</h3> |
661 | 661 | <pre class="programlisting"><a class="link" href="GVirStream.html" title="GVirStream"><span class="returnvalue">GVirStream</span></a> * gvir_connection_get_stream (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
662 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>);</pre> | |
662 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>);</pre> | |
663 | 663 | <div class="variablelist"><table border="0"> |
664 | 664 | <col align="left" valign="top"> |
665 | 665 | <tbody> |
678 | 678 | <hr> |
679 | 679 | <div class="refsect2"> |
680 | 680 | <a name="gvir-connection-get-uri"></a><h3>gvir_connection_get_uri ()</h3> |
681 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_connection_get_uri (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
681 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_connection_get_uri (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
682 | 682 | </div> |
683 | 683 | <hr> |
684 | 684 | <div class="refsect2"> |
685 | 685 | <a name="gvir-connection-is-open"></a><h3>gvir_connection_is_open ()</h3> |
686 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_connection_is_open (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
686 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_connection_is_open (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre> | |
687 | 687 | </div> |
688 | 688 | <hr> |
689 | 689 | <div class="refsect2"> |
693 | 693 | <hr> |
694 | 694 | <div class="refsect2"> |
695 | 695 | <a name="gvir-connection-open"></a><h3>gvir_connection_open ()</h3> |
696 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_connection_open (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
697 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
698 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
696 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_connection_open (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
697 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
698 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
699 | 699 | <div class="variablelist"><table border="0"> |
700 | 700 | <col align="left" valign="top"> |
701 | 701 | <tbody> |
715 | 715 | <div class="refsect2"> |
716 | 716 | <a name="gvir-connection-open-async"></a><h3>gvir_connection_open_async ()</h3> |
717 | 717 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_connection_open_async (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
718 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
719 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
720 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> | |
718 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
719 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
720 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> | |
721 | 721 | <div class="variablelist"><table border="0"> |
722 | 722 | <col align="left" valign="top"> |
723 | 723 | <tbody> |
746 | 746 | <hr> |
747 | 747 | <div class="refsect2"> |
748 | 748 | <a name="gvir-connection-open-finish"></a><h3>gvir_connection_open_finish ()</h3> |
749 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_connection_open_finish (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
750 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
751 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
749 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_connection_open_finish (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, | |
750 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
751 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
752 | 752 | <div class="variablelist"><table border="0"> |
753 | 753 | <col align="left" valign="top"> |
754 | 754 | <tbody> |
768 | 768 | <div class="refsect2"> |
769 | 769 | <a name="gvir-connection-start-domain"></a><h3>gvir_connection_start_domain ()</h3> |
770 | 770 | <pre class="programlisting"><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> * gvir_connection_start_domain (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>, |
771 | <em class="parameter"><code><span class="type">GVirConfigDomain</span> *conf</code></em>, | |
772 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
773 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
771 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html"><span class="type">GVirConfigDomain</span></a> *conf</code></em>, | |
772 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
773 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
774 | 774 | <p> |
775 | 775 | Start a new transient domain without persistent configuration. |
776 | 776 | The returned domain will initially be running. |
805 | 805 | <hr> |
806 | 806 | <div class="refsect2"> |
807 | 807 | <a name="GVirConnection--uri"></a><h3>The <code class="literal">"uri"</code> property</h3> |
808 | <pre class="programlisting"> "uri" <span class="type">gchar</span>* : Read / Write / Construct Only</pre> | |
808 | <pre class="programlisting"> "uri" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre> | |
809 | 809 | <p>The connection URI.</p> |
810 | 810 | <p>Default value: NULL</p> |
811 | 811 | </div> |
815 | 815 | <div class="refsect2"> |
816 | 816 | <a name="GVirConnection-connection-closed"></a><h3>The <code class="literal">"connection-closed"</code> signal</h3> |
817 | 817 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *gvirconnection, |
818 | <span class="type">gpointer</span> user_data) : <code class="literal">Run First</code></pre> | |
818 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre> | |
819 | 819 | </div> |
820 | 820 | <hr> |
821 | 821 | <div class="refsect2"> |
822 | 822 | <a name="GVirConnection-connection-opened"></a><h3>The <code class="literal">"connection-opened"</code> signal</h3> |
823 | 823 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *gvirconnection, |
824 | <span class="type">gpointer</span> user_data) : <code class="literal">Run First</code></pre> | |
824 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre> | |
825 | 825 | </div> |
826 | 826 | <hr> |
827 | 827 | <div class="refsect2"> |
828 | 828 | <a name="GVirConnection-domain-added"></a><h3>The <code class="literal">"domain-added"</code> signal</h3> |
829 | 829 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *gvirconnection, |
830 | 830 | <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *arg1, |
831 | <span class="type">gpointer</span> user_data) : <code class="literal">Run First</code></pre> | |
831 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre> | |
832 | 832 | </div> |
833 | 833 | <hr> |
834 | 834 | <div class="refsect2"> |
835 | 835 | <a name="GVirConnection-domain-removed"></a><h3>The <code class="literal">"domain-removed"</code> signal</h3> |
836 | 836 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *gvirconnection, |
837 | 837 | <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *arg1, |
838 | <span class="type">gpointer</span> user_data) : <code class="literal">Run First</code></pre> | |
838 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre> | |
839 | 839 | </div> |
840 | 840 | </div> |
841 | 841 | </div> |
842 | 842 | <div class="footer"> |
843 | 843 | <hr> |
844 | Generated by GTK-Doc V1.18.1</div> | |
844 | Generated by GTK-Doc V1.18</div> | |
845 | 845 | </body> |
846 | 846 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="GVirConnection.html" title="GVirConnection"> |
9 | 9 | <link rel="next" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | </tr></table></div> |
43 | 43 | <div class="refsynopsisdiv"> |
44 | 44 | <a name="GVirDomain.synopsis"></a><h2>Synopsis</h2> |
45 | <a name="GVirDomainDeleteFlags"></a><a name="GVirDomainInfo"></a><a name="GVirDomainStartFlags"></a><a name="GVirDomainState"></a><pre class="synopsis">struct <a class="link" href="GVirDomain.html#GVirDomain-struct" title="struct GVirDomain">GVirDomain</a>; | |
45 | <a name="GVirDomainInfo"></a><pre class="synopsis">struct <a class="link" href="GVirDomain.html#GVirDomain-struct" title="struct GVirDomain">GVirDomain</a>; | |
46 | 46 | struct <a class="link" href="GVirDomain.html#GVirDomainClass" title="struct GVirDomainClass">GVirDomainClass</a>; |
47 | enum <a class="link" href="GVirDomain.html#GVirDomainDeleteFlags-enum" title="enum GVirDomainDeleteFlags">GVirDomainDeleteFlags</a>; | |
47 | enum <a class="link" href="GVirDomain.html#GVirDomainDeleteFlags" title="enum GVirDomainDeleteFlags">GVirDomainDeleteFlags</a>; | |
48 | 48 | struct <a class="link" href="GVirDomain.html#GVirDomainInfo-struct" title="struct GVirDomainInfo">GVirDomainInfo</a>; |
49 | enum <a class="link" href="GVirDomain.html#GVirDomainStartFlags-enum" title="enum GVirDomainStartFlags">GVirDomainStartFlags</a>; | |
50 | enum <a class="link" href="GVirDomain.html#GVirDomainState-enum" title="enum GVirDomainState">GVirDomainState</a>; | |
51 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-delete" title="gvir_domain_delete ()">gvir_domain_delete</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
52 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
53 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
54 | <span class="returnvalue">GVirConfigDomain</span> * <a class="link" href="GVirDomain.html#gvir-domain-get-config" title="gvir_domain_get_config ()">gvir_domain_get_config</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
55 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
56 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
57 | <span class="returnvalue">GList</span> * <a class="link" href="GVirDomain.html#gvir-domain-get-devices" title="gvir_domain_get_devices ()">gvir_domain_get_devices</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *domain</code></em>, | |
58 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
59 | <span class="returnvalue">gint</span> <a class="link" href="GVirDomain.html#gvir-domain-get-id" title="gvir_domain_get_id ()">gvir_domain_get_id</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
60 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
49 | enum <a class="link" href="GVirDomain.html#GVirDomainStartFlags" title="enum GVirDomainStartFlags">GVirDomainStartFlags</a>; | |
50 | enum <a class="link" href="GVirDomain.html#GVirDomainState" title="enum GVirDomainState">GVirDomainState</a>; | |
51 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-delete" title="gvir_domain_delete ()">gvir_domain_delete</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
52 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
53 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
54 | <a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html"><span class="returnvalue">GVirConfigDomain</span></a> * <a class="link" href="GVirDomain.html#gvir-domain-get-config" title="gvir_domain_get_config ()">gvir_domain_get_config</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
55 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
56 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
57 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GVirDomain.html#gvir-domain-get-devices" title="gvir_domain_get_devices ()">gvir_domain_get_devices</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *domain</code></em>, | |
58 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
59 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GVirDomain.html#gvir-domain-get-id" title="gvir_domain_get_id ()">gvir_domain_get_id</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
60 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
61 | 61 | <a class="link" href="GVirDomain.html#GVirDomainInfo"><span class="returnvalue">GVirDomainInfo</span></a> * <a class="link" href="GVirDomain.html#gvir-domain-get-info" title="gvir_domain_get_info ()">gvir_domain_get_info</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, |
62 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
63 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirDomain.html#gvir-domain-get-name" title="gvir_domain_get_name ()">gvir_domain_get_name</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>); | |
64 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-get-persistent" title="gvir_domain_get_persistent ()">gvir_domain_get_persistent</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>); | |
65 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-get-saved" title="gvir_domain_get_saved ()">gvir_domain_get_saved</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>); | |
66 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirDomain.html#gvir-domain-get-uuid" title="gvir_domain_get_uuid ()">gvir_domain_get_uuid</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>); | |
67 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-open-console" title="gvir_domain_open_console ()">gvir_domain_open_console</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
62 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
63 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirDomain.html#gvir-domain-get-name" title="gvir_domain_get_name ()">gvir_domain_get_name</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>); | |
64 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-get-persistent" title="gvir_domain_get_persistent ()">gvir_domain_get_persistent</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>); | |
65 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-get-saved" title="gvir_domain_get_saved ()">gvir_domain_get_saved</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>); | |
66 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirDomain.html#gvir-domain-get-uuid" title="gvir_domain_get_uuid ()">gvir_domain_get_uuid</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>); | |
67 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-open-console" title="gvir_domain_open_console ()">gvir_domain_open_console</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
68 | 68 | <em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, |
69 | <em class="parameter"><code>const <span class="type">gchar</span> *devname</code></em>, | |
70 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
71 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
72 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-open-graphics" title="gvir_domain_open_graphics ()">gvir_domain_open_graphics</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
73 | <em class="parameter"><code><span class="type">guint</span> idx</code></em>, | |
69 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *devname</code></em>, | |
70 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
71 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
72 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-open-graphics" title="gvir_domain_open_graphics ()">gvir_domain_open_graphics</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
73 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, | |
74 | 74 | <em class="parameter"><code><span class="type">int</span> fd</code></em>, |
75 | 75 | <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, |
76 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
77 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-reboot" title="gvir_domain_reboot ()">gvir_domain_reboot</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
78 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
79 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
80 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-resume" title="gvir_domain_resume ()">gvir_domain_resume</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
81 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
82 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-save" title="gvir_domain_save ()">gvir_domain_save</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
76 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
77 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-reboot" title="gvir_domain_reboot ()">gvir_domain_reboot</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
78 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
79 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
80 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-resume" title="gvir_domain_resume ()">gvir_domain_resume</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
81 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
82 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-save" title="gvir_domain_save ()">gvir_domain_save</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
83 | 83 | <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, |
84 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
84 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
85 | 85 | <span class="returnvalue">void</span> <a class="link" href="GVirDomain.html#gvir-domain-save-async" title="gvir_domain_save_async ()">gvir_domain_save_async</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, |
86 | 86 | <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, |
87 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
88 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
89 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>); | |
90 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-save-finish" title="gvir_domain_save_finish ()">gvir_domain_save_finish</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
91 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
92 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
93 | <span class="returnvalue">gchar</span> * <a class="link" href="GVirDomain.html#gvir-domain-screenshot" title="gvir_domain_screenshot ()">gvir_domain_screenshot</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
87 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
88 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
89 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); | |
90 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-save-finish" title="gvir_domain_save_finish ()">gvir_domain_save_finish</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
91 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
92 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
93 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirDomain.html#gvir-domain-screenshot" title="gvir_domain_screenshot ()">gvir_domain_screenshot</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
94 | 94 | <em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, |
95 | <em class="parameter"><code><span class="type">guint</span> monitor_id</code></em>, | |
96 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
97 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
98 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-set-config" title="gvir_domain_set_config ()">gvir_domain_set_config</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *domain</code></em>, | |
99 | <em class="parameter"><code><span class="type">GVirConfigDomain</span> *conf</code></em>, | |
100 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
101 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-shutdown" title="gvir_domain_shutdown ()">gvir_domain_shutdown</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
102 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
103 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
104 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-start" title="gvir_domain_start ()">gvir_domain_start</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
105 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
106 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
107 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-stop" title="gvir_domain_stop ()">gvir_domain_stop</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
108 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
109 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
110 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirDomain.html#gvir-domain-suspend" title="gvir_domain_suspend ()">gvir_domain_suspend</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
111 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
95 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> monitor_id</code></em>, | |
96 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
97 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
98 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-set-config" title="gvir_domain_set_config ()">gvir_domain_set_config</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *domain</code></em>, | |
99 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html"><span class="type">GVirConfigDomain</span></a> *conf</code></em>, | |
100 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
101 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-shutdown" title="gvir_domain_shutdown ()">gvir_domain_shutdown</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
102 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
103 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
104 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-start" title="gvir_domain_start ()">gvir_domain_start</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
105 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
106 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
107 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-stop" title="gvir_domain_stop ()">gvir_domain_stop</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
108 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
109 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
110 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirDomain.html#gvir-domain-suspend" title="gvir_domain_suspend ()">gvir_domain_suspend</a> (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
111 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
112 | 112 | </pre> |
113 | 113 | </div> |
114 | 114 | <div class="refsect1"> |
115 | 115 | <a name="GVirDomain.object-hierarchy"></a><h2>Object Hierarchy</h2> |
116 | 116 | <pre class="synopsis"> |
117 | GObject | |
117 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
118 | 118 | +----GVirDomain |
119 | </pre> | |
120 | <pre class="synopsis"> | |
121 | GEnum | |
122 | +----GVirDomainDeleteFlags | |
123 | 119 | </pre> |
124 | 120 | <pre class="synopsis"> |
125 | 121 | GBoxed |
126 | 122 | +----GVirDomainInfo |
127 | </pre> | |
128 | <pre class="synopsis"> | |
129 | GFlags | |
130 | +----GVirDomainStartFlags | |
131 | </pre> | |
132 | <pre class="synopsis"> | |
133 | GEnum | |
134 | +----GVirDomainState | |
135 | 123 | </pre> |
136 | 124 | </div> |
137 | 125 | <div class="refsect1"> |
138 | 126 | <a name="GVirDomain.properties"></a><h2>Properties</h2> |
139 | 127 | <pre class="synopsis"> |
140 | 128 | "<a class="link" href="GVirDomain.html#GVirDomain--handle" title='The "handle" property'>handle</a>" <span class="type">GVirDomainHandle</span>* : Read / Write / Construct Only |
141 | "<a class="link" href="GVirDomain.html#GVirDomain--persistent" title='The "persistent" property'>persistent</a>" <span class="type">gboolean</span> : Read | |
129 | "<a class="link" href="GVirDomain.html#GVirDomain--persistent" title='The "persistent" property'>persistent</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read | |
142 | 130 | </pre> |
143 | 131 | </div> |
144 | 132 | <div class="refsect1"> |
145 | 133 | <a name="GVirDomain.signals"></a><h2>Signals</h2> |
146 | 134 | <pre class="synopsis"> |
147 | "<a class="link" href="GVirDomain.html#GVirDomain-resumed" title='The "resumed" signal'>resumed</a>" : <code class="literal">No Hooks</code> | |
148 | "<a class="link" href="GVirDomain.html#GVirDomain-started" title='The "started" signal'>started</a>" : <code class="literal">No Hooks</code> | |
149 | "<a class="link" href="GVirDomain.html#GVirDomain-stopped" title='The "stopped" signal'>stopped</a>" : <code class="literal">No Hooks</code> | |
150 | "<a class="link" href="GVirDomain.html#GVirDomain-suspended" title='The "suspended" signal'>suspended</a>" : <code class="literal">No Hooks</code> | |
151 | "<a class="link" href="GVirDomain.html#GVirDomain-updated" title='The "updated" signal'>updated</a>" : <code class="literal">No Hooks</code> | |
135 | "<a class="link" href="GVirDomain.html#GVirDomain-resumed" title='The "resumed" signal'>resumed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a> | |
136 | "<a class="link" href="GVirDomain.html#GVirDomain-started" title='The "started" signal'>started</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a> | |
137 | "<a class="link" href="GVirDomain.html#GVirDomain-stopped" title='The "stopped" signal'>stopped</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a> | |
138 | "<a class="link" href="GVirDomain.html#GVirDomain-suspended" title='The "suspended" signal'>suspended</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a> | |
139 | "<a class="link" href="GVirDomain.html#GVirDomain-updated" title='The "updated" signal'>updated</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a> | |
152 | 140 | </pre> |
153 | 141 | </div> |
154 | 142 | <div class="refsect1"> |
179 | 167 | </div> |
180 | 168 | <hr> |
181 | 169 | <div class="refsect2"> |
182 | <a name="GVirDomainDeleteFlags-enum"></a><h3>enum GVirDomainDeleteFlags</h3> | |
170 | <a name="GVirDomainDeleteFlags"></a><h3>enum GVirDomainDeleteFlags</h3> | |
183 | 171 | <pre class="programlisting">typedef enum { |
184 | 172 | GVIR_DOMAIN_DELETE_NONE = 0, |
185 | 173 | GVIR_DOMAIN_DELETE_SAVED_STATE = VIR_DOMAIN_UNDEFINE_MANAGED_SAVE, |
222 | 210 | </div> |
223 | 211 | <hr> |
224 | 212 | <div class="refsect2"> |
225 | <a name="GVirDomainStartFlags-enum"></a><h3>enum GVirDomainStartFlags</h3> | |
213 | <a name="GVirDomainStartFlags"></a><h3>enum GVirDomainStartFlags</h3> | |
226 | 214 | <pre class="programlisting">typedef enum { |
227 | 215 | GVIR_DOMAIN_START_NONE = 0, |
228 | 216 | GVIR_DOMAIN_START_PAUSED = (1 << 0), |
234 | 222 | </div> |
235 | 223 | <hr> |
236 | 224 | <div class="refsect2"> |
237 | <a name="GVirDomainState-enum"></a><h3>enum GVirDomainState</h3> | |
225 | <a name="GVirDomainState"></a><h3>enum GVirDomainState</h3> | |
238 | 226 | <pre class="programlisting">typedef enum { |
239 | 227 | GVIR_DOMAIN_STATE_NONE = 0, /* no state */ |
240 | 228 | GVIR_DOMAIN_STATE_RUNNING = 1, /* the domain is running */ |
249 | 237 | <hr> |
250 | 238 | <div class="refsect2"> |
251 | 239 | <a name="gvir-domain-delete"></a><h3>gvir_domain_delete ()</h3> |
252 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_delete (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
253 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
254 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
240 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_delete (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
241 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
242 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
255 | 243 | <div class="variablelist"><table border="0"> |
256 | 244 | <col align="left" valign="top"> |
257 | 245 | <tbody> |
269 | 257 | <hr> |
270 | 258 | <div class="refsect2"> |
271 | 259 | <a name="gvir-domain-get-config"></a><h3>gvir_domain_get_config ()</h3> |
272 | <pre class="programlisting"><span class="returnvalue">GVirConfigDomain</span> * gvir_domain_get_config (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
273 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
274 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
275 | <div class="variablelist"><table border="0"> | |
276 | <col align="left" valign="top"> | |
277 | <tbody> | |
278 | <tr> | |
279 | <td><p><span class="term"><em class="parameter"><code>dom</code></em> :</span></p></td> | |
280 | <td>the domain</td> | |
281 | </tr> | |
282 | <tr> | |
283 | <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> | |
284 | <td>the flags</td> | |
285 | </tr> | |
286 | <tr> | |
287 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
288 | <td>the config. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
289 | </td> | |
260 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html"><span class="returnvalue">GVirConfigDomain</span></a> * gvir_domain_get_config (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
261 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
262 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
263 | <div class="variablelist"><table border="0"> | |
264 | <col align="left" valign="top"> | |
265 | <tbody> | |
266 | <tr> | |
267 | <td><p><span class="term"><em class="parameter"><code>dom</code></em> :</span></p></td> | |
268 | <td>the domain</td> | |
269 | </tr> | |
270 | <tr> | |
271 | <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> | |
272 | <td>the flags | |
273 | Returns: (transfer full): the config</td> | |
290 | 274 | </tr> |
291 | 275 | </tbody> |
292 | 276 | </table></div> |
294 | 278 | <hr> |
295 | 279 | <div class="refsect2"> |
296 | 280 | <a name="gvir-domain-get-devices"></a><h3>gvir_domain_get_devices ()</h3> |
297 | <pre class="programlisting"><span class="returnvalue">GList</span> * gvir_domain_get_devices (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *domain</code></em>, | |
298 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
281 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gvir_domain_get_devices (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *domain</code></em>, | |
282 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
299 | 283 | <p> |
300 | 284 | Gets the list of devices attached to <em class="parameter"><code>domain</code></em> |
301 | 285 | </p> |
313 | 297 | <tr> |
314 | 298 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
315 | 299 | <td>a newly |
316 | allocated <span class="type">GList</span> of <span class="type">GVirDomainDevice</span>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> LibvirtGObject.DomainDevice][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
300 | allocated <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <span class="type">GVirDomainDevice</span>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> LibvirtGObject.DomainDevice][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
317 | 301 | </td> |
318 | 302 | </tr> |
319 | 303 | </tbody> |
322 | 306 | <hr> |
323 | 307 | <div class="refsect2"> |
324 | 308 | <a name="gvir-domain-get-id"></a><h3>gvir_domain_get_id ()</h3> |
325 | <pre class="programlisting"><span class="returnvalue">gint</span> gvir_domain_get_id (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
326 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
309 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gvir_domain_get_id (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
310 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
327 | 311 | </div> |
328 | 312 | <hr> |
329 | 313 | <div class="refsect2"> |
330 | 314 | <a name="gvir-domain-get-info"></a><h3>gvir_domain_get_info ()</h3> |
331 | 315 | <pre class="programlisting"><a class="link" href="GVirDomain.html#GVirDomainInfo"><span class="returnvalue">GVirDomainInfo</span></a> * gvir_domain_get_info (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, |
332 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
333 | <div class="variablelist"><table border="0"> | |
334 | <col align="left" valign="top"> | |
335 | <tbody> | |
336 | <tr> | |
337 | <td><p><span class="term"><em class="parameter"><code>dom</code></em> :</span></p></td> | |
338 | <td>the domain</td> | |
339 | </tr> | |
340 | <tr> | |
341 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
342 | <td>the info. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
343 | </td> | |
344 | </tr> | |
345 | </tbody> | |
316 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
317 | <div class="variablelist"><table border="0"> | |
318 | <col align="left" valign="top"> | |
319 | <tbody><tr> | |
320 | <td><p><span class="term"><em class="parameter"><code>dom</code></em> :</span></p></td> | |
321 | <td>the domain | |
322 | Returns: (transfer full): the info</td> | |
323 | </tr></tbody> | |
346 | 324 | </table></div> |
347 | 325 | </div> |
348 | 326 | <hr> |
349 | 327 | <div class="refsect2"> |
350 | 328 | <a name="gvir-domain-get-name"></a><h3>gvir_domain_get_name ()</h3> |
351 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_domain_get_name (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>);</pre> | |
329 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_domain_get_name (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>);</pre> | |
352 | 330 | </div> |
353 | 331 | <hr> |
354 | 332 | <div class="refsect2"> |
355 | 333 | <a name="gvir-domain-get-persistent"></a><h3>gvir_domain_get_persistent ()</h3> |
356 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_get_persistent (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>);</pre> | |
334 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_get_persistent (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>);</pre> | |
357 | 335 | <div class="variablelist"><table border="0"> |
358 | 336 | <col align="left" valign="top"> |
359 | 337 | <tbody> |
371 | 349 | <hr> |
372 | 350 | <div class="refsect2"> |
373 | 351 | <a name="gvir-domain-get-saved"></a><h3>gvir_domain_get_saved ()</h3> |
374 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_get_saved (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>);</pre> | |
352 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_get_saved (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>);</pre> | |
375 | 353 | <div class="variablelist"><table border="0"> |
376 | 354 | <col align="left" valign="top"> |
377 | 355 | <tbody> |
390 | 368 | <hr> |
391 | 369 | <div class="refsect2"> |
392 | 370 | <a name="gvir-domain-get-uuid"></a><h3>gvir_domain_get_uuid ()</h3> |
393 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_domain_get_uuid (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>);</pre> | |
371 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_domain_get_uuid (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>);</pre> | |
394 | 372 | </div> |
395 | 373 | <hr> |
396 | 374 | <div class="refsect2"> |
397 | 375 | <a name="gvir-domain-open-console"></a><h3>gvir_domain_open_console ()</h3> |
398 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_open_console (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
376 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_open_console (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
399 | 377 | <em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, |
400 | <em class="parameter"><code>const <span class="type">gchar</span> *devname</code></em>, | |
401 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
402 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
378 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *devname</code></em>, | |
379 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
380 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
403 | 381 | <p> |
404 | 382 | Open a text console for the domain <em class="parameter"><code>dom</code></em>, connecting it to the |
405 | 383 | stream <em class="parameter"><code>stream</code></em>. If <em class="parameter"><code>devname</code></em> is NULL, the default console will |
438 | 416 | <hr> |
439 | 417 | <div class="refsect2"> |
440 | 418 | <a name="gvir-domain-open-graphics"></a><h3>gvir_domain_open_graphics ()</h3> |
441 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_open_graphics (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
442 | <em class="parameter"><code><span class="type">guint</span> idx</code></em>, | |
419 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_open_graphics (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
420 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, | |
443 | 421 | <em class="parameter"><code><span class="type">int</span> fd</code></em>, |
444 | 422 | <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, |
445 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
423 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
446 | 424 | <p> |
447 | 425 | Open a connection to the local graphics display, connecting it to the |
448 | 426 | socket pair file descriptor passed in as <em class="parameter"><code>fd</code></em>. |
476 | 454 | <hr> |
477 | 455 | <div class="refsect2"> |
478 | 456 | <a name="gvir-domain-reboot"></a><h3>gvir_domain_reboot ()</h3> |
479 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_reboot (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
480 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
481 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
457 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_reboot (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
458 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
459 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
482 | 460 | <div class="variablelist"><table border="0"> |
483 | 461 | <col align="left" valign="top"> |
484 | 462 | <tbody> |
496 | 474 | <hr> |
497 | 475 | <div class="refsect2"> |
498 | 476 | <a name="gvir-domain-resume"></a><h3>gvir_domain_resume ()</h3> |
499 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_resume (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
500 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
477 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_resume (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
478 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
501 | 479 | <div class="variablelist"><table border="0"> |
502 | 480 | <col align="left" valign="top"> |
503 | 481 | <tbody> |
515 | 493 | <hr> |
516 | 494 | <div class="refsect2"> |
517 | 495 | <a name="gvir-domain-save"></a><h3>gvir_domain_save ()</h3> |
518 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_save (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
496 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_save (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
519 | 497 | <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, |
520 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
498 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
521 | 499 | <p> |
522 | 500 | Saves the state of the domain on disk and stops it. Use <a class="link" href="GVirDomain.html#gvir-domain-start" title="gvir_domain_start ()"><span class="type">gvir_domain_start</span></a> |
523 | 501 | to restore the saved state of the domain. A saved domain can be restored |
550 | 528 | <a name="gvir-domain-save-async"></a><h3>gvir_domain_save_async ()</h3> |
551 | 529 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_domain_save_async (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, |
552 | 530 | <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, |
553 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
554 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
555 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> | |
531 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
532 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
533 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> | |
556 | 534 | </div> |
557 | 535 | <hr> |
558 | 536 | <div class="refsect2"> |
559 | 537 | <a name="gvir-domain-save-finish"></a><h3>gvir_domain_save_finish ()</h3> |
560 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_save_finish (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
561 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
562 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
538 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_save_finish (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
539 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
540 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
563 | 541 | </div> |
564 | 542 | <hr> |
565 | 543 | <div class="refsect2"> |
566 | 544 | <a name="gvir-domain-screenshot"></a><h3>gvir_domain_screenshot ()</h3> |
567 | <pre class="programlisting"><span class="returnvalue">gchar</span> * gvir_domain_screenshot (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
545 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_domain_screenshot (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
568 | 546 | <em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, |
569 | <em class="parameter"><code><span class="type">guint</span> monitor_id</code></em>, | |
570 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
571 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
547 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> monitor_id</code></em>, | |
548 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
549 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
572 | 550 | <div class="variablelist"><table border="0"> |
573 | 551 | <col align="left" valign="top"> |
574 | 552 | <tbody> |
595 | 573 | <hr> |
596 | 574 | <div class="refsect2"> |
597 | 575 | <a name="gvir-domain-set-config"></a><h3>gvir_domain_set_config ()</h3> |
598 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_set_config (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *domain</code></em>, | |
599 | <em class="parameter"><code><span class="type">GVirConfigDomain</span> *conf</code></em>, | |
600 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
576 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_set_config (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *domain</code></em>, | |
577 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html"><span class="type">GVirConfigDomain</span></a> *conf</code></em>, | |
578 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
601 | 579 | <p> |
602 | 580 | Resets configuration of an existing domain. |
603 | 581 | </p> |
631 | 609 | <hr> |
632 | 610 | <div class="refsect2"> |
633 | 611 | <a name="gvir-domain-shutdown"></a><h3>gvir_domain_shutdown ()</h3> |
634 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_shutdown (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
635 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
636 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
612 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_shutdown (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
613 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
614 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
637 | 615 | <div class="variablelist"><table border="0"> |
638 | 616 | <col align="left" valign="top"> |
639 | 617 | <tbody> |
651 | 629 | <hr> |
652 | 630 | <div class="refsect2"> |
653 | 631 | <a name="gvir-domain-start"></a><h3>gvir_domain_start ()</h3> |
654 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_start (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
655 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
656 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
632 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_start (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
633 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
634 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
657 | 635 | <div class="variablelist"><table border="0"> |
658 | 636 | <col align="left" valign="top"> |
659 | 637 | <tbody> |
671 | 649 | <hr> |
672 | 650 | <div class="refsect2"> |
673 | 651 | <a name="gvir-domain-stop"></a><h3>gvir_domain_stop ()</h3> |
674 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_stop (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
675 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
676 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
652 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_stop (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
653 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
654 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
677 | 655 | <div class="variablelist"><table border="0"> |
678 | 656 | <col align="left" valign="top"> |
679 | 657 | <tbody> |
691 | 669 | <hr> |
692 | 670 | <div class="refsect2"> |
693 | 671 | <a name="gvir-domain-suspend"></a><h3>gvir_domain_suspend ()</h3> |
694 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_domain_suspend (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
695 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
672 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_domain_suspend (<em class="parameter"><code><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *dom</code></em>, | |
673 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
696 | 674 | </div> |
697 | 675 | </div> |
698 | 676 | <div class="refsect1"> |
705 | 683 | <hr> |
706 | 684 | <div class="refsect2"> |
707 | 685 | <a name="GVirDomain--persistent"></a><h3>The <code class="literal">"persistent"</code> property</h3> |
708 | <pre class="programlisting"> "persistent" <span class="type">gboolean</span> : Read</pre> | |
686 | <pre class="programlisting"> "persistent" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre> | |
709 | 687 | <p>If domain is persistent.</p> |
710 | 688 | <p>Default value: TRUE</p> |
711 | 689 | </div> |
715 | 693 | <div class="refsect2"> |
716 | 694 | <a name="GVirDomain-resumed"></a><h3>The <code class="literal">"resumed"</code> signal</h3> |
717 | 695 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *gvirdomain, |
718 | <span class="type">gpointer</span> user_data) : <code class="literal">No Hooks</code></pre> | |
696 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a></pre> | |
719 | 697 | </div> |
720 | 698 | <hr> |
721 | 699 | <div class="refsect2"> |
722 | 700 | <a name="GVirDomain-started"></a><h3>The <code class="literal">"started"</code> signal</h3> |
723 | 701 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *gvirdomain, |
724 | <span class="type">gpointer</span> user_data) : <code class="literal">No Hooks</code></pre> | |
702 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a></pre> | |
725 | 703 | </div> |
726 | 704 | <hr> |
727 | 705 | <div class="refsect2"> |
728 | 706 | <a name="GVirDomain-stopped"></a><h3>The <code class="literal">"stopped"</code> signal</h3> |
729 | 707 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *gvirdomain, |
730 | <span class="type">gpointer</span> user_data) : <code class="literal">No Hooks</code></pre> | |
708 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a></pre> | |
731 | 709 | </div> |
732 | 710 | <hr> |
733 | 711 | <div class="refsect2"> |
734 | 712 | <a name="GVirDomain-suspended"></a><h3>The <code class="literal">"suspended"</code> signal</h3> |
735 | 713 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *gvirdomain, |
736 | <span class="type">gpointer</span> user_data) : <code class="literal">No Hooks</code></pre> | |
714 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a></pre> | |
737 | 715 | </div> |
738 | 716 | <hr> |
739 | 717 | <div class="refsect2"> |
740 | 718 | <a name="GVirDomain-updated"></a><h3>The <code class="literal">"updated"</code> signal</h3> |
741 | 719 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a> *gvirdomain, |
742 | <span class="type">gpointer</span> user_data) : <code class="literal">No Hooks</code></pre> | |
720 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a></pre> | |
743 | 721 | </div> |
744 | 722 | </div> |
745 | 723 | </div> |
746 | 724 | <div class="footer"> |
747 | 725 | <hr> |
748 | Generated by GTK-Doc V1.18.1</div> | |
726 | Generated by GTK-Doc V1.18</div> | |
749 | 727 | </body> |
750 | 728 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="GVirDomain.html" title="GVirDomain"> |
9 | 9 | <link rel="next" href="GVirInterface.html" title="GVirInterface"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | <a name="GVirDomainSnapshot.synopsis"></a><h2>Synopsis</h2> |
43 | 43 | <pre class="synopsis">struct <a class="link" href="GVirDomainSnapshot.html#GVirDomainSnapshot-struct" title="struct GVirDomainSnapshot">GVirDomainSnapshot</a>; |
44 | 44 | struct <a class="link" href="GVirDomainSnapshot.html#GVirDomainSnapshotClass" title="struct GVirDomainSnapshotClass">GVirDomainSnapshotClass</a>; |
45 | <span class="returnvalue">GVirConfigDomainSnapshot</span> * <a class="link" href="GVirDomainSnapshot.html#gvir-domain-snapshot-get-config" title="gvir_domain_snapshot_get_config ()">gvir_domain_snapshot_get_config</a> | |
45 | <a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomainSnapshot.html"><span class="returnvalue">GVirConfigDomainSnapshot</span></a> * <a class="link" href="GVirDomainSnapshot.html#gvir-domain-snapshot-get-config" title="gvir_domain_snapshot_get_config ()">gvir_domain_snapshot_get_config</a> | |
46 | 46 | (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>, |
47 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
48 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
49 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirDomainSnapshot.html#gvir-domain-snapshot-get-name" title="gvir_domain_snapshot_get_name ()">gvir_domain_snapshot_get_name</a> (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>); | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
48 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
49 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirDomainSnapshot.html#gvir-domain-snapshot-get-name" title="gvir_domain_snapshot_get_name ()">gvir_domain_snapshot_get_name</a> (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>); | |
50 | 50 | </pre> |
51 | 51 | </div> |
52 | 52 | <div class="refsect1"> |
53 | 53 | <a name="GVirDomainSnapshot.object-hierarchy"></a><h2>Object Hierarchy</h2> |
54 | 54 | <pre class="synopsis"> |
55 | GObject | |
55 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
56 | 56 | +----GVirDomainSnapshot |
57 | 57 | </pre> |
58 | 58 | </div> |
84 | 84 | <hr> |
85 | 85 | <div class="refsect2"> |
86 | 86 | <a name="gvir-domain-snapshot-get-config"></a><h3>gvir_domain_snapshot_get_config ()</h3> |
87 | <pre class="programlisting"><span class="returnvalue">GVirConfigDomainSnapshot</span> * gvir_domain_snapshot_get_config | |
87 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomainSnapshot.html"><span class="returnvalue">GVirConfigDomainSnapshot</span></a> * gvir_domain_snapshot_get_config | |
88 | 88 | (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>, |
89 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
90 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
89 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
90 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
91 | 91 | <div class="variablelist"><table border="0"> |
92 | 92 | <col align="left" valign="top"> |
93 | 93 | <tbody> |
97 | 97 | </tr> |
98 | 98 | <tr> |
99 | 99 | <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
100 | <td>the flags</td> | |
101 | </tr> | |
102 | <tr> | |
103 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
104 | <td>the config. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
105 | </td> | |
100 | <td>the flags | |
101 | Returns: (transfer full): the config</td> | |
106 | 102 | </tr> |
107 | 103 | </tbody> |
108 | 104 | </table></div> |
110 | 106 | <hr> |
111 | 107 | <div class="refsect2"> |
112 | 108 | <a name="gvir-domain-snapshot-get-name"></a><h3>gvir_domain_snapshot_get_name ()</h3> |
113 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_domain_snapshot_get_name (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>);</pre> | |
109 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_domain_snapshot_get_name (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>);</pre> | |
114 | 110 | </div> |
115 | 111 | </div> |
116 | 112 | <div class="refsect1"> |
124 | 120 | </div> |
125 | 121 | <div class="footer"> |
126 | 122 | <hr> |
127 | Generated by GTK-Doc V1.18.1</div> | |
123 | Generated by GTK-Doc V1.18</div> | |
128 | 124 | </body> |
129 | 125 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"> |
9 | 9 | <link rel="next" href="GVirManager.html" title="GVirManager"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | <a name="GVirInterface.synopsis"></a><h2>Synopsis</h2> |
43 | 43 | <pre class="synopsis">struct <a class="link" href="GVirInterface.html#GVirInterface-struct" title="struct GVirInterface">GVirInterface</a>; |
44 | 44 | struct <a class="link" href="GVirInterface.html#GVirInterfaceClass" title="struct GVirInterfaceClass">GVirInterfaceClass</a>; |
45 | <span class="returnvalue">GVirConfigInterface</span> * <a class="link" href="GVirInterface.html#gvir-interface-get-config" title="gvir_interface_get_config ()">gvir_interface_get_config</a> (<em class="parameter"><code><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="type">GVirInterface</span></a> *iface</code></em>, | |
46 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
47 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
48 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirInterface.html#gvir-interface-get-name" title="gvir_interface_get_name ()">gvir_interface_get_name</a> (<em class="parameter"><code><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="type">GVirInterface</span></a> *iface</code></em>); | |
45 | <a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigInterface.html"><span class="returnvalue">GVirConfigInterface</span></a> * <a class="link" href="GVirInterface.html#gvir-interface-get-config" title="gvir_interface_get_config ()">gvir_interface_get_config</a> (<em class="parameter"><code><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="type">GVirInterface</span></a> *iface</code></em>, | |
46 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
48 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirInterface.html#gvir-interface-get-name" title="gvir_interface_get_name ()">gvir_interface_get_name</a> (<em class="parameter"><code><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="type">GVirInterface</span></a> *iface</code></em>); | |
49 | 49 | </pre> |
50 | 50 | </div> |
51 | 51 | <div class="refsect1"> |
52 | 52 | <a name="GVirInterface.object-hierarchy"></a><h2>Object Hierarchy</h2> |
53 | 53 | <pre class="synopsis"> |
54 | GObject | |
54 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
55 | 55 | +----GVirInterface |
56 | 56 | </pre> |
57 | 57 | </div> |
83 | 83 | <hr> |
84 | 84 | <div class="refsect2"> |
85 | 85 | <a name="gvir-interface-get-config"></a><h3>gvir_interface_get_config ()</h3> |
86 | <pre class="programlisting"><span class="returnvalue">GVirConfigInterface</span> * gvir_interface_get_config (<em class="parameter"><code><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="type">GVirInterface</span></a> *iface</code></em>, | |
87 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
88 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
86 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigInterface.html"><span class="returnvalue">GVirConfigInterface</span></a> * gvir_interface_get_config (<em class="parameter"><code><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="type">GVirInterface</span></a> *iface</code></em>, | |
87 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
88 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
89 | 89 | <div class="variablelist"><table border="0"> |
90 | 90 | <col align="left" valign="top"> |
91 | 91 | <tbody> |
95 | 95 | </tr> |
96 | 96 | <tr> |
97 | 97 | <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
98 | <td>the flags</td> | |
99 | </tr> | |
100 | <tr> | |
101 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
102 | <td>the config. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
103 | </td> | |
98 | <td>the flags | |
99 | Returns: (transfer full): the config</td> | |
104 | 100 | </tr> |
105 | 101 | </tbody> |
106 | 102 | </table></div> |
108 | 104 | <hr> |
109 | 105 | <div class="refsect2"> |
110 | 106 | <a name="gvir-interface-get-name"></a><h3>gvir_interface_get_name ()</h3> |
111 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_interface_get_name (<em class="parameter"><code><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="type">GVirInterface</span></a> *iface</code></em>);</pre> | |
107 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_interface_get_name (<em class="parameter"><code><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="type">GVirInterface</span></a> *iface</code></em>);</pre> | |
112 | 108 | </div> |
113 | 109 | </div> |
114 | 110 | <div class="refsect1"> |
122 | 118 | </div> |
123 | 119 | <div class="footer"> |
124 | 120 | <hr> |
125 | Generated by GTK-Doc V1.18.1</div> | |
121 | Generated by GTK-Doc V1.18</div> | |
126 | 122 | </body> |
127 | 123 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="GVirInterface.html" title="GVirInterface"> |
9 | 9 | <link rel="next" href="GVirNetworkFilter.html" title="GVirNetworkFilter"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
45 | 45 | <span class="returnvalue">void</span> <a class="link" href="GVirManager.html#gvir-manager-add-connection" title="gvir_manager_add_connection ()">gvir_manager_add_connection</a> (<em class="parameter"><code><a class="link" href="GVirManager.html" title="GVirManager"><span class="type">GVirManager</span></a> *man</code></em>, |
46 | 46 | <em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); |
47 | 47 | <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="returnvalue">GVirConnection</span></a> * <a class="link" href="GVirManager.html#gvir-manager-find-connection-by-uri" title="gvir_manager_find_connection_by_uri ()">gvir_manager_find_connection_by_uri</a> (<em class="parameter"><code><a class="link" href="GVirManager.html" title="GVirManager"><span class="type">GVirManager</span></a> *man</code></em>, |
48 | <em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>); | |
49 | <span class="returnvalue">GList</span> * <a class="link" href="GVirManager.html#gvir-manager-get-connections" title="gvir_manager_get_connections ()">gvir_manager_get_connections</a> (<em class="parameter"><code><a class="link" href="GVirManager.html" title="GVirManager"><span class="type">GVirManager</span></a> *man</code></em>); | |
48 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>); | |
49 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GVirManager.html#gvir-manager-get-connections" title="gvir_manager_get_connections ()">gvir_manager_get_connections</a> (<em class="parameter"><code><a class="link" href="GVirManager.html" title="GVirManager"><span class="type">GVirManager</span></a> *man</code></em>); | |
50 | 50 | <a class="link" href="GVirManager.html" title="GVirManager"><span class="returnvalue">GVirManager</span></a> * <a class="link" href="GVirManager.html#gvir-manager-new" title="gvir_manager_new ()">gvir_manager_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); |
51 | 51 | <span class="returnvalue">void</span> <a class="link" href="GVirManager.html#gvir-manager-remove-connection" title="gvir_manager_remove_connection ()">gvir_manager_remove_connection</a> (<em class="parameter"><code><a class="link" href="GVirManager.html" title="GVirManager"><span class="type">GVirManager</span></a> *man</code></em>, |
52 | 52 | <em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>); |
55 | 55 | <div class="refsect1"> |
56 | 56 | <a name="GVirManager.object-hierarchy"></a><h2>Object Hierarchy</h2> |
57 | 57 | <pre class="synopsis"> |
58 | GObject | |
58 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
59 | 59 | +----GVirManager |
60 | 60 | </pre> |
61 | 61 | </div> |
62 | 62 | <div class="refsect1"> |
63 | 63 | <a name="GVirManager.signals"></a><h2>Signals</h2> |
64 | 64 | <pre class="synopsis"> |
65 | "<a class="link" href="GVirManager.html#GVirManager-connection-added" title='The "connection-added" signal'>connection-added</a>" : <code class="literal">Run First</code> | |
66 | "<a class="link" href="GVirManager.html#GVirManager-connection-removed" title='The "connection-removed" signal'>connection-removed</a>" : <code class="literal">Run First</code> | |
65 | "<a class="link" href="GVirManager.html#GVirManager-connection-added" title='The "connection-added" signal'>connection-added</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a> | |
66 | "<a class="link" href="GVirManager.html#GVirManager-connection-removed" title='The "connection-removed" signal'>connection-removed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a> | |
67 | 67 | </pre> |
68 | 68 | </div> |
69 | 69 | <div class="refsect1"> |
99 | 99 | <div class="refsect2"> |
100 | 100 | <a name="gvir-manager-find-connection-by-uri"></a><h3>gvir_manager_find_connection_by_uri ()</h3> |
101 | 101 | <pre class="programlisting"><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="returnvalue">GVirConnection</span></a> * gvir_manager_find_connection_by_uri (<em class="parameter"><code><a class="link" href="GVirManager.html" title="GVirManager"><span class="type">GVirManager</span></a> *man</code></em>, |
102 | <em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre> | |
103 | <div class="variablelist"><table border="0"> | |
104 | <col align="left" valign="top"> | |
105 | <tbody><tr> | |
106 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
107 | <td>the connection,or NULL. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> | |
108 | </td> | |
109 | </tr></tbody> | |
110 | </table></div> | |
102 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre> | |
111 | 103 | </div> |
112 | 104 | <hr> |
113 | 105 | <div class="refsect2"> |
114 | 106 | <a name="gvir-manager-get-connections"></a><h3>gvir_manager_get_connections ()</h3> |
115 | <pre class="programlisting"><span class="returnvalue">GList</span> * gvir_manager_get_connections (<em class="parameter"><code><a class="link" href="GVirManager.html" title="GVirManager"><span class="type">GVirManager</span></a> *man</code></em>);</pre> | |
116 | <div class="variablelist"><table border="0"> | |
117 | <col align="left" valign="top"> | |
118 | <tbody><tr> | |
119 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
120 | <td>the connections. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GVirConnection]</span> | |
121 | </td> | |
122 | </tr></tbody> | |
123 | </table></div> | |
107 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gvir_manager_get_connections (<em class="parameter"><code><a class="link" href="GVirManager.html" title="GVirManager"><span class="type">GVirManager</span></a> *man</code></em>);</pre> | |
124 | 108 | </div> |
125 | 109 | <hr> |
126 | 110 | <div class="refsect2"> |
140 | 124 | <a name="GVirManager-connection-added"></a><h3>The <code class="literal">"connection-added"</code> signal</h3> |
141 | 125 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GVirManager.html" title="GVirManager"><span class="type">GVirManager</span></a> *gvirmanager, |
142 | 126 | <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *arg1, |
143 | <span class="type">gpointer</span> user_data) : <code class="literal">Run First</code></pre> | |
127 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre> | |
144 | 128 | </div> |
145 | 129 | <hr> |
146 | 130 | <div class="refsect2"> |
147 | 131 | <a name="GVirManager-connection-removed"></a><h3>The <code class="literal">"connection-removed"</code> signal</h3> |
148 | 132 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GVirManager.html" title="GVirManager"><span class="type">GVirManager</span></a> *gvirmanager, |
149 | 133 | <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *arg1, |
150 | <span class="type">gpointer</span> user_data) : <code class="literal">Run First</code></pre> | |
134 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre> | |
151 | 135 | </div> |
152 | 136 | </div> |
153 | 137 | </div> |
154 | 138 | <div class="footer"> |
155 | 139 | <hr> |
156 | Generated by GTK-Doc V1.18.1</div> | |
140 | Generated by GTK-Doc V1.18</div> | |
157 | 141 | </body> |
158 | 142 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="GVirNetworkFilter.html" title="GVirNetworkFilter"> |
9 | 9 | <link rel="next" href="GVirNodeDevice.html" title="GVirNodeDevice"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | <a name="GVirNetwork.synopsis"></a><h2>Synopsis</h2> |
43 | 43 | <pre class="synopsis">struct <a class="link" href="GVirNetwork.html#GVirNetwork-struct" title="struct GVirNetwork">GVirNetwork</a>; |
44 | 44 | struct <a class="link" href="GVirNetwork.html#GVirNetworkClass" title="struct GVirNetworkClass">GVirNetworkClass</a>; |
45 | <span class="returnvalue">GVirConfigNetwork</span> * <a class="link" href="GVirNetwork.html#gvir-network-get-config" title="gvir_network_get_config ()">gvir_network_get_config</a> (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>, | |
46 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
47 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
48 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirNetwork.html#gvir-network-get-name" title="gvir_network_get_name ()">gvir_network_get_name</a> (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>); | |
49 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirNetwork.html#gvir-network-get-uuid" title="gvir_network_get_uuid ()">gvir_network_get_uuid</a> (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>); | |
45 | <a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigNetwork.html"><span class="returnvalue">GVirConfigNetwork</span></a> * <a class="link" href="GVirNetwork.html#gvir-network-get-config" title="gvir_network_get_config ()">gvir_network_get_config</a> (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>, | |
46 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
48 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirNetwork.html#gvir-network-get-name" title="gvir_network_get_name ()">gvir_network_get_name</a> (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>); | |
49 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirNetwork.html#gvir-network-get-uuid" title="gvir_network_get_uuid ()">gvir_network_get_uuid</a> (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>); | |
50 | 50 | </pre> |
51 | 51 | </div> |
52 | 52 | <div class="refsect1"> |
53 | 53 | <a name="GVirNetwork.object-hierarchy"></a><h2>Object Hierarchy</h2> |
54 | 54 | <pre class="synopsis"> |
55 | GObject | |
55 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
56 | 56 | +----GVirNetwork |
57 | 57 | </pre> |
58 | 58 | </div> |
87 | 87 | <hr> |
88 | 88 | <div class="refsect2"> |
89 | 89 | <a name="gvir-network-get-config"></a><h3>gvir_network_get_config ()</h3> |
90 | <pre class="programlisting"><span class="returnvalue">GVirConfigNetwork</span> * gvir_network_get_config (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>, | |
91 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
92 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
90 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigNetwork.html"><span class="returnvalue">GVirConfigNetwork</span></a> * gvir_network_get_config (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>, | |
91 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
92 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
93 | 93 | <div class="variablelist"><table border="0"> |
94 | 94 | <col align="left" valign="top"> |
95 | 95 | <tbody> |
99 | 99 | </tr> |
100 | 100 | <tr> |
101 | 101 | <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
102 | <td>the flags</td> | |
103 | </tr> | |
104 | <tr> | |
105 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
106 | <td>the config. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
107 | </td> | |
102 | <td>the flags | |
103 | Returns: (transfer full): the config</td> | |
108 | 104 | </tr> |
109 | 105 | </tbody> |
110 | 106 | </table></div> |
112 | 108 | <hr> |
113 | 109 | <div class="refsect2"> |
114 | 110 | <a name="gvir-network-get-name"></a><h3>gvir_network_get_name ()</h3> |
115 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_network_get_name (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>);</pre> | |
111 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_network_get_name (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>);</pre> | |
116 | 112 | </div> |
117 | 113 | <hr> |
118 | 114 | <div class="refsect2"> |
119 | 115 | <a name="gvir-network-get-uuid"></a><h3>gvir_network_get_uuid ()</h3> |
120 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_network_get_uuid (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>);</pre> | |
116 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_network_get_uuid (<em class="parameter"><code><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a> *network</code></em>);</pre> | |
121 | 117 | </div> |
122 | 118 | </div> |
123 | 119 | <div class="refsect1"> |
131 | 127 | </div> |
132 | 128 | <div class="footer"> |
133 | 129 | <hr> |
134 | Generated by GTK-Doc V1.18.1</div> | |
130 | Generated by GTK-Doc V1.18</div> | |
135 | 131 | </body> |
136 | 132 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="GVirManager.html" title="GVirManager"> |
9 | 9 | <link rel="next" href="GVirNetwork.html" title="GVirNetwork"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | <a name="GVirNetworkFilter.synopsis"></a><h2>Synopsis</h2> |
43 | 43 | <pre class="synopsis">struct <a class="link" href="GVirNetworkFilter.html#GVirNetworkFilter-struct" title="struct GVirNetworkFilter">GVirNetworkFilter</a>; |
44 | 44 | struct <a class="link" href="GVirNetworkFilter.html#GVirNetworkFilterClass" title="struct GVirNetworkFilterClass">GVirNetworkFilterClass</a>; |
45 | <span class="returnvalue">GVirConfigNetworkFilter</span> * <a class="link" href="GVirNetworkFilter.html#gvir-network-filter-get-config" title="gvir_network_filter_get_config ()">gvir_network_filter_get_config</a> | |
45 | <a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigNetworkFilter.html"><span class="returnvalue">GVirConfigNetworkFilter</span></a> * <a class="link" href="GVirNetworkFilter.html#gvir-network-filter-get-config" title="gvir_network_filter_get_config ()">gvir_network_filter_get_config</a> | |
46 | 46 | (<em class="parameter"><code><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="type">GVirNetworkFilter</span></a> *filter</code></em>, |
47 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
48 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
49 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirNetworkFilter.html#gvir-network-filter-get-name" title="gvir_network_filter_get_name ()">gvir_network_filter_get_name</a> (<em class="parameter"><code><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="type">GVirNetworkFilter</span></a> *filter</code></em>); | |
50 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirNetworkFilter.html#gvir-network-filter-get-uuid" title="gvir_network_filter_get_uuid ()">gvir_network_filter_get_uuid</a> (<em class="parameter"><code><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="type">GVirNetworkFilter</span></a> *filter</code></em>); | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
48 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
49 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirNetworkFilter.html#gvir-network-filter-get-name" title="gvir_network_filter_get_name ()">gvir_network_filter_get_name</a> (<em class="parameter"><code><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="type">GVirNetworkFilter</span></a> *filter</code></em>); | |
50 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirNetworkFilter.html#gvir-network-filter-get-uuid" title="gvir_network_filter_get_uuid ()">gvir_network_filter_get_uuid</a> (<em class="parameter"><code><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="type">GVirNetworkFilter</span></a> *filter</code></em>); | |
51 | 51 | </pre> |
52 | 52 | </div> |
53 | 53 | <div class="refsect1"> |
54 | 54 | <a name="GVirNetworkFilter.object-hierarchy"></a><h2>Object Hierarchy</h2> |
55 | 55 | <pre class="synopsis"> |
56 | GObject | |
56 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
57 | 57 | +----GVirNetworkFilter |
58 | 58 | </pre> |
59 | 59 | </div> |
85 | 85 | <hr> |
86 | 86 | <div class="refsect2"> |
87 | 87 | <a name="gvir-network-filter-get-config"></a><h3>gvir_network_filter_get_config ()</h3> |
88 | <pre class="programlisting"><span class="returnvalue">GVirConfigNetworkFilter</span> * gvir_network_filter_get_config | |
88 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigNetworkFilter.html"><span class="returnvalue">GVirConfigNetworkFilter</span></a> * gvir_network_filter_get_config | |
89 | 89 | (<em class="parameter"><code><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="type">GVirNetworkFilter</span></a> *filter</code></em>, |
90 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
91 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
90 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
91 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
92 | 92 | <div class="variablelist"><table border="0"> |
93 | 93 | <col align="left" valign="top"> |
94 | 94 | <tbody> |
98 | 98 | </tr> |
99 | 99 | <tr> |
100 | 100 | <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
101 | <td>the flags</td> | |
102 | </tr> | |
103 | <tr> | |
104 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
105 | <td>the config. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
106 | </td> | |
101 | <td>the flags | |
102 | Returns: (transfer full): the config</td> | |
107 | 103 | </tr> |
108 | 104 | </tbody> |
109 | 105 | </table></div> |
111 | 107 | <hr> |
112 | 108 | <div class="refsect2"> |
113 | 109 | <a name="gvir-network-filter-get-name"></a><h3>gvir_network_filter_get_name ()</h3> |
114 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_network_filter_get_name (<em class="parameter"><code><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="type">GVirNetworkFilter</span></a> *filter</code></em>);</pre> | |
110 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_network_filter_get_name (<em class="parameter"><code><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="type">GVirNetworkFilter</span></a> *filter</code></em>);</pre> | |
115 | 111 | </div> |
116 | 112 | <hr> |
117 | 113 | <div class="refsect2"> |
118 | 114 | <a name="gvir-network-filter-get-uuid"></a><h3>gvir_network_filter_get_uuid ()</h3> |
119 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_network_filter_get_uuid (<em class="parameter"><code><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="type">GVirNetworkFilter</span></a> *filter</code></em>);</pre> | |
115 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_network_filter_get_uuid (<em class="parameter"><code><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="type">GVirNetworkFilter</span></a> *filter</code></em>);</pre> | |
120 | 116 | </div> |
121 | 117 | </div> |
122 | 118 | <div class="refsect1"> |
130 | 126 | </div> |
131 | 127 | <div class="footer"> |
132 | 128 | <hr> |
133 | Generated by GTK-Doc V1.18.1</div> | |
129 | Generated by GTK-Doc V1.18</div> | |
134 | 130 | </body> |
135 | 131 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="GVirNetwork.html" title="GVirNetwork"> |
9 | 9 | <link rel="next" href="GVirSecret.html" title="GVirSecret"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | <a name="GVirNodeDevice.synopsis"></a><h2>Synopsis</h2> |
43 | 43 | <pre class="synopsis">struct <a class="link" href="GVirNodeDevice.html#GVirNodeDevice-struct" title="struct GVirNodeDevice">GVirNodeDevice</a>; |
44 | 44 | struct <a class="link" href="GVirNodeDevice.html#GVirNodeDeviceClass" title="struct GVirNodeDeviceClass">GVirNodeDeviceClass</a>; |
45 | <span class="returnvalue">GVirConfigNodeDevice</span> * <a class="link" href="GVirNodeDevice.html#gvir-node-device-get-config" title="gvir_node_device_get_config ()">gvir_node_device_get_config</a> (<em class="parameter"><code><a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="type">GVirNodeDevice</span></a> *device</code></em>, | |
46 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
47 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
48 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirNodeDevice.html#gvir-node-device-get-name" title="gvir_node_device_get_name ()">gvir_node_device_get_name</a> (<em class="parameter"><code><a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="type">GVirNodeDevice</span></a> *device</code></em>); | |
45 | <a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigNodeDevice.html"><span class="returnvalue">GVirConfigNodeDevice</span></a> * <a class="link" href="GVirNodeDevice.html#gvir-node-device-get-config" title="gvir_node_device_get_config ()">gvir_node_device_get_config</a> (<em class="parameter"><code><a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="type">GVirNodeDevice</span></a> *device</code></em>, | |
46 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
48 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirNodeDevice.html#gvir-node-device-get-name" title="gvir_node_device_get_name ()">gvir_node_device_get_name</a> (<em class="parameter"><code><a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="type">GVirNodeDevice</span></a> *device</code></em>); | |
49 | 49 | </pre> |
50 | 50 | </div> |
51 | 51 | <div class="refsect1"> |
52 | 52 | <a name="GVirNodeDevice.object-hierarchy"></a><h2>Object Hierarchy</h2> |
53 | 53 | <pre class="synopsis"> |
54 | GObject | |
54 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
55 | 55 | +----GVirNodeDevice |
56 | 56 | </pre> |
57 | 57 | </div> |
83 | 83 | <hr> |
84 | 84 | <div class="refsect2"> |
85 | 85 | <a name="gvir-node-device-get-config"></a><h3>gvir_node_device_get_config ()</h3> |
86 | <pre class="programlisting"><span class="returnvalue">GVirConfigNodeDevice</span> * gvir_node_device_get_config (<em class="parameter"><code><a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="type">GVirNodeDevice</span></a> *device</code></em>, | |
87 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
88 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
86 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigNodeDevice.html"><span class="returnvalue">GVirConfigNodeDevice</span></a> * gvir_node_device_get_config (<em class="parameter"><code><a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="type">GVirNodeDevice</span></a> *device</code></em>, | |
87 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
88 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
89 | 89 | <div class="variablelist"><table border="0"> |
90 | 90 | <col align="left" valign="top"> |
91 | 91 | <tbody> |
95 | 95 | </tr> |
96 | 96 | <tr> |
97 | 97 | <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
98 | <td>the flags</td> | |
99 | </tr> | |
100 | <tr> | |
101 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
102 | <td>the config. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
103 | </td> | |
98 | <td>the flags | |
99 | Returns: (transfer full): the config</td> | |
104 | 100 | </tr> |
105 | 101 | </tbody> |
106 | 102 | </table></div> |
108 | 104 | <hr> |
109 | 105 | <div class="refsect2"> |
110 | 106 | <a name="gvir-node-device-get-name"></a><h3>gvir_node_device_get_name ()</h3> |
111 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_node_device_get_name (<em class="parameter"><code><a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="type">GVirNodeDevice</span></a> *device</code></em>);</pre> | |
107 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_node_device_get_name (<em class="parameter"><code><a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="type">GVirNodeDevice</span></a> *device</code></em>);</pre> | |
112 | 108 | </div> |
113 | 109 | </div> |
114 | 110 | <div class="refsect1"> |
122 | 118 | </div> |
123 | 119 | <div class="footer"> |
124 | 120 | <hr> |
125 | Generated by GTK-Doc V1.18.1</div> | |
121 | Generated by GTK-Doc V1.18</div> | |
126 | 122 | </body> |
127 | 123 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="GVirNodeDevice.html" title="GVirNodeDevice"> |
9 | 9 | <link rel="next" href="GVirStoragePool.html" title="GVirStoragePool"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
42 | 42 | <a name="GVirSecret.synopsis"></a><h2>Synopsis</h2> |
43 | 43 | <pre class="synopsis">struct <a class="link" href="GVirSecret.html#GVirSecret-struct" title="struct GVirSecret">GVirSecret</a>; |
44 | 44 | struct <a class="link" href="GVirSecret.html#GVirSecretClass" title="struct GVirSecretClass">GVirSecretClass</a>; |
45 | <span class="returnvalue">GVirConfigSecret</span> * <a class="link" href="GVirSecret.html#gvir-secret-get-config" title="gvir_secret_get_config ()">gvir_secret_get_config</a> (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>, | |
46 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
47 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
48 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirSecret.html#gvir-secret-get-name" title="gvir_secret_get_name ()">gvir_secret_get_name</a> (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>); | |
49 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirSecret.html#gvir-secret-get-uuid" title="gvir_secret_get_uuid ()">gvir_secret_get_uuid</a> (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>); | |
45 | <a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigSecret.html"><span class="returnvalue">GVirConfigSecret</span></a> * <a class="link" href="GVirSecret.html#gvir-secret-get-config" title="gvir_secret_get_config ()">gvir_secret_get_config</a> (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>, | |
46 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
48 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirSecret.html#gvir-secret-get-name" title="gvir_secret_get_name ()">gvir_secret_get_name</a> (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>); | |
49 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirSecret.html#gvir-secret-get-uuid" title="gvir_secret_get_uuid ()">gvir_secret_get_uuid</a> (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>); | |
50 | 50 | </pre> |
51 | 51 | </div> |
52 | 52 | <div class="refsect1"> |
53 | 53 | <a name="GVirSecret.object-hierarchy"></a><h2>Object Hierarchy</h2> |
54 | 54 | <pre class="synopsis"> |
55 | GObject | |
55 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
56 | 56 | +----GVirSecret |
57 | 57 | </pre> |
58 | 58 | </div> |
84 | 84 | <hr> |
85 | 85 | <div class="refsect2"> |
86 | 86 | <a name="gvir-secret-get-config"></a><h3>gvir_secret_get_config ()</h3> |
87 | <pre class="programlisting"><span class="returnvalue">GVirConfigSecret</span> * gvir_secret_get_config (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>, | |
88 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
89 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
87 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigSecret.html"><span class="returnvalue">GVirConfigSecret</span></a> * gvir_secret_get_config (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>, | |
88 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
89 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
90 | 90 | <div class="variablelist"><table border="0"> |
91 | 91 | <col align="left" valign="top"> |
92 | 92 | <tbody> |
96 | 96 | </tr> |
97 | 97 | <tr> |
98 | 98 | <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
99 | <td>the flags</td> | |
100 | </tr> | |
101 | <tr> | |
102 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
103 | <td>the config. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
104 | </td> | |
99 | <td>the flags | |
100 | Returns: (transfer full): the config</td> | |
105 | 101 | </tr> |
106 | 102 | </tbody> |
107 | 103 | </table></div> |
109 | 105 | <hr> |
110 | 106 | <div class="refsect2"> |
111 | 107 | <a name="gvir-secret-get-name"></a><h3>gvir_secret_get_name ()</h3> |
112 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_secret_get_name (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>);</pre> | |
108 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_secret_get_name (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>);</pre> | |
113 | 109 | </div> |
114 | 110 | <hr> |
115 | 111 | <div class="refsect2"> |
116 | 112 | <a name="gvir-secret-get-uuid"></a><h3>gvir_secret_get_uuid ()</h3> |
117 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_secret_get_uuid (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>);</pre> | |
113 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_secret_get_uuid (<em class="parameter"><code><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="type">GVirSecret</span></a> *secret</code></em>);</pre> | |
118 | 114 | </div> |
119 | 115 | </div> |
120 | 116 | <div class="refsect1"> |
128 | 124 | </div> |
129 | 125 | <div class="footer"> |
130 | 126 | <hr> |
131 | Generated by GTK-Doc V1.18.1</div> | |
127 | Generated by GTK-Doc V1.18</div> | |
132 | 128 | </body> |
133 | 129 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="GVirSecret.html" title="GVirSecret"> |
9 | 9 | <link rel="next" href="GVirStorageVol.html" title="GVirStorageVol"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
44 | 44 | struct <a class="link" href="GVirStoragePool.html#GVirStoragePoolClass" title="struct GVirStoragePoolClass">GVirStoragePoolClass</a>; |
45 | 45 | struct <a class="link" href="GVirStoragePool.html#GVirStoragePoolInfo-struct" title="struct GVirStoragePoolInfo">GVirStoragePoolInfo</a>; |
46 | 46 | enum <a class="link" href="GVirStoragePool.html#GVirStoragePoolState" title="enum GVirStoragePoolState">GVirStoragePoolState</a>; |
47 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-build" title="gvir_storage_pool_build ()">gvir_storage_pool_build</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
48 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
49 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
47 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-build" title="gvir_storage_pool_build ()">gvir_storage_pool_build</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
48 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
49 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
50 | 50 | <span class="returnvalue">void</span> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-build-async" title="gvir_storage_pool_build_async ()">gvir_storage_pool_build_async</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
51 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
52 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
53 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
54 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>); | |
55 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-build-finish" title="gvir_storage_pool_build_finish ()">gvir_storage_pool_build_finish</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
56 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
57 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
51 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
52 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
53 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
54 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); | |
55 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-build-finish" title="gvir_storage_pool_build_finish ()">gvir_storage_pool_build_finish</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
56 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
57 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
58 | 58 | <a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="returnvalue">GVirStorageVol</span></a> * <a class="link" href="GVirStoragePool.html#gvir-storage-pool-create-volume" title="gvir_storage_pool_create_volume ()">gvir_storage_pool_create_volume</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
59 | <em class="parameter"><code><span class="type">GVirConfigStorageVol</span> *conf</code></em>, | |
60 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
61 | <span class="returnvalue">GVirConfigStoragePool</span> * <a class="link" href="GVirStoragePool.html#gvir-storage-pool-get-config" title="gvir_storage_pool_get_config ()">gvir_storage_pool_get_config</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
62 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
63 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
59 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigStorageVol.html"><span class="type">GVirConfigStorageVol</span></a> *conf</code></em>, | |
60 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
61 | <a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigStoragePool.html"><span class="returnvalue">GVirConfigStoragePool</span></a> * <a class="link" href="GVirStoragePool.html#gvir-storage-pool-get-config" title="gvir_storage_pool_get_config ()">gvir_storage_pool_get_config</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
62 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
63 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
64 | 64 | <a class="link" href="GVirStoragePool.html#GVirStoragePoolInfo"><span class="returnvalue">GVirStoragePoolInfo</span></a> * <a class="link" href="GVirStoragePool.html#gvir-storage-pool-get-info" title="gvir_storage_pool_get_info ()">gvir_storage_pool_get_info</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
65 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
66 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirStoragePool.html#gvir-storage-pool-get-name" title="gvir_storage_pool_get_name ()">gvir_storage_pool_get_name</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>); | |
67 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirStoragePool.html#gvir-storage-pool-get-uuid" title="gvir_storage_pool_get_uuid ()">gvir_storage_pool_get_uuid</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>); | |
65 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
66 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirStoragePool.html#gvir-storage-pool-get-name" title="gvir_storage_pool_get_name ()">gvir_storage_pool_get_name</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>); | |
67 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirStoragePool.html#gvir-storage-pool-get-uuid" title="gvir_storage_pool_get_uuid ()">gvir_storage_pool_get_uuid</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>); | |
68 | 68 | <a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="returnvalue">GVirStorageVol</span></a> * <a class="link" href="GVirStoragePool.html#gvir-storage-pool-get-volume" title="gvir_storage_pool_get_volume ()">gvir_storage_pool_get_volume</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
69 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>); | |
70 | <span class="returnvalue">GList</span> * <a class="link" href="GVirStoragePool.html#gvir-storage-pool-get-volumes" title="gvir_storage_pool_get_volumes ()">gvir_storage_pool_get_volumes</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>); | |
71 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-refresh" title="gvir_storage_pool_refresh ()">gvir_storage_pool_refresh</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
72 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
73 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
69 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); | |
70 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GVirStoragePool.html#gvir-storage-pool-get-volumes" title="gvir_storage_pool_get_volumes ()">gvir_storage_pool_get_volumes</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>); | |
71 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-refresh" title="gvir_storage_pool_refresh ()">gvir_storage_pool_refresh</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
72 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
73 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
74 | 74 | <span class="returnvalue">void</span> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-refresh-async" title="gvir_storage_pool_refresh_async ()">gvir_storage_pool_refresh_async</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
75 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
76 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
77 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>); | |
78 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-refresh-finish" title="gvir_storage_pool_refresh_finish ()">gvir_storage_pool_refresh_finish</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
79 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
80 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
81 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-start" title="gvir_storage_pool_start ()">gvir_storage_pool_start</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
82 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
83 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
75 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
76 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
77 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); | |
78 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-refresh-finish" title="gvir_storage_pool_refresh_finish ()">gvir_storage_pool_refresh_finish</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
79 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
80 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
81 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-start" title="gvir_storage_pool_start ()">gvir_storage_pool_start</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
82 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
83 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
84 | 84 | <span class="returnvalue">void</span> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-start-async" title="gvir_storage_pool_start_async ()">gvir_storage_pool_start_async</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
85 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
86 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
87 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
88 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>); | |
89 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-start-finish" title="gvir_storage_pool_start_finish ()">gvir_storage_pool_start_finish</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
90 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
91 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
85 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
86 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
87 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
88 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); | |
89 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirStoragePool.html#gvir-storage-pool-start-finish" title="gvir_storage_pool_start_finish ()">gvir_storage_pool_start_finish</a> (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
90 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
91 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
92 | 92 | </pre> |
93 | 93 | </div> |
94 | 94 | <div class="refsect1"> |
95 | 95 | <a name="GVirStoragePool.object-hierarchy"></a><h2>Object Hierarchy</h2> |
96 | 96 | <pre class="synopsis"> |
97 | GObject | |
97 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
98 | 98 | +----GVirStoragePool |
99 | 99 | </pre> |
100 | 100 | <pre class="synopsis"> |
153 | 153 | <hr> |
154 | 154 | <div class="refsect2"> |
155 | 155 | <a name="gvir-storage-pool-build"></a><h3>gvir_storage_pool_build ()</h3> |
156 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_storage_pool_build (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
157 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
158 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
156 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_storage_pool_build (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
157 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
158 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
159 | 159 | <div class="variablelist"><table border="0"> |
160 | 160 | <col align="left" valign="top"> |
161 | 161 | <tbody> |
169 | 169 | </tr> |
170 | 170 | <tr> |
171 | 171 | <td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td> |
172 | <td>return location for any <span class="type">GError</span> | |
172 | <td>return location for any <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> | |
173 | 173 | </td> |
174 | 174 | </tr> |
175 | 175 | <tr> |
184 | 184 | <div class="refsect2"> |
185 | 185 | <a name="gvir-storage-pool-build-async"></a><h3>gvir_storage_pool_build_async ()</h3> |
186 | 186 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_storage_pool_build_async (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
187 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
188 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
189 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
190 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> | |
187 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
188 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
189 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
190 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> | |
191 | 191 | <div class="variablelist"><table border="0"> |
192 | 192 | <col align="left" valign="top"> |
193 | 193 | <tbody> |
220 | 220 | <hr> |
221 | 221 | <div class="refsect2"> |
222 | 222 | <a name="gvir-storage-pool-build-finish"></a><h3>gvir_storage_pool_build_finish ()</h3> |
223 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_storage_pool_build_finish (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
224 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
225 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
223 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_storage_pool_build_finish (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
224 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
225 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
226 | 226 | <div class="variablelist"><table border="0"> |
227 | 227 | <col align="left" valign="top"> |
228 | 228 | <tbody> |
237 | 237 | </tr> |
238 | 238 | <tr> |
239 | 239 | <td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td> |
240 | <td>return location for any <span class="type">GError</span> | |
240 | <td>return location for any <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> | |
241 | 241 | </td> |
242 | 242 | </tr> |
243 | 243 | <tr> |
252 | 252 | <div class="refsect2"> |
253 | 253 | <a name="gvir-storage-pool-create-volume"></a><h3>gvir_storage_pool_create_volume ()</h3> |
254 | 254 | <pre class="programlisting"><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="returnvalue">GVirStorageVol</span></a> * gvir_storage_pool_create_volume (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
255 | <em class="parameter"><code><span class="type">GVirConfigStorageVol</span> *conf</code></em>, | |
256 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
255 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigStorageVol.html"><span class="type">GVirConfigStorageVol</span></a> *conf</code></em>, | |
256 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
257 | 257 | <div class="variablelist"><table border="0"> |
258 | 258 | <col align="left" valign="top"> |
259 | 259 | <tbody> |
263 | 263 | </tr> |
264 | 264 | <tr> |
265 | 265 | <td><p><span class="term"><em class="parameter"><code>conf</code></em> :</span></p></td> |
266 | <td>the configuration for the new volume</td> | |
267 | </tr> | |
268 | <tr> | |
269 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
270 | <td>the newly created volume. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
271 | </td> | |
266 | <td>the configuration for the new volume | |
267 | Returns: (transfer full): the newly created volume</td> | |
272 | 268 | </tr> |
273 | 269 | </tbody> |
274 | 270 | </table></div> |
276 | 272 | <hr> |
277 | 273 | <div class="refsect2"> |
278 | 274 | <a name="gvir-storage-pool-get-config"></a><h3>gvir_storage_pool_get_config ()</h3> |
279 | <pre class="programlisting"><span class="returnvalue">GVirConfigStoragePool</span> * gvir_storage_pool_get_config (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
280 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
281 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
275 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigStoragePool.html"><span class="returnvalue">GVirConfigStoragePool</span></a> * gvir_storage_pool_get_config (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
276 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
277 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
282 | 278 | <div class="variablelist"><table border="0"> |
283 | 279 | <col align="left" valign="top"> |
284 | 280 | <tbody> |
288 | 284 | </tr> |
289 | 285 | <tr> |
290 | 286 | <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
291 | <td>the flags</td> | |
292 | </tr> | |
293 | <tr> | |
294 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
295 | <td>the config. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
296 | </td> | |
287 | <td>the flags | |
288 | Returns: (transfer full): the config</td> | |
297 | 289 | </tr> |
298 | 290 | </tbody> |
299 | 291 | </table></div> |
302 | 294 | <div class="refsect2"> |
303 | 295 | <a name="gvir-storage-pool-get-info"></a><h3>gvir_storage_pool_get_info ()</h3> |
304 | 296 | <pre class="programlisting"><a class="link" href="GVirStoragePool.html#GVirStoragePoolInfo"><span class="returnvalue">GVirStoragePoolInfo</span></a> * gvir_storage_pool_get_info (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
305 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
306 | <div class="variablelist"><table border="0"> | |
307 | <col align="left" valign="top"> | |
308 | <tbody> | |
309 | <tr> | |
310 | <td><p><span class="term"><em class="parameter"><code>pool</code></em> :</span></p></td> | |
311 | <td>the storage_pool</td> | |
312 | </tr> | |
313 | <tr> | |
314 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
315 | <td>the info. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
316 | </td> | |
317 | </tr> | |
318 | </tbody> | |
297 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
298 | <div class="variablelist"><table border="0"> | |
299 | <col align="left" valign="top"> | |
300 | <tbody><tr> | |
301 | <td><p><span class="term"><em class="parameter"><code>pool</code></em> :</span></p></td> | |
302 | <td>the storage_pool | |
303 | Returns: (transfer full): the info</td> | |
304 | </tr></tbody> | |
319 | 305 | </table></div> |
320 | 306 | </div> |
321 | 307 | <hr> |
322 | 308 | <div class="refsect2"> |
323 | 309 | <a name="gvir-storage-pool-get-name"></a><h3>gvir_storage_pool_get_name ()</h3> |
324 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_storage_pool_get_name (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>);</pre> | |
310 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_storage_pool_get_name (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>);</pre> | |
325 | 311 | </div> |
326 | 312 | <hr> |
327 | 313 | <div class="refsect2"> |
328 | 314 | <a name="gvir-storage-pool-get-uuid"></a><h3>gvir_storage_pool_get_uuid ()</h3> |
329 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_storage_pool_get_uuid (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>);</pre> | |
315 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_storage_pool_get_uuid (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>);</pre> | |
330 | 316 | </div> |
331 | 317 | <hr> |
332 | 318 | <div class="refsect2"> |
333 | 319 | <a name="gvir-storage-pool-get-volume"></a><h3>gvir_storage_pool_get_volume ()</h3> |
334 | 320 | <pre class="programlisting"><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="returnvalue">GVirStorageVol</span></a> * gvir_storage_pool_get_volume (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
335 | <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre> | |
321 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> | |
336 | 322 | <div class="variablelist"><table border="0"> |
337 | 323 | <col align="left" valign="top"> |
338 | 324 | <tbody> |
355 | 341 | <hr> |
356 | 342 | <div class="refsect2"> |
357 | 343 | <a name="gvir-storage-pool-get-volumes"></a><h3>gvir_storage_pool_get_volumes ()</h3> |
358 | <pre class="programlisting"><span class="returnvalue">GList</span> * gvir_storage_pool_get_volumes (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>);</pre> | |
344 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gvir_storage_pool_get_volumes (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>);</pre> | |
359 | 345 | <div class="variablelist"><table border="0"> |
360 | 346 | <col align="left" valign="top"> |
361 | 347 | <tbody> |
375 | 361 | <hr> |
376 | 362 | <div class="refsect2"> |
377 | 363 | <a name="gvir-storage-pool-refresh"></a><h3>gvir_storage_pool_refresh ()</h3> |
378 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_storage_pool_refresh (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
379 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
380 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
364 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_storage_pool_refresh (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
365 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
366 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
381 | 367 | <div class="variablelist"><table border="0"> |
382 | 368 | <col align="left" valign="top"> |
383 | 369 | <tbody> |
397 | 383 | <div class="refsect2"> |
398 | 384 | <a name="gvir-storage-pool-refresh-async"></a><h3>gvir_storage_pool_refresh_async ()</h3> |
399 | 385 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_storage_pool_refresh_async (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
400 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
401 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
402 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> | |
386 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
387 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
388 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> | |
403 | 389 | <div class="variablelist"><table border="0"> |
404 | 390 | <col align="left" valign="top"> |
405 | 391 | <tbody> |
428 | 414 | <hr> |
429 | 415 | <div class="refsect2"> |
430 | 416 | <a name="gvir-storage-pool-refresh-finish"></a><h3>gvir_storage_pool_refresh_finish ()</h3> |
431 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_storage_pool_refresh_finish (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
432 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
433 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
417 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_storage_pool_refresh_finish (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
418 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
419 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
434 | 420 | <div class="variablelist"><table border="0"> |
435 | 421 | <col align="left" valign="top"> |
436 | 422 | <tbody> |
449 | 435 | <hr> |
450 | 436 | <div class="refsect2"> |
451 | 437 | <a name="gvir-storage-pool-start"></a><h3>gvir_storage_pool_start ()</h3> |
452 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_storage_pool_start (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
453 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
454 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
438 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_storage_pool_start (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
439 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
440 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
455 | 441 | <div class="variablelist"><table border="0"> |
456 | 442 | <col align="left" valign="top"> |
457 | 443 | <tbody> |
465 | 451 | </tr> |
466 | 452 | <tr> |
467 | 453 | <td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td> |
468 | <td>return location for any <span class="type">GError</span> | |
454 | <td>return location for any <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> | |
469 | 455 | </td> |
470 | 456 | </tr> |
471 | 457 | <tr> |
480 | 466 | <div class="refsect2"> |
481 | 467 | <a name="gvir-storage-pool-start-async"></a><h3>gvir_storage_pool_start_async ()</h3> |
482 | 468 | <pre class="programlisting"><span class="returnvalue">void</span> gvir_storage_pool_start_async (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, |
483 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
484 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
485 | <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, | |
486 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> | |
469 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
470 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
471 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
472 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> | |
487 | 473 | <div class="variablelist"><table border="0"> |
488 | 474 | <col align="left" valign="top"> |
489 | 475 | <tbody> |
516 | 502 | <hr> |
517 | 503 | <div class="refsect2"> |
518 | 504 | <a name="gvir-storage-pool-start-finish"></a><h3>gvir_storage_pool_start_finish ()</h3> |
519 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_storage_pool_start_finish (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
520 | <em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>, | |
521 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
505 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_storage_pool_start_finish (<em class="parameter"><code><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a> *pool</code></em>, | |
506 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
507 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
522 | 508 | <div class="variablelist"><table border="0"> |
523 | 509 | <col align="left" valign="top"> |
524 | 510 | <tbody> |
533 | 519 | </tr> |
534 | 520 | <tr> |
535 | 521 | <td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td> |
536 | <td>return location for any <span class="type">GError</span> | |
522 | <td>return location for any <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> | |
537 | 523 | </td> |
538 | 524 | </tr> |
539 | 525 | <tr> |
556 | 542 | </div> |
557 | 543 | <div class="footer"> |
558 | 544 | <hr> |
559 | Generated by GTK-Doc V1.18.1</div> | |
545 | Generated by GTK-Doc V1.18</div> | |
560 | 546 | </body> |
561 | 547 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="GVirStoragePool.html" title="GVirStoragePool"> |
9 | 9 | <link rel="next" href="GVirStream.html" title="GVirStream"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
45 | 45 | struct <a class="link" href="GVirStorageVol.html#GVirStorageVolInfo-struct" title="struct GVirStorageVolInfo">GVirStorageVolInfo</a>; |
46 | 46 | enum <a class="link" href="GVirStorageVol.html#GVirStorageVolResizeFlags" title="enum GVirStorageVolResizeFlags">GVirStorageVolResizeFlags</a>; |
47 | 47 | enum <a class="link" href="GVirStorageVol.html#GVirStorageVolType" title="enum GVirStorageVolType">GVirStorageVolType</a>; |
48 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirStorageVol.html#gvir-storage-vol-delete" title="gvir_storage_vol_delete ()">gvir_storage_vol_delete</a> (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
49 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
50 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
51 | <span class="returnvalue">GVirConfigStorageVol</span> * <a class="link" href="GVirStorageVol.html#gvir-storage-vol-get-config" title="gvir_storage_vol_get_config ()">gvir_storage_vol_get_config</a> (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
52 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
53 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
48 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirStorageVol.html#gvir-storage-vol-delete" title="gvir_storage_vol_delete ()">gvir_storage_vol_delete</a> (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
49 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
50 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
51 | <a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigStorageVol.html"><span class="returnvalue">GVirConfigStorageVol</span></a> * <a class="link" href="GVirStorageVol.html#gvir-storage-vol-get-config" title="gvir_storage_vol_get_config ()">gvir_storage_vol_get_config</a> (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
52 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
53 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
54 | 54 | <a class="link" href="GVirStorageVol.html#GVirStorageVolInfo"><span class="returnvalue">GVirStorageVolInfo</span></a> * <a class="link" href="GVirStorageVol.html#gvir-storage-vol-get-info" title="gvir_storage_vol_get_info ()">gvir_storage_vol_get_info</a> (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, |
55 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
56 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirStorageVol.html#gvir-storage-vol-get-name" title="gvir_storage_vol_get_name ()">gvir_storage_vol_get_name</a> (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>); | |
57 | const <span class="returnvalue">gchar</span> * <a class="link" href="GVirStorageVol.html#gvir-storage-vol-get-path" title="gvir_storage_vol_get_path ()">gvir_storage_vol_get_path</a> (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
58 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
59 | <span class="returnvalue">gboolean</span> <a class="link" href="GVirStorageVol.html#gvir-storage-vol-resize" title="gvir_storage_vol_resize ()">gvir_storage_vol_resize</a> (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
60 | <em class="parameter"><code><span class="type">guint64</span> capacity</code></em>, | |
61 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
62 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>); | |
55 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
56 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirStorageVol.html#gvir-storage-vol-get-name" title="gvir_storage_vol_get_name ()">gvir_storage_vol_get_name</a> (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>); | |
57 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GVirStorageVol.html#gvir-storage-vol-get-path" title="gvir_storage_vol_get_path ()">gvir_storage_vol_get_path</a> (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
58 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
59 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GVirStorageVol.html#gvir-storage-vol-resize" title="gvir_storage_vol_resize ()">gvir_storage_vol_resize</a> (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
60 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> capacity</code></em>, | |
61 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
62 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>); | |
63 | 63 | </pre> |
64 | 64 | </div> |
65 | 65 | <div class="refsect1"> |
66 | 66 | <a name="GVirStorageVol.object-hierarchy"></a><h2>Object Hierarchy</h2> |
67 | 67 | <pre class="synopsis"> |
68 | GObject | |
68 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
69 | 69 | +----GVirStorageVol |
70 | 70 | </pre> |
71 | 71 | <pre class="synopsis"> |
159 | 159 | <hr> |
160 | 160 | <div class="refsect2"> |
161 | 161 | <a name="gvir-storage-vol-delete"></a><h3>gvir_storage_vol_delete ()</h3> |
162 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_storage_vol_delete (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
163 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
164 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
162 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_storage_vol_delete (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
163 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
164 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
165 | 165 | <p> |
166 | 166 | Deletes the storage volume <em class="parameter"><code>vol</code></em>. |
167 | 167 | </p> |
183 | 183 | <tr> |
184 | 184 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
185 | 185 | <td> |
186 | <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> otherwise</td> | |
186 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td> | |
187 | 187 | </tr> |
188 | 188 | </tbody> |
189 | 189 | </table></div> |
191 | 191 | <hr> |
192 | 192 | <div class="refsect2"> |
193 | 193 | <a name="gvir-storage-vol-get-config"></a><h3>gvir_storage_vol_get_config ()</h3> |
194 | <pre class="programlisting"><span class="returnvalue">GVirConfigStorageVol</span> * gvir_storage_vol_get_config (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
195 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
196 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
194 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigStorageVol.html"><span class="returnvalue">GVirConfigStorageVol</span></a> * gvir_storage_vol_get_config (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
195 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
196 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
197 | 197 | <div class="variablelist"><table border="0"> |
198 | 198 | <col align="left" valign="top"> |
199 | 199 | <tbody> |
203 | 203 | </tr> |
204 | 204 | <tr> |
205 | 205 | <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
206 | <td>the flags</td> | |
207 | </tr> | |
208 | <tr> | |
209 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
210 | <td>the config. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
211 | </td> | |
206 | <td>the flags | |
207 | Returns: (transfer full): the config</td> | |
212 | 208 | </tr> |
213 | 209 | </tbody> |
214 | 210 | </table></div> |
217 | 213 | <div class="refsect2"> |
218 | 214 | <a name="gvir-storage-vol-get-info"></a><h3>gvir_storage_vol_get_info ()</h3> |
219 | 215 | <pre class="programlisting"><a class="link" href="GVirStorageVol.html#GVirStorageVolInfo"><span class="returnvalue">GVirStorageVolInfo</span></a> * gvir_storage_vol_get_info (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, |
220 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
221 | <div class="variablelist"><table border="0"> | |
222 | <col align="left" valign="top"> | |
223 | <tbody> | |
224 | <tr> | |
225 | <td><p><span class="term"><em class="parameter"><code>vol</code></em> :</span></p></td> | |
226 | <td>the storage_vol</td> | |
227 | </tr> | |
228 | <tr> | |
229 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
230 | <td>the info. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> | |
231 | </td> | |
232 | </tr> | |
233 | </tbody> | |
216 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
217 | <div class="variablelist"><table border="0"> | |
218 | <col align="left" valign="top"> | |
219 | <tbody><tr> | |
220 | <td><p><span class="term"><em class="parameter"><code>vol</code></em> :</span></p></td> | |
221 | <td>the storage_vol | |
222 | Returns: (transfer full): the info</td> | |
223 | </tr></tbody> | |
234 | 224 | </table></div> |
235 | 225 | </div> |
236 | 226 | <hr> |
237 | 227 | <div class="refsect2"> |
238 | 228 | <a name="gvir-storage-vol-get-name"></a><h3>gvir_storage_vol_get_name ()</h3> |
239 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_storage_vol_get_name (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>);</pre> | |
229 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_storage_vol_get_name (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>);</pre> | |
240 | 230 | </div> |
241 | 231 | <hr> |
242 | 232 | <div class="refsect2"> |
243 | 233 | <a name="gvir-storage-vol-get-path"></a><h3>gvir_storage_vol_get_path ()</h3> |
244 | <pre class="programlisting">const <span class="returnvalue">gchar</span> * gvir_storage_vol_get_path (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
245 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
234 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gvir_storage_vol_get_path (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
235 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
246 | 236 | </div> |
247 | 237 | <hr> |
248 | 238 | <div class="refsect2"> |
249 | 239 | <a name="gvir-storage-vol-resize"></a><h3>gvir_storage_vol_resize ()</h3> |
250 | <pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_storage_vol_resize (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
251 | <em class="parameter"><code><span class="type">guint64</span> capacity</code></em>, | |
252 | <em class="parameter"><code><span class="type">guint</span> flags</code></em>, | |
253 | <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> | |
240 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gvir_storage_vol_resize (<em class="parameter"><code><a class="link" href="GVirStorageVol.html" title="GVirStorageVol"><span class="type">GVirStorageVol</span></a> *vol</code></em>, | |
241 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> capacity</code></em>, | |
242 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>, | |
243 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre> | |
254 | 244 | <p> |
255 | 245 | Changes the capacity of the storage volume <em class="parameter"><code>vol</code></em> to <em class="parameter"><code>capacity</code></em>. |
256 | 246 | </p> |
267 | 257 | </tr> |
268 | 258 | <tr> |
269 | 259 | <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
270 | <td>the flags. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GVirStorageVolResizeFlags]</span> | |
260 | <td>the flags. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GVirStorageVolResizeFlags]</span> | |
271 | 261 | </td> |
272 | 262 | </tr> |
273 | 263 | <tr> |
277 | 267 | <tr> |
278 | 268 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
279 | 269 | <td> |
280 | <span class="type">TRUE</span> success, <span class="type">FALSE</span> otherwise</td> | |
270 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a> otherwise</td> | |
281 | 271 | </tr> |
282 | 272 | </tbody> |
283 | 273 | </table></div> |
300 | 290 | </div> |
301 | 291 | <div class="footer"> |
302 | 292 | <hr> |
303 | Generated by GTK-Doc V1.18.1</div> | |
293 | Generated by GTK-Doc V1.18</div> | |
304 | 294 | </body> |
305 | 295 | </html>⏎ |
7 | 7 | <link rel="up" href="ch01.html" title="Libvirt-gobject"> |
8 | 8 | <link rel="prev" href="GVirStorageVol.html" title="GVirStorageVol"> |
9 | 9 | <link rel="next" href="object-tree.html" title="Object Hierarchy"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
43 | 43 | <pre class="synopsis">struct <a class="link" href="GVirStream.html#GVirStream-struct" title="struct GVirStream">GVirStream</a>; |
44 | 44 | struct <a class="link" href="GVirStream.html#GVirStreamClass" title="struct GVirStreamClass">GVirStreamClass</a>; |
45 | 45 | enum <a class="link" href="GVirStream.html#GVirStreamIOCondition" title="enum GVirStreamIOCondition">GVirStreamIOCondition</a>; |
46 | <span class="returnvalue">gboolean</span> (<a class="link" href="GVirStream.html#GVirStreamIOFunc" title="GVirStreamIOFunc ()">*GVirStreamIOFunc</a>) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
47 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOCondition" title="enum GVirStreamIOCondition"><span class="type">GVirStreamIOCondition</span></a> cond</code></em>, | |
48 | <em class="parameter"><code><span class="type">gpointer</span> opaque</code></em>); | |
49 | <span class="returnvalue">gint</span> (<a class="link" href="GVirStream.html#GVirStreamSinkFunc" title="GVirStreamSinkFunc ()">*GVirStreamSinkFunc</a>) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
50 | <em class="parameter"><code>const <span class="type">gchar</span> *buf</code></em>, | |
51 | <em class="parameter"><code><span class="type">gsize</span> nbytes</code></em>, | |
52 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>); | |
53 | <span class="returnvalue">gint</span> (<a class="link" href="GVirStream.html#GVirStreamSourceFunc" title="GVirStreamSourceFunc ()">*GVirStreamSourceFunc</a>) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
54 | <em class="parameter"><code><span class="type">gchar</span> *buf</code></em>, | |
55 | <em class="parameter"><code><span class="type">gsize</span> nbytes</code></em>, | |
56 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>); | |
57 | <span class="returnvalue">guint</span> <a class="link" href="GVirStream.html#gvir-stream-add-watch" title="gvir_stream_add_watch ()">gvir_stream_add_watch</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
46 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="GVirStream.html#GVirStreamIOFunc" title="GVirStreamIOFunc ()">*GVirStreamIOFunc</a>) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
47 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOCondition" title="enum GVirStreamIOCondition"><span class="type">GVirStreamIOCondition</span></a> cond</code></em>, | |
48 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> opaque</code></em>); | |
49 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> (<a class="link" href="GVirStream.html#GVirStreamSinkFunc" title="GVirStreamSinkFunc ()">*GVirStreamSinkFunc</a>) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
50 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buf</code></em>, | |
51 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> nbytes</code></em>, | |
52 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); | |
53 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> (<a class="link" href="GVirStream.html#GVirStreamSourceFunc" title="GVirStreamSourceFunc ()">*GVirStreamSourceFunc</a>) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
54 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buf</code></em>, | |
55 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> nbytes</code></em>, | |
56 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); | |
57 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GVirStream.html#gvir-stream-add-watch" title="gvir_stream_add_watch ()">gvir_stream_add_watch</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
58 | 58 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOCondition" title="enum GVirStreamIOCondition"><span class="type">GVirStreamIOCondition</span></a> cond</code></em>, |
59 | 59 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOFunc" title="GVirStreamIOFunc ()"><span class="type">GVirStreamIOFunc</span></a> func</code></em>, |
60 | <em class="parameter"><code><span class="type">gpointer</span> opaque</code></em>); | |
61 | <span class="returnvalue">guint</span> <a class="link" href="GVirStream.html#gvir-stream-add-watch-full" title="gvir_stream_add_watch_full ()">gvir_stream_add_watch_full</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
62 | <em class="parameter"><code><span class="type">gint</span> priority</code></em>, | |
60 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> opaque</code></em>); | |
61 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GVirStream.html#gvir-stream-add-watch-full" title="gvir_stream_add_watch_full ()">gvir_stream_add_watch_full</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
62 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>, | |
63 | 63 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOCondition" title="enum GVirStreamIOCondition"><span class="type">GVirStreamIOCondition</span></a> cond</code></em>, |
64 | 64 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOFunc" title="GVirStreamIOFunc ()"><span class="type">GVirStreamIOFunc</span></a> func</code></em>, |
65 | <em class="parameter"><code><span class="type">gpointer</span> opaque</code></em>, | |
66 | <em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>); | |
67 | <span class="returnvalue">gssize</span> <a class="link" href="GVirStream.html#gvir-stream-receive" title="gvir_stream_receive ()">gvir_stream_receive</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
68 | <em class="parameter"><code><span class="type">gchar</span> *buffer</code></em>, | |
69 | <em class="parameter"><code><span class="type">gsize</span> size</code></em>, | |
70 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
71 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
72 | <span class="returnvalue">gssize</span> <a class="link" href="GVirStream.html#gvir-stream-receive-all" title="gvir_stream_receive_all ()">gvir_stream_receive_all</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
73 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
65 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> opaque</code></em>, | |
66 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>); | |
67 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GVirStream.html#gvir-stream-receive" title="gvir_stream_receive ()">gvir_stream_receive</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
68 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>, | |
69 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>, | |
70 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
71 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
72 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GVirStream.html#gvir-stream-receive-all" title="gvir_stream_receive_all ()">gvir_stream_receive_all</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
73 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
74 | 74 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamSinkFunc" title="GVirStreamSinkFunc ()"><span class="type">GVirStreamSinkFunc</span></a> func</code></em>, |
75 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>, | |
76 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
77 | <span class="returnvalue">gssize</span> <a class="link" href="GVirStream.html#gvir-stream-send" title="gvir_stream_send ()">gvir_stream_send</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
78 | <em class="parameter"><code>const <span class="type">gchar</span> *buffer</code></em>, | |
79 | <em class="parameter"><code><span class="type">gsize</span> size</code></em>, | |
80 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
81 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
82 | <span class="returnvalue">gssize</span> <a class="link" href="GVirStream.html#gvir-stream-send-all" title="gvir_stream_send_all ()">gvir_stream_send_all</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
83 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
75 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>, | |
76 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
77 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GVirStream.html#gvir-stream-send" title="gvir_stream_send ()">gvir_stream_send</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
78 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>, | |
79 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>, | |
80 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
81 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
82 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GVirStream.html#gvir-stream-send-all" title="gvir_stream_send_all ()">gvir_stream_send_all</a> (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
83 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
84 | 84 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamSourceFunc" title="GVirStreamSourceFunc ()"><span class="type">GVirStreamSourceFunc</span></a> func</code></em>, |
85 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>, | |
86 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>); | |
85 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>, | |
86 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
87 | 87 | </pre> |
88 | 88 | </div> |
89 | 89 | <div class="refsect1"> |
90 | 90 | <a name="GVirStream.object-hierarchy"></a><h2>Object Hierarchy</h2> |
91 | 91 | <pre class="synopsis"> |
92 | GObject | |
93 | +----GIOStream | |
92 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
93 | +----<a href="http://library.gnome.org/devel/gio/unstable/GIOStream.html">GIOStream</a> | |
94 | 94 | +----GVirStream |
95 | 95 | </pre> |
96 | 96 | </div> |
133 | 133 | <hr> |
134 | 134 | <div class="refsect2"> |
135 | 135 | <a name="GVirStreamIOFunc"></a><h3>GVirStreamIOFunc ()</h3> |
136 | <pre class="programlisting"><span class="returnvalue">gboolean</span> (*GVirStreamIOFunc) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
137 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOCondition" title="enum GVirStreamIOCondition"><span class="type">GVirStreamIOCondition</span></a> cond</code></em>, | |
138 | <em class="parameter"><code><span class="type">gpointer</span> opaque</code></em>);</pre> | |
136 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GVirStreamIOFunc) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
137 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOCondition" title="enum GVirStreamIOCondition"><span class="type">GVirStreamIOCondition</span></a> cond</code></em>, | |
138 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> opaque</code></em>);</pre> | |
139 | 139 | </div> |
140 | 140 | <hr> |
141 | 141 | <div class="refsect2"> |
142 | 142 | <a name="GVirStreamSinkFunc"></a><h3>GVirStreamSinkFunc ()</h3> |
143 | <pre class="programlisting"><span class="returnvalue">gint</span> (*GVirStreamSinkFunc) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
144 | <em class="parameter"><code>const <span class="type">gchar</span> *buf</code></em>, | |
145 | <em class="parameter"><code><span class="type">gsize</span> nbytes</code></em>, | |
146 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> | |
143 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> (*GVirStreamSinkFunc) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
144 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buf</code></em>, | |
145 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> nbytes</code></em>, | |
146 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> | |
147 | 147 | <div class="variablelist"><table border="0"> |
148 | 148 | <col align="left" valign="top"> |
149 | 149 | <tbody> |
163 | 163 | </tr> |
164 | 164 | <tr> |
165 | 165 | <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> |
166 | <td>user data passed to the function</td> | |
167 | </tr> | |
168 | <tr> | |
169 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
170 | <td>the number of bytes filled, 0 upon end | |
166 | <td>user data passed to the function | |
167 | Returns: the number of bytes filled, 0 upon end | |
171 | 168 | of file, or -1 upon error</td> |
172 | 169 | </tr> |
173 | 170 | </tbody> |
176 | 173 | <hr> |
177 | 174 | <div class="refsect2"> |
178 | 175 | <a name="GVirStreamSourceFunc"></a><h3>GVirStreamSourceFunc ()</h3> |
179 | <pre class="programlisting"><span class="returnvalue">gint</span> (*GVirStreamSourceFunc) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
180 | <em class="parameter"><code><span class="type">gchar</span> *buf</code></em>, | |
181 | <em class="parameter"><code><span class="type">gsize</span> nbytes</code></em>, | |
182 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> | |
176 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> (*GVirStreamSourceFunc) (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
177 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buf</code></em>, | |
178 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> nbytes</code></em>, | |
179 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> | |
183 | 180 | <div class="variablelist"><table border="0"> |
184 | 181 | <col align="left" valign="top"> |
185 | 182 | <tbody> |
199 | 196 | </tr> |
200 | 197 | <tr> |
201 | 198 | <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> |
202 | <td>user data passed to the function</td> | |
203 | </tr> | |
204 | <tr> | |
205 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
206 | <td>the number of bytes filled, 0 upon end | |
199 | <td>user data passed to the function | |
200 | Returns: the number of bytes filled, 0 upon end | |
207 | 201 | of file, or -1 upon error</td> |
208 | 202 | </tr> |
209 | 203 | </tbody> |
212 | 206 | <hr> |
213 | 207 | <div class="refsect2"> |
214 | 208 | <a name="gvir-stream-add-watch"></a><h3>gvir_stream_add_watch ()</h3> |
215 | <pre class="programlisting"><span class="returnvalue">guint</span> gvir_stream_add_watch (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
209 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gvir_stream_add_watch (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
216 | 210 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOCondition" title="enum GVirStreamIOCondition"><span class="type">GVirStreamIOCondition</span></a> cond</code></em>, |
217 | 211 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOFunc" title="GVirStreamIOFunc ()"><span class="type">GVirStreamIOFunc</span></a> func</code></em>, |
218 | <em class="parameter"><code><span class="type">gpointer</span> opaque</code></em>);</pre> | |
212 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> opaque</code></em>);</pre> | |
219 | 213 | </div> |
220 | 214 | <hr> |
221 | 215 | <div class="refsect2"> |
222 | 216 | <a name="gvir-stream-add-watch-full"></a><h3>gvir_stream_add_watch_full ()</h3> |
223 | <pre class="programlisting"><span class="returnvalue">guint</span> gvir_stream_add_watch_full (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
224 | <em class="parameter"><code><span class="type">gint</span> priority</code></em>, | |
217 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gvir_stream_add_watch_full (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
218 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>, | |
225 | 219 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOCondition" title="enum GVirStreamIOCondition"><span class="type">GVirStreamIOCondition</span></a> cond</code></em>, |
226 | 220 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamIOFunc" title="GVirStreamIOFunc ()"><span class="type">GVirStreamIOFunc</span></a> func</code></em>, |
227 | <em class="parameter"><code><span class="type">gpointer</span> opaque</code></em>, | |
228 | <em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre> | |
221 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> opaque</code></em>, | |
222 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre> | |
229 | 223 | <p> |
230 | 224 | Adds a watch for <em class="parameter"><code>stream</code></em> to the mainloop |
231 | 225 | </p> |
269 | 263 | <hr> |
270 | 264 | <div class="refsect2"> |
271 | 265 | <a name="gvir-stream-receive"></a><h3>gvir_stream_receive ()</h3> |
272 | <pre class="programlisting"><span class="returnvalue">gssize</span> gvir_stream_receive (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
273 | <em class="parameter"><code><span class="type">gchar</span> *buffer</code></em>, | |
274 | <em class="parameter"><code><span class="type">gsize</span> size</code></em>, | |
275 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
276 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
266 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> gvir_stream_receive (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
267 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>, | |
268 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>, | |
269 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
270 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
277 | 271 | <p> |
278 | 272 | Receive data (up to <em class="parameter"><code>size</code></em> bytes) from a stream. |
279 | 273 | On error -1 is returned and <em class="parameter"><code>error</code></em> is set accordingly. |
284 | 278 | data will be returned in future calls to <a class="link" href="GVirStream.html#gvir-stream-receive" title="gvir_stream_receive ()"><code class="function">gvir_stream_receive()</code></a>. |
285 | 279 | </p> |
286 | 280 | <p> |
287 | If there is no data available, a <code class="literal">G_IO_ERROR_WOULD_BLOCK</code> error will be | |
281 | If there is no data available, a <a href="http://library.gnome.org/devel/gio/unstable/gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error will be | |
288 | 282 | returned. |
289 | 283 | </p> |
290 | 284 | <div class="variablelist"><table border="0"> |
305 | 299 | </tr> |
306 | 300 | <tr> |
307 | 301 | <td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td> |
308 | <td>a <code class="literal">GCancellable</code> or <a href="/home/zeenix/jhbuild/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> | |
302 | <td>a <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><code class="literal">GCancellable</code></a> or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> | |
309 | 303 | </td> |
310 | 304 | </tr> |
311 | 305 | <tr> |
312 | 306 | <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> |
313 | 307 | <td> |
314 | <span class="type">GError</span> for error reporting, or <a href="/home/zeenix/jhbuild/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to ignore.</td> | |
308 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td> | |
315 | 309 | </tr> |
316 | 310 | <tr> |
317 | 311 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
324 | 318 | <hr> |
325 | 319 | <div class="refsect2"> |
326 | 320 | <a name="gvir-stream-receive-all"></a><h3>gvir_stream_receive_all ()</h3> |
327 | <pre class="programlisting"><span class="returnvalue">gssize</span> gvir_stream_receive_all (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
328 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
321 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> gvir_stream_receive_all (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
322 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
329 | 323 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamSinkFunc" title="GVirStreamSinkFunc ()"><span class="type">GVirStreamSinkFunc</span></a> func</code></em>, |
330 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>, | |
331 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
324 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>, | |
325 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
326 | <p> | |
327 | Receive the entire data stream, sending the data to the | |
328 | requested data sink. This is simply a convenient alternative | |
329 | to virStreamRecv, for apps that do blocking-I/o. | |
330 | </p> | |
332 | 331 | <div class="variablelist"><table border="0"> |
333 | 332 | <col align="left" valign="top"> |
334 | 333 | <tbody> |
347 | 346 | </tr> |
348 | 347 | <tr> |
349 | 348 | <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> |
350 | <td>data to be passed to <em class="parameter"><code>callback</code></em>. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span> | |
351 | </td> | |
352 | </tr> | |
353 | <tr> | |
354 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
355 | <td>the number of bytes consumed or -1 upon error | |
356 | Receive the entire data stream, sending the data to the | |
357 | requested data sink. This is simply a convenient alternative | |
358 | to virStreamRecv, for apps that do blocking-I/o.</td> | |
349 | <td>data to be passed to <em class="parameter"><code>callback</code></em> | |
350 | Returns: the number of bytes consumed or -1 upon error. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span> | |
351 | </td> | |
359 | 352 | </tr> |
360 | 353 | </tbody> |
361 | 354 | </table></div> |
363 | 356 | <hr> |
364 | 357 | <div class="refsect2"> |
365 | 358 | <a name="gvir-stream-send"></a><h3>gvir_stream_send ()</h3> |
366 | <pre class="programlisting"><span class="returnvalue">gssize</span> gvir_stream_send (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
367 | <em class="parameter"><code>const <span class="type">gchar</span> *buffer</code></em>, | |
368 | <em class="parameter"><code><span class="type">gsize</span> size</code></em>, | |
369 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
370 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
359 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> gvir_stream_send (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
360 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>, | |
361 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>, | |
362 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
363 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
371 | 364 | <p> |
372 | 365 | Send data (up to <em class="parameter"><code>size</code></em> bytes) from a stream. |
373 | 366 | On error -1 is returned and <em class="parameter"><code>error</code></em> is set accordingly. |
378 | 371 | data will be returned in future calls to <a class="link" href="GVirStream.html#gvir-stream-send" title="gvir_stream_send ()"><code class="function">gvir_stream_send()</code></a>. |
379 | 372 | </p> |
380 | 373 | <p> |
381 | If there is no data available, a <code class="literal">G_IO_ERROR_WOULD_BLOCK</code> error will be | |
374 | If there is no data available, a <a href="http://library.gnome.org/devel/gio/unstable/gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error will be | |
382 | 375 | returned. |
383 | 376 | </p> |
384 | 377 | <div class="variablelist"><table border="0"> |
399 | 392 | </tr> |
400 | 393 | <tr> |
401 | 394 | <td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td> |
402 | <td>a <code class="literal">GCancellable</code> or <a href="/home/zeenix/jhbuild/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> | |
395 | <td>a <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><code class="literal">GCancellable</code></a> or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> | |
403 | 396 | </td> |
404 | 397 | </tr> |
405 | 398 | <tr> |
406 | 399 | <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> |
407 | 400 | <td> |
408 | <span class="type">GError</span> for error reporting, or <a href="/home/zeenix/jhbuild/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to ignore.</td> | |
401 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td> | |
409 | 402 | </tr> |
410 | 403 | <tr> |
411 | 404 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
418 | 411 | <hr> |
419 | 412 | <div class="refsect2"> |
420 | 413 | <a name="gvir-stream-send-all"></a><h3>gvir_stream_send_all ()</h3> |
421 | <pre class="programlisting"><span class="returnvalue">gssize</span> gvir_stream_send_all (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
422 | <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, | |
414 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> gvir_stream_send_all (<em class="parameter"><code><a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> *stream</code></em>, | |
415 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, | |
423 | 416 | <em class="parameter"><code><a class="link" href="GVirStream.html#GVirStreamSourceFunc" title="GVirStreamSourceFunc ()"><span class="type">GVirStreamSourceFunc</span></a> func</code></em>, |
424 | <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>, | |
425 | <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> | |
417 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>, | |
418 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
419 | <p> | |
420 | Send the entire data stream, sending the data to the | |
421 | requested data source. This is simply a convenient alternative | |
422 | to virStreamRecv, for apps that do blocking-I/o. | |
423 | </p> | |
426 | 424 | <div class="variablelist"><table border="0"> |
427 | 425 | <col align="left" valign="top"> |
428 | 426 | <tbody> |
441 | 439 | </tr> |
442 | 440 | <tr> |
443 | 441 | <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> |
444 | <td>data to be passed to <em class="parameter"><code>callback</code></em>. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span> | |
445 | </td> | |
446 | </tr> | |
447 | <tr> | |
448 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> | |
449 | <td>the number of bytes consumed or -1 upon error | |
450 | Send the entire data stream, sending the data to the | |
451 | requested data source. This is simply a convenient alternative | |
452 | to virStreamRecv, for apps that do blocking-I/o.</td> | |
442 | <td>data to be passed to <em class="parameter"><code>callback</code></em> | |
443 | Returns: the number of bytes consumed or -1 upon error. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span> | |
444 | </td> | |
453 | 445 | </tr> |
454 | 446 | </tbody> |
455 | 447 | </table></div> |
466 | 458 | </div> |
467 | 459 | <div class="footer"> |
468 | 460 | <hr> |
469 | Generated by GTK-Doc V1.18.1</div> | |
461 | Generated by GTK-Doc V1.18</div> | |
470 | 462 | </body> |
471 | 463 | </html>⏎ |
69 | 69 | <keyword type="signal" name="The "domain-removed" signal" link="GVirConnection.html#GVirConnection-domain-removed"/> |
70 | 70 | <keyword type="struct" name="struct GVirDomain" link="GVirDomain.html#GVirDomain-struct"/> |
71 | 71 | <keyword type="struct" name="struct GVirDomainClass" link="GVirDomain.html#GVirDomainClass"/> |
72 | <keyword type="enum" name="enum GVirDomainDeleteFlags" link="GVirDomain.html#GVirDomainDeleteFlags-enum"/> | |
72 | <keyword type="enum" name="enum GVirDomainDeleteFlags" link="GVirDomain.html#GVirDomainDeleteFlags"/> | |
73 | 73 | <keyword type="struct" name="struct GVirDomainInfo" link="GVirDomain.html#GVirDomainInfo-struct"/> |
74 | <keyword type="enum" name="enum GVirDomainStartFlags" link="GVirDomain.html#GVirDomainStartFlags-enum"/> | |
75 | <keyword type="enum" name="enum GVirDomainState" link="GVirDomain.html#GVirDomainState-enum"/> | |
74 | <keyword type="enum" name="enum GVirDomainStartFlags" link="GVirDomain.html#GVirDomainStartFlags"/> | |
75 | <keyword type="enum" name="enum GVirDomainState" link="GVirDomain.html#GVirDomainState"/> | |
76 | 76 | <keyword type="function" name="gvir_domain_delete ()" link="GVirDomain.html#gvir-domain-delete"/> |
77 | 77 | <keyword type="function" name="gvir_domain_get_config ()" link="GVirDomain.html#gvir-domain-get-config"/> |
78 | 78 | <keyword type="function" name="gvir_domain_get_devices ()" link="GVirDomain.html#gvir-domain-get-devices"/> |
6 | 6 | <link rel="home" href="index.html" title="Libvirt-gobject Reference Manual"> |
7 | 7 | <link rel="up" href="index.html" title="Libvirt-gobject Reference Manual"> |
8 | 8 | <link rel="prev" href="api-index-full.html" title="API Index"> |
9 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
9 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
10 | 10 | <link rel="stylesheet" href="style.css" type="text/css"> |
11 | 11 | </head> |
12 | 12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
81 | 81 | <dd><p>Free data after the code is done.</p></dd> |
82 | 82 | <dt> |
83 | 83 | <a name="annotation-glossterm-type"></a>type</dt> |
84 | <dd><p>Override the parsed C type with given type.</p></dd> | |
84 | <dd><p>Override the parsed C type with given type</p></dd> | |
85 | 85 | <a name="glsS"></a><h3 class="title">S</h3> |
86 | 86 | <dt> |
87 | 87 | <a name="annotation-glossterm-scope%20notified"></a>scope notified</dt> |
89 | 89 | </div> |
90 | 90 | <div class="footer"> |
91 | 91 | <hr> |
92 | Generated by GTK-Doc V1.18.1</div> | |
92 | Generated by GTK-Doc V1.18</div> | |
93 | 93 | </body> |
94 | 94 | </html>⏎ |
7 | 7 | <link rel="up" href="index.html" title="Libvirt-gobject Reference Manual"> |
8 | 8 | <link rel="prev" href="object-tree.html" title="Object Hierarchy"> |
9 | 9 | <link rel="next" href="annotation-glossary.html" title="Annotation Glossary"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
36 | 36 | <a name="api-index-full"></a>API Index</h2></div></div></div> |
37 | 37 | <a name="idx"></a><a name="idxC"></a><h3 class="title">C</h3> |
38 | 38 | <dt> |
39 | g_clear_object, macro in libvirt-gobject-compat | |
39 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-clear-object">g_clear_object</a>, macro in libvirt-gobject-compat | |
40 | 40 | </dt> |
41 | 41 | <dd></dd> |
42 | 42 | <a name="idxD"></a><h3 class="title">D</h3> |
43 | 43 | <dt> |
44 | G_DEFINE_BOXED_TYPE, macro in libvirt-gobject-compat | |
45 | </dt> | |
46 | <dd></dd> | |
47 | <dt> | |
48 | G_DEFINE_BOXED_TYPE_WITH_CODE, macro in libvirt-gobject-compat | |
44 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-DEFINE-BOXED-TYPE:CAPS">G_DEFINE_BOXED_TYPE</a>, macro in libvirt-gobject-compat | |
45 | </dt> | |
46 | <dd></dd> | |
47 | <dt> | |
48 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-DEFINE-BOXED-TYPE-WITH-CODE:CAPS">G_DEFINE_BOXED_TYPE_WITH_CODE</a>, macro in libvirt-gobject-compat | |
49 | 49 | </dt> |
50 | 50 | <dd></dd> |
51 | 51 | <a name="idxM"></a><h3 class="title">M</h3> |
52 | 52 | <dt> |
53 | g_mutex_free, macro in libvirt-gobject-compat | |
54 | </dt> | |
55 | <dd></dd> | |
56 | <dt> | |
57 | g_mutex_new, macro in libvirt-gobject-compat | |
53 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Threads.html#g-mutex-free">g_mutex_free</a>, macro in libvirt-gobject-compat | |
54 | </dt> | |
55 | <dd></dd> | |
56 | <dt> | |
57 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Threads.html#g-mutex-new">g_mutex_new</a>, macro in libvirt-gobject-compat | |
58 | 58 | </dt> |
59 | 59 | <dd></dd> |
60 | 60 | <a name="idxS"></a><h3 class="title">S</h3> |
61 | 61 | <dt> |
62 | g_simple_async_report_take_gerror_in_idle, function in libvirt-gobject-compat | |
63 | </dt> | |
64 | <dd></dd> | |
65 | <dt> | |
66 | g_simple_async_result_new_take_error, function in libvirt-gobject-compat | |
67 | </dt> | |
68 | <dd></dd> | |
69 | <dt> | |
70 | g_simple_async_result_take_error, function in libvirt-gobject-compat | |
62 | <a href="http://library.gnome.org/devel/gio/unstable/GSimpleAsyncResult.html#g-simple-async-report-take-gerror-in-idle">g_simple_async_report_take_gerror_in_idle</a>, function in libvirt-gobject-compat | |
63 | </dt> | |
64 | <dd></dd> | |
65 | <dt> | |
66 | <a href="http://library.gnome.org/devel/gio/unstable/GSimpleAsyncResult.html#g-simple-async-result-new-take-error">g_simple_async_result_new_take_error</a>, function in libvirt-gobject-compat | |
67 | </dt> | |
68 | <dd></dd> | |
69 | <dt> | |
70 | <a href="http://library.gnome.org/devel/gio/unstable/GSimpleAsyncResult.html#g-simple-async-result-take-error">g_simple_async_result_take_error</a>, function in libvirt-gobject-compat | |
71 | 71 | </dt> |
72 | 72 | <dd></dd> |
73 | 73 | <a name="idxV"></a><h3 class="title">V</h3> |
140 | 140 | </dt> |
141 | 141 | <dd></dd> |
142 | 142 | <dt> |
143 | <a class="link" href="GVirDomain.html#GVirDomainDeleteFlags-enum" title="enum GVirDomainDeleteFlags">GVirDomainDeleteFlags</a>, enum in <a class="link" href="GVirDomain.html" title="GVirDomain">GVirDomain</a> | |
143 | <a class="link" href="GVirDomain.html#GVirDomainDeleteFlags" title="enum GVirDomainDeleteFlags">GVirDomainDeleteFlags</a>, enum in <a class="link" href="GVirDomain.html" title="GVirDomain">GVirDomain</a> | |
144 | 144 | </dt> |
145 | 145 | <dd></dd> |
146 | 146 | <dt> |
200 | 200 | </dt> |
201 | 201 | <dd></dd> |
202 | 202 | <dt> |
203 | <a class="link" href="GVirDomain.html#GVirDomainStartFlags-enum" title="enum GVirDomainStartFlags">GVirDomainStartFlags</a>, enum in <a class="link" href="GVirDomain.html" title="GVirDomain">GVirDomain</a> | |
204 | </dt> | |
205 | <dd></dd> | |
206 | <dt> | |
207 | <a class="link" href="GVirDomain.html#GVirDomainState-enum" title="enum GVirDomainState">GVirDomainState</a>, enum in <a class="link" href="GVirDomain.html" title="GVirDomain">GVirDomain</a> | |
203 | <a class="link" href="GVirDomain.html#GVirDomainStartFlags" title="enum GVirDomainStartFlags">GVirDomainStartFlags</a>, enum in <a class="link" href="GVirDomain.html" title="GVirDomain">GVirDomain</a> | |
204 | </dt> | |
205 | <dd></dd> | |
206 | <dt> | |
207 | <a class="link" href="GVirDomain.html#GVirDomainState" title="enum GVirDomainState">GVirDomainState</a>, enum in <a class="link" href="GVirDomain.html" title="GVirDomain">GVirDomain</a> | |
208 | 208 | </dt> |
209 | 209 | <dd></dd> |
210 | 210 | <dt> |
838 | 838 | </div> |
839 | 839 | <div class="footer"> |
840 | 840 | <hr> |
841 | Generated by GTK-Doc V1.18.1</div> | |
841 | Generated by GTK-Doc V1.18</div> | |
842 | 842 | </body> |
843 | 843 | </html>⏎ |
7 | 7 | <link rel="up" href="index.html" title="Libvirt-gobject Reference Manual"> |
8 | 8 | <link rel="prev" href="index.html" title="Libvirt-gobject Reference Manual"> |
9 | 9 | <link rel="next" href="GVirConnection.html" title="GVirConnection"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
20 | 20 | </tr></table> |
21 | 21 | <div class="chapter"> |
22 | 22 | <div class="titlepage"><div><div><h2 class="title"> |
23 | <a name="id362478"></a>Libvirt-gobject</h2></div></div></div> | |
23 | <a name="id514219"></a>Libvirt-gobject</h2></div></div></div> | |
24 | 24 | <div class="toc"><dl> |
25 | 25 | <dt> |
26 | 26 | <span class="refentrytitle"><a href="GVirConnection.html">GVirConnection</a></span><span class="refpurpose"></span> |
62 | 62 | </div> |
63 | 63 | <div class="footer"> |
64 | 64 | <hr> |
65 | Generated by GTK-Doc V1.18.1</div> | |
65 | Generated by GTK-Doc V1.18</div> | |
66 | 66 | </body> |
67 | 67 | </html>⏎ |
5 | 5 | <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> |
6 | 6 | <link rel="home" href="index.html" title="Libvirt-gobject Reference Manual"> |
7 | 7 | <link rel="next" href="ch01.html" title="Libvirt-gobject"> |
8 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
8 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
9 | 9 | <link rel="stylesheet" href="style.css" type="text/css"> |
10 | 10 | </head> |
11 | 11 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
61 | 61 | </div> |
62 | 62 | <div class="footer"> |
63 | 63 | <hr> |
64 | Generated by GTK-Doc V1.18.1</div> | |
64 | Generated by GTK-Doc V1.18</div> | |
65 | 65 | </body> |
66 | 66 | </html>⏎ |
56 | 56 | <ANCHOR id="GVirConnection-domain-removed" href="Libvirt-gobject/GVirConnection.html#GVirConnection-domain-removed"> |
57 | 57 | <ANCHOR id="GVirDomain" href="Libvirt-gobject/GVirDomain.html"> |
58 | 58 | <ANCHOR id="GVirDomain.synopsis" href="Libvirt-gobject/GVirDomain.html#GVirDomain.synopsis"> |
59 | <ANCHOR id="GVirDomainDeleteFlags" href="Libvirt-gobject/GVirDomain.html#GVirDomainDeleteFlags"> | |
60 | 59 | <ANCHOR id="GVirDomainInfo" href="Libvirt-gobject/GVirDomain.html#GVirDomainInfo"> |
61 | <ANCHOR id="GVirDomainStartFlags" href="Libvirt-gobject/GVirDomain.html#GVirDomainStartFlags"> | |
62 | <ANCHOR id="GVirDomainState" href="Libvirt-gobject/GVirDomain.html#GVirDomainState"> | |
63 | 60 | <ANCHOR id="GVirDomain.object-hierarchy" href="Libvirt-gobject/GVirDomain.html#GVirDomain.object-hierarchy"> |
64 | 61 | <ANCHOR id="GVirDomain.properties" href="Libvirt-gobject/GVirDomain.html#GVirDomain.properties"> |
65 | 62 | <ANCHOR id="GVirDomain.signals" href="Libvirt-gobject/GVirDomain.html#GVirDomain.signals"> |
67 | 64 | <ANCHOR id="GVirDomain.details" href="Libvirt-gobject/GVirDomain.html#GVirDomain.details"> |
68 | 65 | <ANCHOR id="GVirDomain-struct" href="Libvirt-gobject/GVirDomain.html#GVirDomain-struct"> |
69 | 66 | <ANCHOR id="GVirDomainClass" href="Libvirt-gobject/GVirDomain.html#GVirDomainClass"> |
70 | <ANCHOR id="GVirDomainDeleteFlags-enum" href="Libvirt-gobject/GVirDomain.html#GVirDomainDeleteFlags-enum"> | |
67 | <ANCHOR id="GVirDomainDeleteFlags" href="Libvirt-gobject/GVirDomain.html#GVirDomainDeleteFlags"> | |
71 | 68 | <ANCHOR id="GVIR-DOMAIN-DELETE-NONE:CAPS" href="Libvirt-gobject/GVirDomain.html#GVIR-DOMAIN-DELETE-NONE:CAPS"> |
72 | 69 | <ANCHOR id="GVIR-DOMAIN-DELETE-SAVED-STATE:CAPS" href="Libvirt-gobject/GVirDomain.html#GVIR-DOMAIN-DELETE-SAVED-STATE:CAPS"> |
73 | 70 | <ANCHOR id="GVIR-DOMAIN-DELETE-SNAPSHOTS-METADATA:CAPS" href="Libvirt-gobject/GVirDomain.html#GVIR-DOMAIN-DELETE-SNAPSHOTS-METADATA:CAPS"> |
74 | 71 | <ANCHOR id="GVirDomainInfo-struct" href="Libvirt-gobject/GVirDomain.html#GVirDomainInfo-struct"> |
75 | <ANCHOR id="GVirDomainStartFlags-enum" href="Libvirt-gobject/GVirDomain.html#GVirDomainStartFlags-enum"> | |
76 | <ANCHOR id="GVirDomainState-enum" href="Libvirt-gobject/GVirDomain.html#GVirDomainState-enum"> | |
72 | <ANCHOR id="GVirDomainStartFlags" href="Libvirt-gobject/GVirDomain.html#GVirDomainStartFlags"> | |
73 | <ANCHOR id="GVirDomainState" href="Libvirt-gobject/GVirDomain.html#GVirDomainState"> | |
77 | 74 | <ANCHOR id="gvir-domain-delete" href="Libvirt-gobject/GVirDomain.html#gvir-domain-delete"> |
78 | 75 | <ANCHOR id="gvir-domain-get-config" href="Libvirt-gobject/GVirDomain.html#gvir-domain-get-config"> |
79 | 76 | <ANCHOR id="gvir-domain-get-devices" href="Libvirt-gobject/GVirDomain.html#gvir-domain-get-devices"> |
7 | 7 | <link rel="up" href="index.html" title="Libvirt-gobject Reference Manual"> |
8 | 8 | <link rel="prev" href="GVirStream.html" title="GVirStream"> |
9 | 9 | <link rel="next" href="api-index-full.html" title="API Index"> |
10 | <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
22 | 22 | <div class="titlepage"><div><div><h2 class="title"> |
23 | 23 | <a name="object-tree"></a>Object Hierarchy</h2></div></div></div> |
24 | 24 | <pre class="screen"> |
25 | GObject | |
25 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
26 | 26 | <a class="link" href="GVirConnection.html" title="GVirConnection">GVirConnection</a> |
27 | 27 | GVirDomainDevice |
28 | 28 | GVirDomainDisk |
37 | 37 | <a class="link" href="GVirSecret.html" title="GVirSecret">GVirSecret</a> |
38 | 38 | <a class="link" href="GVirStoragePool.html" title="GVirStoragePool">GVirStoragePool</a> |
39 | 39 | <a class="link" href="GVirStorageVol.html" title="GVirStorageVol">GVirStorageVol</a> |
40 | GIOStream | |
40 | <a href="http://library.gnome.org/devel/gio/unstable/GIOStream.html">GIOStream</a> | |
41 | 41 | <a class="link" href="GVirStream.html" title="GVirStream">GVirStream</a> |
42 | 42 | GBoxed |
43 | 43 | GVirDomainDiskStats |
46 | 46 | <a class="link" href="GVirConnection.html#GVirNodeInfo">GVirNodeInfo</a> |
47 | 47 | <a class="link" href="GVirStoragePool.html#GVirStoragePoolInfo">GVirStoragePoolInfo</a> |
48 | 48 | <a class="link" href="GVirStorageVol.html#GVirStorageVolInfo">GVirStorageVolInfo</a> |
49 | GEnum | |
50 | <a class="link" href="GVirDomain.html#GVirDomainDeleteFlags">GVirDomainDeleteFlags</a> | |
51 | <a class="link" href="GVirDomain.html#GVirDomainState">GVirDomainState</a> | |
52 | GFlags | |
53 | <a class="link" href="GVirDomain.html#GVirDomainStartFlags">GVirDomainStartFlags</a> | |
54 | 49 | </pre> |
55 | 50 | </div> |
56 | 51 | <div class="footer"> |
57 | 52 | <hr> |
58 | Generated by GTK-Doc V1.18.1</div> | |
53 | Generated by GTK-Doc V1.18</div> | |
59 | 54 | </body> |
60 | 55 | </html>⏎ |
16 | 16 | libvirt-gconfig-domain-chardev.h \ |
17 | 17 | libvirt-gconfig-domain-chardev-source.h \ |
18 | 18 | libvirt-gconfig-domain-chardev-source-pty.h \ |
19 | libvirt-gconfig-domain-chardev-source-spicevmc.h \ | |
19 | 20 | libvirt-gconfig-domain-clock.h \ |
20 | 21 | libvirt-gconfig-domain-console.h \ |
21 | 22 | libvirt-gconfig-domain-device.h \ |
33 | 34 | libvirt-gconfig-domain-memballoon.h \ |
34 | 35 | libvirt-gconfig-domain-os.h \ |
35 | 36 | libvirt-gconfig-domain-parallel.h \ |
37 | libvirt-gconfig-domain-redirdev.h \ | |
36 | 38 | libvirt-gconfig-domain-seclabel.h \ |
37 | 39 | libvirt-gconfig-domain-serial.h \ |
38 | 40 | libvirt-gconfig-domain-snapshot.h \ |
67 | 69 | libvirt-gconfig-domain-chardev.c \ |
68 | 70 | libvirt-gconfig-domain-chardev-source.c \ |
69 | 71 | libvirt-gconfig-domain-chardev-source-pty.c \ |
72 | libvirt-gconfig-domain-chardev-source-spicevmc.c \ | |
70 | 73 | libvirt-gconfig-domain-clock.c \ |
71 | 74 | libvirt-gconfig-domain-console.c \ |
72 | 75 | libvirt-gconfig-domain-device.c \ |
84 | 87 | libvirt-gconfig-domain-memballoon.c \ |
85 | 88 | libvirt-gconfig-domain-os.c \ |
86 | 89 | libvirt-gconfig-domain-parallel.c \ |
90 | libvirt-gconfig-domain-redirdev.c \ | |
87 | 91 | libvirt-gconfig-domain-seclabel.c \ |
88 | 92 | libvirt-gconfig-domain-serial.c \ |
89 | 93 | libvirt-gconfig-domain-snapshot.c \ |
89 | 89 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev.lo \ |
90 | 90 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source.lo \ |
91 | 91 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-pty.lo \ |
92 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-spicevmc.lo \ | |
92 | 93 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-clock.lo \ |
93 | 94 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-console.lo \ |
94 | 95 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-device.lo \ |
106 | 107 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-memballoon.lo \ |
107 | 108 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-os.lo \ |
108 | 109 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-parallel.lo \ |
110 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-redirdev.lo \ | |
109 | 111 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-seclabel.lo \ |
110 | 112 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-serial.lo \ |
111 | 113 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-snapshot.lo \ |
390 | 392 | libvirt-gconfig-domain-chardev.h \ |
391 | 393 | libvirt-gconfig-domain-chardev-source.h \ |
392 | 394 | libvirt-gconfig-domain-chardev-source-pty.h \ |
395 | libvirt-gconfig-domain-chardev-source-spicevmc.h \ | |
393 | 396 | libvirt-gconfig-domain-clock.h \ |
394 | 397 | libvirt-gconfig-domain-console.h \ |
395 | 398 | libvirt-gconfig-domain-device.h \ |
407 | 410 | libvirt-gconfig-domain-memballoon.h \ |
408 | 411 | libvirt-gconfig-domain-os.h \ |
409 | 412 | libvirt-gconfig-domain-parallel.h \ |
413 | libvirt-gconfig-domain-redirdev.h \ | |
410 | 414 | libvirt-gconfig-domain-seclabel.h \ |
411 | 415 | libvirt-gconfig-domain-serial.h \ |
412 | 416 | libvirt-gconfig-domain-snapshot.h \ |
443 | 447 | libvirt-gconfig-domain-chardev.c \ |
444 | 448 | libvirt-gconfig-domain-chardev-source.c \ |
445 | 449 | libvirt-gconfig-domain-chardev-source-pty.c \ |
450 | libvirt-gconfig-domain-chardev-source-spicevmc.c \ | |
446 | 451 | libvirt-gconfig-domain-clock.c \ |
447 | 452 | libvirt-gconfig-domain-console.c \ |
448 | 453 | libvirt-gconfig-domain-device.c \ |
460 | 465 | libvirt-gconfig-domain-memballoon.c \ |
461 | 466 | libvirt-gconfig-domain-os.c \ |
462 | 467 | libvirt-gconfig-domain-parallel.c \ |
468 | libvirt-gconfig-domain-redirdev.c \ | |
463 | 469 | libvirt-gconfig-domain-seclabel.c \ |
464 | 470 | libvirt-gconfig-domain-serial.c \ |
465 | 471 | libvirt-gconfig-domain-snapshot.c \ |
606 | 612 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-capabilities.Plo@am__quote@ |
607 | 613 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-channel.Plo@am__quote@ |
608 | 614 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-pty.Plo@am__quote@ |
615 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-spicevmc.Plo@am__quote@ | |
609 | 616 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source.Plo@am__quote@ |
610 | 617 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev.Plo@am__quote@ |
611 | 618 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-clock.Plo@am__quote@ |
625 | 632 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-memballoon.Plo@am__quote@ |
626 | 633 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-os.Plo@am__quote@ |
627 | 634 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-parallel.Plo@am__quote@ |
635 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-redirdev.Plo@am__quote@ | |
628 | 636 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-seclabel.Plo@am__quote@ |
629 | 637 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-serial.Plo@am__quote@ |
630 | 638 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-snapshot.Plo@am__quote@ |
738 | 746 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
739 | 747 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_gconfig_1_0_la_CFLAGS) $(CFLAGS) -c -o libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-pty.lo `test -f 'libvirt-gconfig-domain-chardev-source-pty.c' || echo '$(srcdir)/'`libvirt-gconfig-domain-chardev-source-pty.c |
740 | 748 | |
749 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-spicevmc.lo: libvirt-gconfig-domain-chardev-source-spicevmc.c | |
750 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_gconfig_1_0_la_CFLAGS) $(CFLAGS) -MT libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-spicevmc.lo -MD -MP -MF $(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-spicevmc.Tpo -c -o libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-spicevmc.lo `test -f 'libvirt-gconfig-domain-chardev-source-spicevmc.c' || echo '$(srcdir)/'`libvirt-gconfig-domain-chardev-source-spicevmc.c | |
751 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-spicevmc.Tpo $(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-spicevmc.Plo | |
752 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | |
753 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libvirt-gconfig-domain-chardev-source-spicevmc.c' object='libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-spicevmc.lo' libtool=yes @AMDEPBACKSLASH@ | |
754 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
755 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_gconfig_1_0_la_CFLAGS) $(CFLAGS) -c -o libvirt_gconfig_1_0_la-libvirt-gconfig-domain-chardev-source-spicevmc.lo `test -f 'libvirt-gconfig-domain-chardev-source-spicevmc.c' || echo '$(srcdir)/'`libvirt-gconfig-domain-chardev-source-spicevmc.c | |
756 | ||
741 | 757 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-clock.lo: libvirt-gconfig-domain-clock.c |
742 | 758 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_gconfig_1_0_la_CFLAGS) $(CFLAGS) -MT libvirt_gconfig_1_0_la-libvirt-gconfig-domain-clock.lo -MD -MP -MF $(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-clock.Tpo -c -o libvirt_gconfig_1_0_la-libvirt-gconfig-domain-clock.lo `test -f 'libvirt-gconfig-domain-clock.c' || echo '$(srcdir)/'`libvirt-gconfig-domain-clock.c |
743 | 759 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-clock.Tpo $(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-clock.Plo |
873 | 889 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libvirt-gconfig-domain-parallel.c' object='libvirt_gconfig_1_0_la-libvirt-gconfig-domain-parallel.lo' libtool=yes @AMDEPBACKSLASH@ |
874 | 890 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
875 | 891 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_gconfig_1_0_la_CFLAGS) $(CFLAGS) -c -o libvirt_gconfig_1_0_la-libvirt-gconfig-domain-parallel.lo `test -f 'libvirt-gconfig-domain-parallel.c' || echo '$(srcdir)/'`libvirt-gconfig-domain-parallel.c |
892 | ||
893 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-redirdev.lo: libvirt-gconfig-domain-redirdev.c | |
894 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_gconfig_1_0_la_CFLAGS) $(CFLAGS) -MT libvirt_gconfig_1_0_la-libvirt-gconfig-domain-redirdev.lo -MD -MP -MF $(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-redirdev.Tpo -c -o libvirt_gconfig_1_0_la-libvirt-gconfig-domain-redirdev.lo `test -f 'libvirt-gconfig-domain-redirdev.c' || echo '$(srcdir)/'`libvirt-gconfig-domain-redirdev.c | |
895 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-redirdev.Tpo $(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-redirdev.Plo | |
896 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | |
897 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libvirt-gconfig-domain-redirdev.c' object='libvirt_gconfig_1_0_la-libvirt-gconfig-domain-redirdev.lo' libtool=yes @AMDEPBACKSLASH@ | |
898 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
899 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_gconfig_1_0_la_CFLAGS) $(CFLAGS) -c -o libvirt_gconfig_1_0_la-libvirt-gconfig-domain-redirdev.lo `test -f 'libvirt-gconfig-domain-redirdev.c' || echo '$(srcdir)/'`libvirt-gconfig-domain-redirdev.c | |
876 | 900 | |
877 | 901 | libvirt_gconfig_1_0_la-libvirt-gconfig-domain-seclabel.lo: libvirt-gconfig-domain-seclabel.c |
878 | 902 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvirt_gconfig_1_0_la_CFLAGS) $(CFLAGS) -MT libvirt_gconfig_1_0_la-libvirt-gconfig-domain-seclabel.lo -MD -MP -MF $(DEPDIR)/libvirt_gconfig_1_0_la-libvirt-gconfig-domain-seclabel.Tpo -c -o libvirt_gconfig_1_0_la-libvirt-gconfig-domain-seclabel.lo `test -f 'libvirt-gconfig-domain-seclabel.c' || echo '$(srcdir)/'`libvirt-gconfig-domain-seclabel.c |
56 | 56 | }; |
57 | 57 | |
58 | 58 | typedef enum { |
59 | GVIR_CONFIG_DOMAIN_CONSOLE_TARGET_GUESTFWD, | |
59 | GVIR_CONFIG_DOMAIN_CHANNEL_TARGET_GUESTFWD, | |
60 | 60 | GVIR_CONFIG_DOMAIN_CHANNEL_TARGET_VIRTIO, |
61 | 61 | } GVirConfigDomainChannelTargetType; |
62 | 62 |
0 | /* | |
1 | * libvirt-gconfig-domain-chardev-source-spicevmc.c: libvirt domain chardev spicevmc configuration | |
2 | * | |
3 | * Copyright (C) 2012 Red Hat, Inc. | |
4 | * | |
5 | * This library is free software; you can redistribute it and/or | |
6 | * modify it under the terms of the GNU Lesser General Public | |
7 | * License as published by the Free Software Foundation; either | |
8 | * version 2.1 of the License, or (at your option) any later version. | |
9 | * | |
10 | * This library is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | * Lesser General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU Lesser General Public | |
16 | * License along with this library; if not, write to the Free Software | |
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | * | |
19 | * Author: Christophe Fergeau <cfergeau@redhat.com> | |
20 | */ | |
21 | ||
22 | #include <config.h> | |
23 | ||
24 | #include "libvirt-gconfig/libvirt-gconfig.h" | |
25 | #include "libvirt-gconfig/libvirt-gconfig-private.h" | |
26 | ||
27 | #define GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC_GET_PRIVATE(obj) \ | |
28 | (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE_SPICE_VMC, GVirConfigDomainChardevSourceSpiceVmcPrivate)) | |
29 | ||
30 | struct _GVirConfigDomainChardevSourceSpiceVmcPrivate | |
31 | { | |
32 | gboolean unused; | |
33 | }; | |
34 | ||
35 | G_DEFINE_TYPE(GVirConfigDomainChardevSourceSpiceVmc, gvir_config_domain_chardev_source_spicevmc, GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE); | |
36 | ||
37 | ||
38 | static void gvir_config_domain_chardev_source_spicevmc_class_init(GVirConfigDomainChardevSourceSpiceVmcClass *klass) | |
39 | { | |
40 | g_type_class_add_private(klass, sizeof(GVirConfigDomainChardevSourceSpiceVmcPrivate)); | |
41 | } | |
42 | ||
43 | ||
44 | static void gvir_config_domain_chardev_source_spicevmc_init(GVirConfigDomainChardevSourceSpiceVmc *source) | |
45 | { | |
46 | g_debug("Init GVirConfigDomainChardevSourceSpiceVmc=%p", source); | |
47 | ||
48 | source->priv = GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC_GET_PRIVATE(source); | |
49 | } | |
50 | ||
51 | ||
52 | GVirConfigDomainChardevSourceSpiceVmc *gvir_config_domain_chardev_source_spicevmc_new(void) | |
53 | { | |
54 | GVirConfigObject *object; | |
55 | ||
56 | /* the name of the root node is just a placeholder, it will be | |
57 | * overwritten when the GVirConfigDomainChardevSourceSpiceVmc is attached to a | |
58 | * GVirConfigDomainChardevSourceSpiceVmc | |
59 | */ | |
60 | object = gvir_config_object_new(GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE_SPICE_VMC, "dummy", NULL); | |
61 | gvir_config_object_set_attribute(object, "type", "spicevmc", NULL); | |
62 | return GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC(object); | |
63 | } | |
64 | ||
65 | ||
66 | GVirConfigDomainChardevSourceSpiceVmc *gvir_config_domain_chardev_source_spicevmc_new_from_xml(const gchar *xml, | |
67 | GError **error) | |
68 | { | |
69 | GVirConfigObject *object; | |
70 | ||
71 | /* the name of the root node is just a placeholder, it will be | |
72 | * overwritten when the GVirConfigDomainChardevSourceSpiceVmc is attached to a | |
73 | * GVirConfigDomainChardevSourceSpiceVmc | |
74 | */ | |
75 | object = gvir_config_object_new_from_xml(GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE_SPICE_VMC, | |
76 | "dummy", NULL, xml, error); | |
77 | gvir_config_object_set_attribute(object, "type", "spicevmc", NULL); | |
78 | return GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC(object); | |
79 | } |
0 | /* | |
1 | * libvirt-gconfig-domain-chardev-source-spicevmc.h: libvirt domain chardev spicevmc configuration | |
2 | * | |
3 | * Copyright (C) 2012 Red Hat, Inc. | |
4 | * | |
5 | * This library is free software; you can redistribute it and/or | |
6 | * modify it under the terms of the GNU Lesser General Public | |
7 | * License as published by the Free Software Foundation; either | |
8 | * version 2.1 of the License, or (at your option) any later version. | |
9 | * | |
10 | * This library is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | * Lesser General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU Lesser General Public | |
16 | * License along with this library; if not, write to the Free Software | |
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | * | |
19 | * Author: Christophe Fergeau <cfergeau@redhat.com> | |
20 | */ | |
21 | ||
22 | #if !defined(__LIBVIRT_GCONFIG_H__) && !defined(LIBVIRT_GCONFIG_BUILD) | |
23 | #error "Only <libvirt-gconfig/libvirt-gconfig.h> can be included directly." | |
24 | #endif | |
25 | ||
26 | #ifndef __LIBVIRT_GCONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC_H__ | |
27 | #define __LIBVIRT_GCONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC_H__ | |
28 | ||
29 | G_BEGIN_DECLS | |
30 | ||
31 | #define GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE_SPICE_VMC (gvir_config_domain_chardev_source_spicevmc_get_type ()) | |
32 | #define GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE_SPICE_VMC, GVirConfigDomainChardevSourceSpiceVmc)) | |
33 | #define GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE_SPICE_VMC, GVirConfigDomainChardevSourceSpiceVmcClass)) | |
34 | #define GVIR_CONFIG_IS_DOMAIN_CHARDEV_SOURCE_SPICE_VMC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE_SPICE_VMC)) | |
35 | #define GVIR_CONFIG_IS_DOMAIN_CHARDEV_SOURCE_SPICE_VMC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE_SPICE_VMC)) | |
36 | #define GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_CONFIG_TYPE_DOMAIN_CHARDEV_SOURCE_SPICE_VMC, GVirConfigDomainChardevSourceSpiceVmcClass)) | |
37 | ||
38 | typedef struct _GVirConfigDomainChardevSourceSpiceVmc GVirConfigDomainChardevSourceSpiceVmc; | |
39 | typedef struct _GVirConfigDomainChardevSourceSpiceVmcPrivate GVirConfigDomainChardevSourceSpiceVmcPrivate; | |
40 | typedef struct _GVirConfigDomainChardevSourceSpiceVmcClass GVirConfigDomainChardevSourceSpiceVmcClass; | |
41 | ||
42 | struct _GVirConfigDomainChardevSourceSpiceVmc | |
43 | { | |
44 | GVirConfigDomainChardevSource parent; | |
45 | ||
46 | GVirConfigDomainChardevSourceSpiceVmcPrivate *priv; | |
47 | ||
48 | /* Do not add fields to this struct */ | |
49 | }; | |
50 | ||
51 | struct _GVirConfigDomainChardevSourceSpiceVmcClass | |
52 | { | |
53 | GVirConfigDomainChardevSourceClass parent_class; | |
54 | ||
55 | gpointer padding[20]; | |
56 | }; | |
57 | ||
58 | ||
59 | GType gvir_config_domain_chardev_source_spicevmc_get_type(void); | |
60 | ||
61 | GVirConfigDomainChardevSourceSpiceVmc *gvir_config_domain_chardev_source_spicevmc_new(void); | |
62 | GVirConfigDomainChardevSourceSpiceVmc *gvir_config_domain_chardev_source_spicevmc_new_from_xml(const gchar *xml, | |
63 | GError **error); | |
64 | G_END_DECLS | |
65 | ||
66 | #endif /* __LIBVIRT_GCONFIG_DOMAIN_CHARDEV_SOURCE_SPICE_VMC_H__ */ |
75 | 75 | GVirConfigObject *object; |
76 | 76 | GVirConfigDomainDisk *disk; |
77 | 77 | GVirConfigDomainDiskType type; |
78 | xmlChar *type_str; | |
78 | const char *type_str; | |
79 | 79 | |
80 | 80 | type_str = gvir_config_xml_get_attribute_content(tree, "type"); |
81 | 81 | if (type_str == NULL) |
82 | 82 | return NULL; |
83 | 83 | |
84 | 84 | type = gvir_config_genum_get_value(GVIR_CONFIG_TYPE_DOMAIN_DISK_TYPE, |
85 | (char *)type_str, | |
85 | type_str, | |
86 | 86 | GVIR_CONFIG_DOMAIN_DISK_FILE); |
87 | xmlFree(type_str); | |
88 | 87 | if (type == -1) |
89 | 88 | return NULL; |
90 | 89 | |
235 | 234 | GVIR_CONFIG_DOMAIN_DISK_SNAPSHOT_NO); |
236 | 235 | } |
237 | 236 | |
238 | char * | |
237 | const char * | |
239 | 238 | gvir_config_domain_disk_get_source(GVirConfigDomainDisk *disk) |
240 | 239 | { |
241 | 240 | const char *attribute_name; |
262 | 261 | "source", attribute_name); |
263 | 262 | } |
264 | 263 | |
265 | char * | |
264 | const char * | |
266 | 265 | gvir_config_domain_disk_get_driver_name(GVirConfigDomainDisk *disk) |
267 | 266 | { |
268 | 267 | g_return_val_if_fail(GVIR_CONFIG_IS_DOMAIN_DISK(disk), NULL); |
271 | 270 | "driver", "name"); |
272 | 271 | } |
273 | 272 | |
274 | char * | |
273 | const char * | |
275 | 274 | gvir_config_domain_disk_get_driver_type(GVirConfigDomainDisk *disk) |
276 | 275 | { |
277 | 276 | g_return_val_if_fail(GVIR_CONFIG_IS_DOMAIN_DISK(disk), NULL); |
306 | 305 | GVIR_CONFIG_DOMAIN_DISK_BUS_IDE); |
307 | 306 | } |
308 | 307 | |
309 | char * | |
308 | const char * | |
310 | 309 | gvir_config_domain_disk_get_target_dev(GVirConfigDomainDisk *disk) |
311 | 310 | { |
312 | 311 | g_return_val_if_fail(GVIR_CONFIG_IS_DOMAIN_DISK(disk), NULL); |
122 | 122 | GVirConfigDomainDiskType gvir_config_domain_disk_get_disk_type(GVirConfigDomainDisk *disk); |
123 | 123 | GVirConfigDomainDiskGuestDeviceType gvir_config_domain_disk_get_guest_device_type(GVirConfigDomainDisk *disk); |
124 | 124 | GVirConfigDomainDiskSnapshotType gvir_config_domain_disk_get_snapshot_type(GVirConfigDomainDisk *disk); |
125 | char *gvir_config_domain_disk_get_source(GVirConfigDomainDisk *disk); | |
125 | const char *gvir_config_domain_disk_get_source(GVirConfigDomainDisk *disk); | |
126 | 126 | GVirConfigDomainDiskCacheType gvir_config_domain_disk_get_driver_cache(GVirConfigDomainDisk *disk); |
127 | char *gvir_config_domain_disk_get_driver_name(GVirConfigDomainDisk *disk); | |
128 | char *gvir_config_domain_disk_get_driver_type(GVirConfigDomainDisk *disk); | |
127 | const char *gvir_config_domain_disk_get_driver_name(GVirConfigDomainDisk *disk); | |
128 | const char *gvir_config_domain_disk_get_driver_type(GVirConfigDomainDisk *disk); | |
129 | 129 | GVirConfigDomainDiskBus gvir_config_domain_disk_get_target_bus(GVirConfigDomainDisk *disk); |
130 | char *gvir_config_domain_disk_get_target_dev(GVirConfigDomainDisk *disk); | |
130 | const char *gvir_config_domain_disk_get_target_dev(GVirConfigDomainDisk *disk); | |
131 | 131 | void gvir_config_domain_disk_set_readonly(GVirConfigDomainDisk *disk, |
132 | 132 | gboolean readonly); |
133 | 133 |
65 | 65 | typedef enum { |
66 | 66 | GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_PASSTHROUGH, |
67 | 67 | GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_MAPPED, |
68 | GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_SQUASHED, | |
68 | GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_SQUASH, | |
69 | 69 | } GVirConfigDomainFilesysAccessType; |
70 | 70 | |
71 | 71 | typedef enum { |
52 | 52 | gvir_config_domain_graphics_new_from_tree(GVirConfigXmlDoc *doc, |
53 | 53 | xmlNodePtr tree) |
54 | 54 | { |
55 | xmlChar *type; | |
55 | const char *type; | |
56 | 56 | GType gtype; |
57 | 57 | |
58 | 58 | type = gvir_config_xml_get_attribute_content(tree, "type"); |
59 | 59 | if (type == NULL) |
60 | 60 | return NULL; |
61 | 61 | |
62 | if (xmlStrEqual(type, (xmlChar*)"sdl")) { | |
62 | if (g_str_equal(type, "sdl")) { | |
63 | 63 | gtype = GVIR_CONFIG_TYPE_DOMAIN_GRAPHICS_SDL; |
64 | } else if (xmlStrEqual(type, (xmlChar*)"vnc")) { | |
64 | } else if (g_str_equal(type, "vnc")) { | |
65 | 65 | gtype = GVIR_CONFIG_TYPE_DOMAIN_GRAPHICS_VNC; |
66 | } else if (xmlStrEqual(type, (xmlChar*)"spice")) { | |
66 | } else if (g_str_equal(type, "spice")) { | |
67 | 67 | gtype = GVIR_CONFIG_TYPE_DOMAIN_GRAPHICS_SPICE; |
68 | } else if (xmlStrEqual(type, (xmlChar*)"rdp")) { | |
68 | } else if (g_str_equal(type, "rdp")) { | |
69 | 69 | goto unimplemented; |
70 | } else if (xmlStrEqual(type, (xmlChar*)"desktop")) { | |
70 | } else if (g_str_equal(type, "desktop")) { | |
71 | 71 | goto unimplemented; |
72 | 72 | } else { |
73 | 73 | g_debug("Unknown graphics node: %s", type); |
74 | 74 | return NULL; |
75 | 75 | } |
76 | xmlFree(type); | |
77 | 76 | |
78 | 77 | return GVIR_CONFIG_DOMAIN_DEVICE(gvir_config_object_new_from_tree(gtype, doc, NULL, tree)); |
79 | 78 |
95 | 95 | "model", "type", model); |
96 | 96 | } |
97 | 97 | |
98 | char *gvir_config_domain_interface_get_ifname(GVirConfigDomainInterface *interface) | |
98 | const char *gvir_config_domain_interface_get_ifname(GVirConfigDomainInterface *interface) | |
99 | 99 | { |
100 | 100 | g_return_val_if_fail(GVIR_CONFIG_IS_DOMAIN_INTERFACE(interface), NULL); |
101 | 101 | |
114 | 114 | GVIR_CONFIG_DOMAIN_INTERFACE_LINK_STATE_DEFAULT); |
115 | 115 | } |
116 | 116 | |
117 | char *gvir_config_domain_interface_get_mac(GVirConfigDomainInterface *interface) | |
117 | const char *gvir_config_domain_interface_get_mac(GVirConfigDomainInterface *interface) | |
118 | 118 | { |
119 | 119 | g_return_val_if_fail(GVIR_CONFIG_IS_DOMAIN_INTERFACE(interface), NULL); |
120 | 120 | |
122 | 122 | "mac", "address"); |
123 | 123 | } |
124 | 124 | |
125 | char *gvir_config_domain_interface_get_model(GVirConfigDomainInterface *interface) | |
125 | const char *gvir_config_domain_interface_get_model(GVirConfigDomainInterface *interface) | |
126 | 126 | { |
127 | 127 | g_return_val_if_fail(GVIR_CONFIG_IS_DOMAIN_INTERFACE(interface), NULL); |
128 | 128 | |
134 | 134 | gvir_config_domain_interface_new_from_tree(GVirConfigXmlDoc *doc, |
135 | 135 | xmlNodePtr tree) |
136 | 136 | { |
137 | xmlChar *type; | |
137 | const char *type; | |
138 | 138 | GType gtype; |
139 | 139 | |
140 | 140 | type = gvir_config_xml_get_attribute_content(tree, "type"); |
141 | 141 | if (type == NULL) |
142 | 142 | return NULL; |
143 | 143 | |
144 | if (xmlStrEqual(type, (xmlChar*)"network")) { | |
144 | if (g_str_equal(type, "network")) { | |
145 | 145 | gtype = GVIR_CONFIG_TYPE_DOMAIN_INTERFACE_NETWORK; |
146 | } else if (xmlStrEqual(type, (xmlChar*)"user")) { | |
146 | } else if (g_str_equal(type, "user")) { | |
147 | 147 | gtype = GVIR_CONFIG_TYPE_DOMAIN_INTERFACE_USER; |
148 | } else if (xmlStrEqual(type, (xmlChar*)"bridge")) { | |
148 | } else if (g_str_equal(type, "bridge")) { | |
149 | 149 | goto unimplemented; |
150 | } else if (xmlStrEqual(type, (xmlChar*)"direct")) { | |
150 | } else if (g_str_equal(type, "direct")) { | |
151 | 151 | goto unimplemented; |
152 | } else if (xmlStrEqual(type, (xmlChar*)"server")) { | |
152 | } else if (g_str_equal(type, "server")) { | |
153 | 153 | goto unimplemented; |
154 | } else if (xmlStrEqual(type, (xmlChar*)"mcast")) { | |
154 | } else if (g_str_equal(type, "mcast")) { | |
155 | 155 | goto unimplemented; |
156 | } else if (xmlStrEqual(type, (xmlChar*)"ethernet")) { | |
156 | } else if (g_str_equal(type, "ethernet")) { | |
157 | 157 | goto unimplemented; |
158 | 158 | } else { |
159 | 159 | g_debug("Unknown domain interface node: %s", type); |
160 | 160 | return NULL; |
161 | 161 | } |
162 | xmlFree(type); | |
163 | 162 | |
164 | 163 | return GVIR_CONFIG_DOMAIN_DEVICE(gvir_config_object_new_from_tree(gtype, doc, NULL, tree)); |
165 | 164 |
71 | 71 | const char *mac_address); |
72 | 72 | void gvir_config_domain_interface_set_model(GVirConfigDomainInterface *interface, |
73 | 73 | const char *model); |
74 | char *gvir_config_domain_interface_get_ifname(GVirConfigDomainInterface *interface); | |
74 | const char *gvir_config_domain_interface_get_ifname(GVirConfigDomainInterface *interface); | |
75 | 75 | GVirConfigDomainInterfaceLinkState gvir_config_domain_interface_get_link_state(GVirConfigDomainInterface *interface); |
76 | char *gvir_config_domain_interface_get_mac(GVirConfigDomainInterface *interface); | |
77 | char *gvir_config_domain_interface_get_model(GVirConfigDomainInterface *interface); | |
76 | const char *gvir_config_domain_interface_get_mac(GVirConfigDomainInterface *interface); | |
77 | const char *gvir_config_domain_interface_get_model(GVirConfigDomainInterface *interface); | |
78 | 78 | |
79 | 79 | G_END_DECLS |
80 | 80 |
0 | /* | |
1 | * libvirt-gconfig-domain-redirdev.c: libvirt domain redirdev configuration | |
2 | * | |
3 | * Copyright (C) 2012 Red Hat, Inc. | |
4 | * | |
5 | * This library is free software; you can redistribute it and/or | |
6 | * modify it under the terms of the GNU Lesser General Public | |
7 | * License as published by the Free Software Foundation; either | |
8 | * version 2.1 of the License, or (at your option) any later version. | |
9 | * | |
10 | * This library is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | * Lesser General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU Lesser General Public | |
16 | * License along with this library; if not, write to the Free Software | |
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | * | |
19 | * Author: Christophe Fergeau <cfergeau@redhat.com> | |
20 | */ | |
21 | ||
22 | #include <config.h> | |
23 | ||
24 | #include "libvirt-gconfig/libvirt-gconfig.h" | |
25 | #include "libvirt-gconfig/libvirt-gconfig-private.h" | |
26 | ||
27 | #define GVIR_CONFIG_DOMAIN_REDIRDEV_GET_PRIVATE(obj) \ | |
28 | (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV, GVirConfigDomainRedirdevPrivate)) | |
29 | ||
30 | struct _GVirConfigDomainRedirdevPrivate | |
31 | { | |
32 | gboolean unused; | |
33 | }; | |
34 | ||
35 | G_DEFINE_TYPE(GVirConfigDomainRedirdev, gvir_config_domain_redirdev, GVIR_CONFIG_TYPE_DOMAIN_CHARDEV); | |
36 | ||
37 | ||
38 | static void gvir_config_domain_redirdev_class_init(GVirConfigDomainRedirdevClass *klass) | |
39 | { | |
40 | g_type_class_add_private(klass, sizeof(GVirConfigDomainRedirdevPrivate)); | |
41 | } | |
42 | ||
43 | ||
44 | static void gvir_config_domain_redirdev_init(GVirConfigDomainRedirdev *redirdev) | |
45 | { | |
46 | g_debug("Init GVirConfigDomainRedirdev=%p", redirdev); | |
47 | ||
48 | redirdev->priv = GVIR_CONFIG_DOMAIN_REDIRDEV_GET_PRIVATE(redirdev); | |
49 | } | |
50 | ||
51 | ||
52 | GVirConfigDomainRedirdev *gvir_config_domain_redirdev_new(void) | |
53 | { | |
54 | GVirConfigObject *object; | |
55 | ||
56 | object = gvir_config_object_new(GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV, | |
57 | "redirdev", NULL); | |
58 | return GVIR_CONFIG_DOMAIN_REDIRDEV(object); | |
59 | } | |
60 | ||
61 | GVirConfigDomainRedirdev *gvir_config_domain_redirdev_new_from_xml(const gchar *xml, | |
62 | GError **error) | |
63 | { | |
64 | GVirConfigObject *object; | |
65 | ||
66 | object = gvir_config_object_new_from_xml(GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV, | |
67 | "redirdev", NULL, xml, error); | |
68 | return GVIR_CONFIG_DOMAIN_REDIRDEV(object); | |
69 | } | |
70 | ||
71 | void gvir_config_domain_redirdev_set_bus(GVirConfigDomainRedirdev *redirdev, | |
72 | GVirConfigDomainRedirdevBus bus) | |
73 | { | |
74 | g_return_if_fail(GVIR_CONFIG_IS_DOMAIN_REDIRDEV(redirdev)); | |
75 | ||
76 | gvir_config_object_set_attribute_with_type(GVIR_CONFIG_OBJECT(redirdev), | |
77 | "bus", | |
78 | GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV_BUS, | |
79 | bus, | |
80 | NULL); | |
81 | } |
0 | /* | |
1 | * libvirt-gconfig-domain-redirdev.h: libvirt domain redirdev configuration | |
2 | * | |
3 | * Copyright (C) 2012 Red Hat, Inc. | |
4 | * | |
5 | * This library is free software; you can redistribute it and/or | |
6 | * modify it under the terms of the GNU Lesser General Public | |
7 | * License as published by the Free Software Foundation; either | |
8 | * version 2.1 of the License, or (at your option) any later version. | |
9 | * | |
10 | * This library is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | * Lesser General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU Lesser General Public | |
16 | * License along with this library; if not, write to the Free Software | |
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | * | |
19 | * Author: Christophe Fergeau <cfergeau@redhat.com> | |
20 | */ | |
21 | ||
22 | #if !defined(__LIBVIRT_GCONFIG_H__) && !defined(LIBVIRT_GCONFIG_BUILD) | |
23 | #error "Only <libvirt-gconfig/libvirt-gconfig.h> can be included directly." | |
24 | #endif | |
25 | ||
26 | #ifndef __LIBVIRT_GCONFIG_DOMAIN_REDIRDEV_H__ | |
27 | #define __LIBVIRT_GCONFIG_DOMAIN_REDIRDEV_H__ | |
28 | ||
29 | G_BEGIN_DECLS | |
30 | ||
31 | #define GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV (gvir_config_domain_redirdev_get_type ()) | |
32 | #define GVIR_CONFIG_DOMAIN_REDIRDEV(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV, GVirConfigDomainRedirdev)) | |
33 | #define GVIR_CONFIG_DOMAIN_REDIRDEV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV, GVirConfigDomainRedirdevClass)) | |
34 | #define GVIR_CONFIG_IS_DOMAIN_REDIRDEV(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV)) | |
35 | #define GVIR_CONFIG_IS_DOMAIN_REDIRDEV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV)) | |
36 | #define GVIR_CONFIG_DOMAIN_REDIRDEV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV, GVirConfigDomainRedirdevClass)) | |
37 | ||
38 | typedef struct _GVirConfigDomainRedirdev GVirConfigDomainRedirdev; | |
39 | typedef struct _GVirConfigDomainRedirdevPrivate GVirConfigDomainRedirdevPrivate; | |
40 | typedef struct _GVirConfigDomainRedirdevClass GVirConfigDomainRedirdevClass; | |
41 | ||
42 | struct _GVirConfigDomainRedirdev | |
43 | { | |
44 | GVirConfigDomainChardev parent; | |
45 | ||
46 | GVirConfigDomainRedirdevPrivate *priv; | |
47 | ||
48 | /* Do not add fields to this struct */ | |
49 | }; | |
50 | ||
51 | struct _GVirConfigDomainRedirdevClass | |
52 | { | |
53 | GVirConfigDomainChardevClass parent_class; | |
54 | ||
55 | gpointer padding[20]; | |
56 | }; | |
57 | ||
58 | typedef enum { | |
59 | GVIR_CONFIG_DOMAIN_REDIRDEV_BUS_USB | |
60 | } GVirConfigDomainRedirdevBus; | |
61 | ||
62 | GType gvir_config_domain_redirdev_get_type(void); | |
63 | ||
64 | GVirConfigDomainRedirdev *gvir_config_domain_redirdev_new(void); | |
65 | GVirConfigDomainRedirdev *gvir_config_domain_redirdev_new_from_xml(const gchar *xml, | |
66 | GError **error); | |
67 | void gvir_config_domain_redirdev_set_bus(GVirConfigDomainRedirdev *redirdev, | |
68 | GVirConfigDomainRedirdevBus bus); | |
69 | ||
70 | G_END_DECLS | |
71 | ||
72 | #endif /* __LIBVIRT_GCONFIG_DOMAIN_REDIRDEV_H__ */ |
53 | 53 | |
54 | 54 | switch (prop_id) { |
55 | 55 | case PROP_NAME: |
56 | g_value_take_string(value, gvir_config_domain_get_name(domain)); | |
56 | g_value_set_string(value, gvir_config_domain_get_name(domain)); | |
57 | 57 | break; |
58 | 58 | case PROP_DESCRIPTION: |
59 | g_value_take_string(value, gvir_config_domain_get_description(domain)); | |
59 | g_value_set_string(value, gvir_config_domain_get_description(domain)); | |
60 | 60 | break; |
61 | 61 | case PROP_MEMORY: |
62 | 62 | g_value_set_uint64(value, gvir_config_domain_get_memory(domain)); |
197 | 197 | } |
198 | 198 | |
199 | 199 | |
200 | char *gvir_config_domain_get_name(GVirConfigDomain *domain) | |
200 | const char *gvir_config_domain_get_name(GVirConfigDomain *domain) | |
201 | 201 | { |
202 | 202 | return gvir_config_object_get_node_content(GVIR_CONFIG_OBJECT(domain), |
203 | 203 | "name"); |
210 | 210 | g_object_notify(G_OBJECT(domain), "name"); |
211 | 211 | } |
212 | 212 | |
213 | char *gvir_config_domain_get_description(GVirConfigDomain *domain) | |
213 | const char *gvir_config_domain_get_description(GVirConfigDomain *domain) | |
214 | 214 | { |
215 | 215 | return gvir_config_object_get_node_content(GVIR_CONFIG_OBJECT(domain), |
216 | 216 | "description"); |
99 | 99 | GVirConfigDomain *gvir_config_domain_new(void); |
100 | 100 | |
101 | 101 | void gvir_config_domain_set_virt_type(GVirConfigDomain *domain, GVirConfigDomainVirtType type); |
102 | char *gvir_config_domain_get_name(GVirConfigDomain *domain); | |
102 | const char *gvir_config_domain_get_name(GVirConfigDomain *domain); | |
103 | 103 | void gvir_config_domain_set_name(GVirConfigDomain *domain, const char *name); |
104 | char *gvir_config_domain_get_description(GVirConfigDomain *domain); | |
104 | const char *gvir_config_domain_get_description(GVirConfigDomain *domain); | |
105 | 105 | void gvir_config_domain_set_description(GVirConfigDomain *domain, const char *description); |
106 | 106 | guint64 gvir_config_domain_get_memory(GVirConfigDomain *domain); |
107 | 107 | void gvir_config_domain_set_memory(GVirConfigDomain *domain, guint64 memory); |
49 | 49 | GVirConfigXmlNodeIterator iter_func, |
50 | 50 | gpointer opaque); |
51 | 51 | xmlNode * gvir_config_xml_get_element (xmlNode *node, ...); |
52 | xmlChar * gvir_config_xml_get_child_element_content (xmlNode *node, | |
53 | const char *child_name); | |
54 | char *gvir_config_xml_get_child_element_content_glib (xmlNode *node, | |
55 | const char *child_name); | |
56 | xmlChar *gvir_config_xml_get_attribute_content(xmlNodePtr node, | |
57 | const char *attr_name); | |
52 | const char * gvir_config_xml_get_child_element_content (xmlNode *node, | |
53 | const char *child_name); | |
54 | const char *gvir_config_xml_get_attribute_content(xmlNodePtr node, | |
55 | const char *attr_name); | |
58 | 56 | char *gvir_config_xml_node_to_string(xmlNodePtr node); |
59 | char *gvir_config_xml_get_attribute_content_glib(xmlNodePtr node, | |
60 | const char *attr_name); | |
61 | 57 | const char *gvir_config_genum_get_nick (GType enum_type, gint value); |
62 | 58 | int gvir_config_genum_get_value (GType enum_type, const char *nick, gint default_value); |
63 | 59 | G_END_DECLS |
185 | 185 | } |
186 | 186 | |
187 | 187 | /* |
188 | * gvir_config_xml_get_element, gvir_config_xml_get_child_element_content | |
189 | * and gvir_config_xml_get_child_element_content_glib are: | |
188 | * gvir_config_xml_get_element is | |
190 | 189 | * |
191 | 190 | * Copyright (C) 2006, 2007 OpenedHand Ltd. |
192 | 191 | * |
219 | 218 | return node; |
220 | 219 | } |
221 | 220 | |
222 | xmlChar * | |
223 | gvir_config_xml_get_child_element_content (xmlNode *node, | |
221 | G_GNUC_INTERNAL const char * | |
222 | gvir_config_xml_get_child_element_content (xmlNode *node, | |
224 | 223 | const char *child_name) |
225 | 224 | { |
226 | xmlNode *child_node; | |
227 | ||
228 | child_node = gvir_config_xml_get_element (node, child_name, NULL); | |
229 | if (!child_node) | |
230 | return NULL; | |
231 | ||
232 | return xmlNodeGetContent (child_node); | |
233 | } | |
234 | ||
235 | static char *libxml_str_to_glib(xmlChar *str) | |
236 | { | |
237 | char *g_str; | |
238 | ||
239 | if (str == NULL) | |
240 | return NULL; | |
241 | g_str = g_strdup((char *)str); | |
242 | xmlFree(str); | |
243 | ||
244 | return g_str; | |
245 | } | |
246 | ||
247 | char * | |
248 | gvir_config_xml_get_child_element_content_glib (xmlNode *node, | |
249 | const char *child_name) | |
250 | { | |
251 | xmlChar *content; | |
252 | ||
253 | content = gvir_config_xml_get_child_element_content (node, child_name); | |
254 | ||
255 | return libxml_str_to_glib(content); | |
256 | } | |
257 | ||
258 | G_GNUC_INTERNAL xmlChar * | |
225 | xmlNode *child_node; | |
226 | ||
227 | child_node = gvir_config_xml_get_element(node, child_name, NULL); | |
228 | if (!child_node || !(child_node->children)) | |
229 | return NULL; | |
230 | ||
231 | return (const char *)child_node->children->content; | |
232 | } | |
233 | ||
234 | G_GNUC_INTERNAL const char * | |
259 | 235 | gvir_config_xml_get_attribute_content(xmlNodePtr node, const char *attr_name) |
260 | 236 | { |
261 | return xmlGetProp(node, (const xmlChar*)attr_name); | |
262 | } | |
263 | ||
264 | G_GNUC_INTERNAL char * | |
265 | gvir_config_xml_get_attribute_content_glib(xmlNodePtr node, const char *attr_name) | |
266 | { | |
267 | xmlChar *attr; | |
268 | ||
269 | attr = gvir_config_xml_get_attribute_content(node, attr_name); | |
270 | ||
271 | return libxml_str_to_glib(attr); | |
237 | xmlAttr *attr; | |
238 | ||
239 | for (attr = node->properties; attr; attr = attr->next) | |
240 | if (g_strcmp0 (attr_name, (char *)attr->name) == 0) | |
241 | return (const char *)attr->children->content; | |
242 | ||
243 | return NULL; | |
272 | 244 | } |
273 | 245 | |
274 | 246 | const char *gvir_config_genum_get_nick (GType enum_type, gint value) |
30 | 30 | const char *schema, |
31 | 31 | xmlNodePtr tree); |
32 | 32 | xmlNodePtr gvir_config_object_get_xml_node(GVirConfigObject *config); |
33 | char *gvir_config_object_get_node_content(GVirConfigObject *object, | |
34 | const char *node_name); | |
33 | const char *gvir_config_object_get_node_content(GVirConfigObject *object, | |
34 | const char *node_name); | |
35 | 35 | guint64 gvir_config_object_get_node_content_uint64(GVirConfigObject *object, |
36 | 36 | const char *node_name); |
37 | 37 | gint gvir_config_object_get_node_content_genum(GVirConfigObject *object, |
38 | 38 | const char *node_name, |
39 | 39 | GType enum_type, |
40 | 40 | gint default_value); |
41 | char *gvir_config_object_get_attribute(GVirConfigObject *object, | |
42 | const char *node_name, | |
43 | const char *attr_name); | |
41 | const char *gvir_config_object_get_attribute(GVirConfigObject *object, | |
42 | const char *node_name, | |
43 | const char *attr_name); | |
44 | 44 | gint gvir_config_object_get_attribute_genum(GVirConfigObject *object, |
45 | 45 | const char *node_name, |
46 | 46 | const char *attr_name, |
273 | 273 | return config->priv->node; |
274 | 274 | } |
275 | 275 | |
276 | G_GNUC_INTERNAL char * | |
276 | G_GNUC_INTERNAL const char * | |
277 | 277 | gvir_config_object_get_node_content(GVirConfigObject *object, |
278 | 278 | const char *node_name) |
279 | 279 | { |
283 | 283 | if (node == NULL) |
284 | 284 | return NULL; |
285 | 285 | |
286 | return gvir_config_xml_get_child_element_content_glib(node, node_name); | |
287 | } | |
288 | ||
289 | G_GNUC_INTERNAL char * | |
286 | return gvir_config_xml_get_child_element_content(node, node_name); | |
287 | } | |
288 | ||
289 | G_GNUC_INTERNAL const char * | |
290 | 290 | gvir_config_object_get_attribute(GVirConfigObject *object, |
291 | 291 | const char *node_name, |
292 | 292 | const char *attr_name) |
305 | 305 | return NULL; |
306 | 306 | } |
307 | 307 | |
308 | return gvir_config_xml_get_attribute_content_glib(node, attr_name); | |
308 | return gvir_config_xml_get_attribute_content(node, attr_name); | |
309 | 309 | } |
310 | 310 | |
311 | 311 | static xmlNodePtr |
558 | 558 | const char *node_name) |
559 | 559 | { |
560 | 560 | xmlNodePtr node; |
561 | xmlChar *str; | |
561 | const char *str; | |
562 | 562 | guint64 value; |
563 | 563 | |
564 | 564 | node = gvir_config_object_get_xml_node(GVIR_CONFIG_OBJECT(object)); |
569 | 569 | if (!str) |
570 | 570 | return 0; |
571 | 571 | |
572 | value = g_ascii_strtoull((char *)str, NULL, 0); | |
573 | xmlFree(str); | |
572 | value = g_ascii_strtoull(str, NULL, 0); | |
574 | 573 | |
575 | 574 | return value; |
576 | 575 | } |
582 | 581 | gint default_value) |
583 | 582 | { |
584 | 583 | xmlNodePtr node; |
585 | xmlChar *str; | |
584 | const char *str; | |
586 | 585 | gint value; |
587 | 586 | |
588 | 587 | node = gvir_config_object_get_xml_node(GVIR_CONFIG_OBJECT(object)); |
593 | 592 | if (!str) |
594 | 593 | return default_value; |
595 | 594 | |
596 | value = gvir_config_genum_get_value(enum_type, (char *)str, default_value); | |
597 | xmlFree(str); | |
595 | value = gvir_config_genum_get_value(enum_type, str, default_value); | |
598 | 596 | |
599 | 597 | return value; |
600 | 598 | } |
607 | 605 | gint default_value) |
608 | 606 | { |
609 | 607 | xmlNodePtr node; |
610 | xmlChar *attr_val; | |
608 | const char *attr_val; | |
611 | 609 | gint value; |
612 | 610 | |
613 | 611 | g_return_val_if_fail(attr_name != NULL, default_value); |
626 | 624 | if (attr_val == NULL) |
627 | 625 | return default_value; |
628 | 626 | |
629 | value = gvir_config_genum_get_value(enum_type, (char *)attr_val, | |
627 | value = gvir_config_genum_get_value(enum_type, attr_val, | |
630 | 628 | default_value); |
631 | xmlFree(attr_val); | |
632 | 629 | |
633 | 630 | return value; |
634 | 631 | } |
713 | 710 | while (TRUE) { |
714 | 711 | const char *name; |
715 | 712 | const char *value; |
716 | xmlChar *encoded_value; | |
717 | 713 | |
718 | 714 | name = va_arg(args, const char *); |
719 | 715 | if (name == NULL) { |
725 | 721 | g_warn_if_reached(); |
726 | 722 | break; |
727 | 723 | } |
728 | encoded_value = xmlEncodeEntitiesReentrant(doc, (xmlChar*)value); | |
729 | xmlNewProp(object->priv->node, (xmlChar *)name, encoded_value); | |
730 | xmlFree(encoded_value); | |
724 | xmlNewProp(object->priv->node, (xmlChar *)name, (xmlChar *)value); | |
731 | 725 | } |
732 | 726 | va_end(args); |
733 | 727 | } |
782 | 776 | str = g_strdup_printf("%d", val); |
783 | 777 | break; |
784 | 778 | } |
785 | case G_TYPE_STRING: { | |
786 | xmlDocPtr doc; | |
787 | xmlChar *enc_str; | |
788 | ||
779 | case G_TYPE_STRING: | |
789 | 780 | str = va_arg(args, char *); |
790 | g_object_get(G_OBJECT(object->priv->doc), "doc", &doc, NULL); | |
791 | enc_str = xmlEncodeEntitiesReentrant(doc, (xmlChar*)str); | |
792 | str = g_strdup((char *)enc_str); | |
793 | xmlFree(enc_str); | |
781 | xmlNewProp(object->priv->node, (xmlChar *)name, (xmlChar *)str); | |
782 | str = NULL; | |
794 | 783 | break; |
795 | } | |
796 | 784 | case G_TYPE_BOOLEAN: { |
797 | 785 | gboolean val; |
798 | 786 | val = va_arg(args, gboolean); |
32 | 32 | #include <libvirt-gconfig/libvirt-gconfig-domain-chardev.h> |
33 | 33 | #include <libvirt-gconfig/libvirt-gconfig-domain-chardev-source.h> |
34 | 34 | #include <libvirt-gconfig/libvirt-gconfig-domain-chardev-source-pty.h> |
35 | #include <libvirt-gconfig/libvirt-gconfig-domain-chardev-source-spicevmc.h> | |
35 | 36 | #include <libvirt-gconfig/libvirt-gconfig-domain-channel.h> |
36 | 37 | #include <libvirt-gconfig/libvirt-gconfig-domain-clock.h> |
37 | 38 | #include <libvirt-gconfig/libvirt-gconfig-domain-console.h> |
50 | 51 | #include <libvirt-gconfig/libvirt-gconfig-domain-memballoon.h> |
51 | 52 | #include <libvirt-gconfig/libvirt-gconfig-domain-os.h> |
52 | 53 | #include <libvirt-gconfig/libvirt-gconfig-domain-parallel.h> |
54 | #include <libvirt-gconfig/libvirt-gconfig-domain-redirdev.h> | |
53 | 55 | #include <libvirt-gconfig/libvirt-gconfig-domain-seclabel.h> |
54 | 56 | #include <libvirt-gconfig/libvirt-gconfig-domain-serial.h> |
55 | 57 | #include <libvirt-gconfig/libvirt-gconfig-domain-snapshot.h> |
49 | 49 | gvir_config_domain_chardev_source_pty_new; |
50 | 50 | gvir_config_domain_chardev_source_pty_new_from_xml; |
51 | 51 | gvir_config_domain_source_pty_set_path; |
52 | ||
53 | gvir_config_domain_chardev_source_spicevmc_get_type; | |
54 | gvir_config_domain_chardev_source_spicevmc_new; | |
55 | gvir_config_domain_chardev_source_spicevmc_new_from_xml; | |
52 | 56 | |
53 | 57 | gvir_config_domain_clock_get_type; |
54 | 58 | gvir_config_domain_clock_offset_get_type; |
192 | 196 | gvir_config_domain_parallel_new; |
193 | 197 | gvir_config_domain_parallel_new_from_xml; |
194 | 198 | |
199 | gvir_config_domain_redirdev_get_type; | |
200 | gvir_config_domain_redirdev_bus_get_type; | |
201 | gvir_config_domain_redirdev_new; | |
202 | gvir_config_domain_redirdev_new_from_xml; | |
203 | gvir_config_domain_redirdev_set_bus; | |
204 | ||
195 | 205 | gvir_config_domain_seclabel_get_type; |
196 | 206 | gvir_config_domain_seclabel_type_get_type; |
197 | 207 | gvir_config_domain_seclabel_new; |
31 | 31 | |
32 | 32 | const char *features[] = { "foo", "bar", "baz", NULL }; |
33 | 33 | |
34 | #define g_str_const_check(str1, str2) G_STMT_START { \ | |
35 | g_assert((str1) != NULL); \ | |
36 | g_assert(g_strcmp0((str1), (str2)) == 0); \ | |
37 | } G_STMT_END | |
38 | ||
34 | 39 | #define g_str_check(str1, str2) G_STMT_START { \ |
35 | 40 | char *alloced_str = (str1); \ |
36 | g_assert(alloced_str != NULL); \ | |
37 | g_assert(g_strcmp0(alloced_str, (str2)) == 0); \ | |
41 | g_str_const_check(alloced_str, (str2)); \ | |
38 | 42 | g_free(alloced_str); \ |
39 | 43 | } G_STMT_END |
40 | 44 | |
50 | 54 | domain = gvir_config_domain_new(); |
51 | 55 | g_assert(domain != NULL); |
52 | 56 | gvir_config_domain_set_name(domain, "foo"); |
53 | g_str_check(gvir_config_domain_get_name(domain), "foo"); | |
57 | g_str_const_check(gvir_config_domain_get_name(domain), "foo"); | |
54 | 58 | |
55 | 59 | gvir_config_domain_set_memory(domain, 1234); |
56 | 60 | g_assert(gvir_config_domain_get_memory(domain) == 1234); |
112 | 116 | |
113 | 117 | g_assert(gvir_config_domain_disk_get_disk_type(disk) == GVIR_CONFIG_DOMAIN_DISK_FILE); |
114 | 118 | g_assert(gvir_config_domain_disk_get_guest_device_type(disk) == GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_DISK); |
115 | g_str_check(gvir_config_domain_disk_get_source(disk), "/tmp/foo/bar"); | |
119 | g_str_const_check(gvir_config_domain_disk_get_source(disk), "/tmp/foo/bar"); | |
116 | 120 | g_assert(gvir_config_domain_disk_get_driver_cache(disk) == GVIR_CONFIG_DOMAIN_DISK_CACHE_NONE); |
117 | g_str_check(gvir_config_domain_disk_get_driver_name(disk), "qemu"); | |
118 | g_str_check(gvir_config_domain_disk_get_driver_type(disk), "qcow2"); | |
121 | g_str_const_check(gvir_config_domain_disk_get_driver_name(disk), "qemu"); | |
122 | g_str_const_check(gvir_config_domain_disk_get_driver_type(disk), "qcow2"); | |
119 | 123 | g_assert(gvir_config_domain_disk_get_target_bus(disk) == GVIR_CONFIG_DOMAIN_DISK_BUS_IDE); |
120 | g_str_check(gvir_config_domain_disk_get_target_dev(disk), "hda"); | |
124 | g_str_const_check(gvir_config_domain_disk_get_target_dev(disk), "hda"); | |
121 | 125 | |
122 | 126 | |
123 | 127 | /* network interfaces node */ |
180 | 184 | g_object_unref(G_OBJECT(pty)); |
181 | 185 | devices = g_list_append(devices, GVIR_CONFIG_DOMAIN_DEVICE(console)); |
182 | 186 | |
187 | /* spice agent channel */ | |
188 | GVirConfigDomainChannel *channel; | |
189 | GVirConfigDomainChardevSourceSpiceVmc *spicevmc; | |
190 | ||
191 | channel = gvir_config_domain_channel_new(); | |
192 | gvir_config_domain_channel_set_target_type(channel, | |
193 | GVIR_CONFIG_DOMAIN_CHANNEL_TARGET_VIRTIO); | |
194 | spicevmc = gvir_config_domain_chardev_source_spicevmc_new(); | |
195 | gvir_config_domain_chardev_set_source(GVIR_CONFIG_DOMAIN_CHARDEV(channel), | |
196 | GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE(spicevmc)); | |
197 | g_object_unref(G_OBJECT(spicevmc)); | |
198 | devices = g_list_append(devices, GVIR_CONFIG_DOMAIN_DEVICE(channel)); | |
199 | ||
200 | /* spice usb redirection */ | |
201 | GVirConfigDomainRedirdev *redirdev; | |
202 | ||
203 | redirdev = gvir_config_domain_redirdev_new(); | |
204 | gvir_config_domain_redirdev_set_bus(redirdev, | |
205 | GVIR_CONFIG_DOMAIN_REDIRDEV_BUS_USB); | |
206 | spicevmc = gvir_config_domain_chardev_source_spicevmc_new(); | |
207 | gvir_config_domain_chardev_set_source(GVIR_CONFIG_DOMAIN_CHARDEV(redirdev), | |
208 | GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE(spicevmc)); | |
209 | g_object_unref(G_OBJECT(spicevmc)); | |
210 | devices = g_list_append(devices, GVIR_CONFIG_DOMAIN_DEVICE(redirdev)); | |
211 | ||
212 | ||
183 | 213 | gvir_config_domain_set_devices(domain, devices); |
184 | 214 | g_list_foreach(devices, (GFunc)g_object_unref, NULL); |
185 | 215 | g_list_free(devices); |
33 | 33 | int main(int argc, char **argv) |
34 | 34 | { |
35 | 35 | GVirConfigDomain *domain; |
36 | char *name; | |
36 | const char *name; | |
37 | 37 | GStrv features; |
38 | 38 | char *xml; |
39 | 39 | GError *error = NULL; |
68 | 68 | name = gvir_config_domain_get_name(domain); |
69 | 69 | g_assert(name != NULL); |
70 | 70 | g_assert(strcmp(name, "foo") == 0); |
71 | g_free(name); | |
72 | 71 | |
73 | 72 | g_assert(gvir_config_domain_get_memory(domain) == 987654321); |
74 | 73 |
20 | 20 | %endif |
21 | 21 | |
22 | 22 | Name: libvirt-glib |
23 | Version: 0.0.6 | |
23 | Version: 0.0.7 | |
24 | 24 | Release: 1%{?dist}%{?extra_release} |
25 | 25 | Summary: libvirt glib integration for events |
26 | 26 | Group: Development/Libraries |
30 | 30 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
31 | 31 | |
32 | 32 | BuildRequires: glib2-devel >= 2.22.0 |
33 | BuildRequires: libvirt-devel >= 0.9.7 | |
33 | BuildRequires: libvirt-devel >= 0.9.10 | |
34 | 34 | BuildRequires: python-devel |
35 | 35 | %if %{with_introspection} |
36 | 36 | BuildRequires: gobject-introspection-devel |
30 | 30 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
31 | 31 | |
32 | 32 | BuildRequires: glib2-devel >= 2.22.0 |
33 | BuildRequires: libvirt-devel >= 0.9.7 | |
33 | BuildRequires: libvirt-devel >= 0.9.10 | |
34 | 34 | BuildRequires: python-devel |
35 | 35 | %if %{with_introspection} |
36 | 36 | BuildRequires: gobject-introspection-devel |
89 | 89 | G_DEFINE_BOXED_TYPE(GVirDomainDiskStats, gvir_domain_disk_stats, |
90 | 90 | gvir_domain_disk_stats_copy, gvir_domain_disk_stats_free) |
91 | 91 | |
92 | static gchar *gvir_domain_disk_get_path(GVirDomainDisk *self) | |
92 | static const gchar *gvir_domain_disk_get_path(GVirDomainDisk *self) | |
93 | 93 | { |
94 | 94 | GVirConfigDomainDevice *config; |
95 | gchar *path; | |
95 | const gchar *path; | |
96 | 96 | |
97 | 97 | config = gvir_domain_device_get_config(GVIR_DOMAIN_DEVICE(self)); |
98 | 98 | path = gvir_config_domain_disk_get_target_dev(GVIR_CONFIG_DOMAIN_DISK(config)); |
118 | 118 | GVirDomainDiskStats *ret = NULL; |
119 | 119 | virDomainBlockStatsStruct stats; |
120 | 120 | virDomainPtr handle; |
121 | gchar *path; | |
121 | const gchar *path; | |
122 | 122 | |
123 | 123 | g_return_val_if_fail(GVIR_IS_DOMAIN_DISK(self), NULL); |
124 | 124 | |
141 | 141 | |
142 | 142 | end: |
143 | 143 | virDomainFree(handle); |
144 | g_free(path); | |
145 | 144 | return ret; |
146 | 145 | } |
147 | 146 | |
163 | 162 | { |
164 | 163 | gboolean ret = FALSE; |
165 | 164 | virDomainPtr handle; |
166 | gchar *path; | |
165 | const gchar *path; | |
167 | 166 | |
168 | 167 | g_return_val_if_fail(GVIR_IS_DOMAIN_DISK(self), FALSE); |
169 | 168 | g_return_val_if_fail(err == NULL || *err == NULL, FALSE); |
182 | 181 | |
183 | 182 | end: |
184 | 183 | virDomainFree(handle); |
185 | g_free(path); | |
186 | 184 | return ret; |
187 | 185 | } |
87 | 87 | G_DEFINE_BOXED_TYPE(GVirDomainInterfaceStats, gvir_domain_interface_stats, |
88 | 88 | gvir_domain_interface_stats_copy, gvir_domain_interface_stats_free) |
89 | 89 | |
90 | static gchar *gvir_domain_interface_get_path(GVirDomainInterface *self) | |
90 | static const gchar *gvir_domain_interface_get_path(GVirDomainInterface *self) | |
91 | 91 | { |
92 | 92 | GVirConfigDomainDevice *config; |
93 | gchar *path = NULL; | |
93 | const gchar *path = NULL; | |
94 | 94 | |
95 | 95 | config = gvir_domain_device_get_config(GVIR_DOMAIN_DEVICE(self)); |
96 | 96 | if (GVIR_CONFIG_IS_DOMAIN_INTERFACE_USER(self)) |
120 | 120 | GVirDomainInterfaceStats *ret = NULL; |
121 | 121 | virDomainInterfaceStatsStruct stats; |
122 | 122 | virDomainPtr handle; |
123 | gchar *path; | |
123 | const gchar *path; | |
124 | 124 | |
125 | 125 | g_return_val_if_fail(GVIR_IS_DOMAIN_INTERFACE(self), NULL); |
126 | 126 | |
150 | 150 | |
151 | 151 | end: |
152 | 152 | virDomainFree(handle); |
153 | g_free(path); | |
154 | 153 | return ret; |
155 | 154 | } |