-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpstorm.meta.php
2017 lines (1814 loc) · 61.7 KB
/
.phpstorm.meta.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
if (!function_exists('libvirt_connect')) {
/**
* This function should be called first to get a connection to the Hypervisor. If necessary, authentication will be performed using supplied credentials.
* @param string $url URL of the hypervisor to connect to. Can be for example or .
* @param bool $readonly If (default) connection is made readonly.
* @param array $credentials Credentials to authenticate with. See for more details.
* @return resource|bool
*/
function libvirt_connect (string $url = null, bool $readonly = true, array $credentials = array()) {}
}
if (!function_exists('libvirt_connect_get_uri')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_connect_get_uri ($conn) {}
}
if (!function_exists('libvirt_connect_get_hostname')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_connect_get_hostname ($conn) {}
}
if (!function_exists('libvirt_connect_get_hypervisor')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_connect_get_hypervisor ($conn) {}
}
if (!function_exists('libvirt_connect_get_capabilities')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $xpath
* @return mixed
*/
function libvirt_connect_get_capabilities ($conn, $xpath) {}
}
if (!function_exists('libvirt_connect_get_domain_capabilities')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $emulatorbin
* @param $arch
* @param $machine
* @param $virttype
* @param $flags
* @param $xpath
* @return mixed
*/
function libvirt_connect_get_domain_capabilities ($conn, $emulatorbin, $arch, $machine, $virttype, $flags, $xpath) {}
}
if (!function_exists('libvirt_connect_get_emulator')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $arch
* @return mixed
*/
function libvirt_connect_get_emulator ($conn, $arch) {}
}
if (!function_exists('libvirt_connect_get_nic_models')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $arch
* @return mixed
*/
function libvirt_connect_get_nic_models ($conn, $arch) {}
}
if (!function_exists('libvirt_connect_get_soundhw_models')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $arch
* @param $flags
* @return mixed
*/
function libvirt_connect_get_soundhw_models ($conn, $arch, $flags) {}
}
if (!function_exists('libvirt_connect_get_maxvcpus')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $type
* @return mixed
*/
function libvirt_connect_get_maxvcpus ($conn, $type) {}
}
if (!function_exists('libvirt_connect_get_sysinfo')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_connect_get_sysinfo ($conn) {}
}
if (!function_exists('libvirt_connect_get_encrypted')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_connect_get_encrypted ($conn) {}
}
if (!function_exists('libvirt_connect_get_secure')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_connect_get_secure ($conn) {}
}
if (!function_exists('libvirt_connect_get_information')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_connect_get_information ($conn) {}
}
if (!function_exists('libvirt_connect_get_machine_types')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_connect_get_machine_types ($conn) {}
}
if (!function_exists('libvirt_connect_get_all_domain_stats')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $stats
* @param $flags
* @return mixed
*/
function libvirt_connect_get_all_domain_stats ($conn, $stats, $flags) {}
}
if (!function_exists('libvirt_stream_create')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_stream_create ($conn) {}
}
if (!function_exists('libvirt_stream_close')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_stream_close ($conn) {}
}
if (!function_exists('libvirt_stream_abort')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_stream_abort ($conn) {}
}
if (!function_exists('libvirt_stream_finish')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_stream_finish ($conn) {}
}
if (!function_exists('libvirt_stream_send')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $data
* @param $len
* @return mixed
*/
function libvirt_stream_send ($conn, $data, $len) {}
}
if (!function_exists('libvirt_stream_recv')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $data
* @param $len
* @return mixed
*/
function libvirt_stream_recv ($conn, $data, $len) {}
}
if (!function_exists('libvirt_domain_new')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $name
* @param $arch
* @param $memMB
* @param $maxmemMB
* @param $vcpus
* @param $iso
* @param $disks
* @param $networks
* @param $flags
* @return mixed
*/
function libvirt_domain_new ($conn, $name, $arch, $memMB, $maxmemMB, $vcpus, $iso, $disks, $networks, $flags) {}
}
if (!function_exists('libvirt_domain_new_get_vnc')) {
/**
* A predefined method set by the library, and not documented...
* @return mixed
*/
function libvirt_domain_new_get_vnc () {}
}
if (!function_exists('libvirt_domain_get_counts')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_domain_get_counts ($conn) {}
}
if (!function_exists('libvirt_domain_is_persistent')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_domain_is_persistent ($conn) {}
}
if (!function_exists('libvirt_domain_lookup_by_name')) {
/**
* Try to look up a domain on the given hypervisor based on its name.
* @param resource $connection Libvirt connection obtained by calling .
* @param string $name Name of a domain.
*/
function libvirt_domain_lookup_by_name ($connection, string $name) {}
}
if (!function_exists('libvirt_domain_get_xml_desc')) {
/**
* Provide an XML description of the domain. The description may be reused later to relaunch the domain with or defined with .
* @param resource $domain Domain resource of domain to get XML description.
* @param integer $flags Logical OR of any of these flags:
* @return string
*/
function libvirt_domain_get_xml_desc ($domain, integer $flags): string {}
}
if (!function_exists('libvirt_domain_get_disk_devices')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_domain_get_disk_devices ($conn) {}
}
if (!function_exists('libvirt_domain_get_interface_devices')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_domain_get_interface_devices ($conn) {}
}
if (!function_exists('libvirt_domain_change_vcpus')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $numCpus
* @param $flags
* @return mixed
*/
function libvirt_domain_change_vcpus ($conn, $numCpus, $flags) {}
}
if (!function_exists('libvirt_domain_change_memory')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $allocMem
* @param $allocMax
* @param $flags
* @return mixed
*/
function libvirt_domain_change_memory ($conn, $allocMem, $allocMax, $flags) {}
}
if (!function_exists('libvirt_domain_change_boot_devices')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $first
* @param $second
* @param $flags
* @return mixed
*/
function libvirt_domain_change_boot_devices ($conn, $first, $second, $flags) {}
}
if (!function_exists('libvirt_domain_disk_add')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $img
* @param $dev
* @param $type
* @param $driver
* @param $flags
* @return mixed
*/
function libvirt_domain_disk_add ($conn, $img, $dev, $type, $driver, $flags) {}
}
if (!function_exists('libvirt_domain_disk_remove')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $dev
* @param $flags
* @return mixed
*/
function libvirt_domain_disk_remove ($conn, $dev, $flags) {}
}
if (!function_exists('libvirt_domain_nic_add')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $mac
* @param $network
* @param $model
* @param $flags
* @return mixed
*/
function libvirt_domain_nic_add ($conn, $mac, $network, $model, $flags) {}
}
if (!function_exists('libvirt_domain_nic_remove')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $dev
* @param $flags
* @return mixed
*/
function libvirt_domain_nic_remove ($conn, $dev, $flags) {}
}
if (!function_exists('libvirt_domain_attach_device')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $xml
* @param $flags
* @return mixed
*/
function libvirt_domain_attach_device ($conn, $xml, $flags) {}
}
if (!function_exists('libvirt_domain_detach_device')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $xml
* @param $flags
* @return mixed
*/
function libvirt_domain_detach_device ($conn, $xml, $flags) {}
}
if (!function_exists('libvirt_domain_get_info')) {
/**
* Extract information about a domain. Note that if the connection used to get the domain is limited only a partial set of the information can be extracted.
* @param resource $domain Domain resource of domain to get information for.
* @return array
*/
function libvirt_domain_get_info ($domain): array {}
}
if (!function_exists('libvirt_domain_get_name')) {
/**
* Get the public name for that domain
* @param resource $domain Domain resource of domain to get name of.
*/
function libvirt_domain_get_name ($domain) {}
}
if (!function_exists('libvirt_domain_get_uuid')) {
/**
* Get the UUID for a domain as a binary string. For textual representation use .
* @param resource $domain Domain resource of domain to get UUID of.
* @return string
*/
function libvirt_domain_get_uuid ($domain): string {}
}
if (!function_exists('libvirt_domain_get_uuid_string')) {
/**
* Get the UUID for a domain as string (i.e. 25ab2490-7c4c-099f-b647-45ff8efa73f6 ). For more information about UUID see RFC4122. For binary representation use .
* @param resource $domain Domain resource of domain to get UUID of.
* @return string
*/
function libvirt_domain_get_uuid_string ($domain): string {}
}
if (!function_exists('libvirt_domain_get_id')) {
/**
* Get the hypervisor ID number for the domain. Is valid only for running domains. For more unique ID use or . These functions are valid for all domains not only for active ones.
* @param resource $domain Domain resource of domain to look up. You can get domain resource using various functions (i.e. or ). Valid only for running (active) domains.
*/
function libvirt_domain_get_id ($domain) {}
}
if (!function_exists('libvirt_domain_lookup_by_uuid')) {
/**
* Try to look up a domain on the given hypervisor based on its UUID (in binary representation). For lookup based on textual UUID use .
* @param resource $connection Libvirt connection obtained by calling .
* @param string $uuid UUID of a domain to look up (in binary representation).
*/
function libvirt_domain_lookup_by_uuid ($connection, string $uuid) {}
}
if (!function_exists('libvirt_domain_lookup_by_uuid_string')) {
/**
* Try to look up a domain on the given hypervisor based on its UUID (in textual representation). For lookup based on binary UUID use .
* @param resource $connection Libvirt connection obtained by calling .
* @param string $uuid UUID of a domain to look up (in textual representation).
*/
function libvirt_domain_lookup_by_uuid_string ($connection, string $uuid) {}
}
if (!function_exists('libvirt_domain_lookup_by_id')) {
/**
* Try to look up a domain based on the hypervisor ID number. Note that this won't work for inactive domains which have an ID of -1, in that case a lookup based on the Name or UUId need to be done instead.
* @param resource $connection Libvirt connection obtained by calling .
* @param integer $iD Hypervisor ID of a domain.
*/
function libvirt_domain_lookup_by_id ($connection, integer $iD) {}
}
if (!function_exists('libvirt_domain_create')) {
/**
* Launch a defined domain. If the call succeed the domain moves from the defined to the running domains pools.
* @param resource $domain Domain resource of domain to be launched. You can get domain resource using various functions (i.e. or ).
*/
function libvirt_domain_create ($domain) {}
}
if (!function_exists('libvirt_domain_destroy')) {
/**
* Destroy the domain object. The running instance is shutdown if not down already and all resources used by it are given back to the hypervisor. This function may require privileged access.
* @param resource $domain Domain resource of domain to be destroyed. You can get domain resource using various functions (i.e. or ).
*/
function libvirt_domain_destroy ($domain) {}
}
if (!function_exists('libvirt_domain_resume')) {
/**
* Resume an suspended domain, the process is restarted from the state where it was frozen by calling . This function may requires privileged access
* @param resource $domain Domain resource of domain to resume.You can get domain resource using various functions (i.e. or ).
*/
function libvirt_domain_resume ($domain) {}
}
if (!function_exists('libvirt_domain_core_dump')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $to
* @return mixed
*/
function libvirt_domain_core_dump ($conn, $to) {}
}
if (!function_exists('libvirt_domain_shutdown')) {
/**
* Shutdown a domain, the domain object is still usable there after but the domain OS is being stopped. Note that the guest OS may ignore the request.
* @param resource $domain Domain resource of domain to shutdown.You can get domain resource using various functions (i.e. or ).
*/
function libvirt_domain_shutdown ($domain) {}
}
if (!function_exists('libvirt_domain_suspend')) {
/**
* Suspends an active domain, the process is frozen without further access to CPU resources and I/O but the memory used by the domain at the hypervisor level will stay allocated. Use to reactivate the domain. This function may requires privileged access.
* @param resource $domain Domain resource of domain to suspend.You can get domain resource using various functions (i.e. or ).
*/
function libvirt_domain_suspend ($domain) {}
}
if (!function_exists('libvirt_domain_managedsave')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_domain_managedsave ($conn) {}
}
if (!function_exists('libvirt_domain_undefine')) {
/**
* Undefine a domain but does not stop it if it is running.
* @param resource $domain Domain resource of domain to undefine.You can get domain resource using various functions (i.e. or ).
*/
function libvirt_domain_undefine ($domain) {}
}
if (!function_exists('libvirt_domain_undefine_flags')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $flags
* @return mixed
*/
function libvirt_domain_undefine_flags ($conn, $flags) {}
}
if (!function_exists('libvirt_domain_reboot')) {
/**
* Reboot a domain, the domain object is still usable there after but the domain OS is being stopped for a restart. Note that the guest OS may ignore the request.
* @param resource $domain Domain resource of domain to reboot.You can get domain resource using various functions (i.e. or ).
*/
function libvirt_domain_reboot ($domain) {}
}
if (!function_exists('libvirt_domain_reset')) {
/**
* Reset a domain immediately without any guest shutdown.
* @param resource $domain Domain resource of domain to reset. You can get domain resource using various functions (i.e. or ).
*/
function libvirt_domain_reset ($domain) {}
}
if (!function_exists('libvirt_domain_define_xml')) {
/**
* Define a domain, but does not start it. This definition is persistent, until explicitly undefined with . The domain is defined using XML description provided.
* @param resource $connection Libvirt connection obtained by calling .
* @param string $xml XML description of the domain. For more details see
* @return resource|bool
*/
function libvirt_domain_define_xml ($connection, string $xml) {}
}
if (!function_exists('libvirt_domain_create_xml')) {
/**
* Launch a new guest domain, based on an XML description similar to the one returned by . This function may requires privileged access to the hypervisor. The domain is not persistent, so its definition will disappear when it is destroyed, or if the host is restarted (see to define persistent domains).
* @param resource $connection Libvirt connection obtained by calling .
* @param string $xml XML description of the domain. For more details see
* @return resource|bool
*/
function libvirt_domain_create_xml ($connection, string $xml) {}
}
if (!function_exists('libvirt_domain_xml_from_native')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $format
* @param $configData
* @return mixed
*/
function libvirt_domain_xml_from_native ($conn, $format, $configData) {}
}
if (!function_exists('libvirt_domain_xml_to_native')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $format
* @param $xmlData
* @return mixed
*/
function libvirt_domain_xml_to_native ($conn, $format, $xmlData) {}
}
if (!function_exists('libvirt_domain_memory_peek')) {
/**
* This function allows you to read the contents of a domain's memory. The memory which is read is controlled by the 'start', 'size' and 'flags' parameters. If 'flags' is then the 'start' and 'size' parameters are interpreted as virtual memory addresses for whichever task happens to be running on the domain at the moment. Although this sounds haphazard it is in fact what you want in order to read Linux kernel state, because it ensures that pointers in the kernel image can be interpreted coherently. 'buffer' is the return buffer and must be at least 'size' bytes. 'size' may be 0 to test if the call would succeed. NB. The remote driver imposes a 64K byte limit on 'size'. For your program to be able to work reliably over a remote connection you should split large requests to <= 65536 bytes.
* @param resource $domain
* @param integer $start
* @param integer $size
* @param integer $flags
*/
function libvirt_domain_memory_peek ($domain, integer $start, integer $size, integer $flags) {}
}
if (!function_exists('libvirt_domain_memory_stats')) {
/**
* This function provides memory statistics for the domain. Up to elements will be populated in the returned array with memory statistics from the domain. Only statistics supported by the domain, the driver, and this version of libvirt will be returned. The array is indexed by the numerical values of appropriate constants.
* @param resource $domain Domain resource of domain to get memory stats.
* @param integer $flags unused, always pass 0 (or ommit the parameter as 0 is default value
* @return array
*/
function libvirt_domain_memory_stats ($domain, integer $flags): array {}
}
if (!function_exists('libvirt_domain_set_memory')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $memory
* @return mixed
*/
function libvirt_domain_set_memory ($conn, $memory) {}
}
if (!function_exists('libvirt_domain_set_max_memory')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $memory
* @return mixed
*/
function libvirt_domain_set_max_memory ($conn, $memory) {}
}
if (!function_exists('libvirt_domain_set_memory_flags')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $memory
* @param $flags
* @return mixed
*/
function libvirt_domain_set_memory_flags ($conn, $memory, $flags) {}
}
if (!function_exists('libvirt_domain_block_commit')) {
/**
* A predefined method set by the library, and not documented...
* @param $res
* @param $disk
* @param $base
* @param $top
* @return mixed
*/
function libvirt_domain_block_commit ($res, $disk, $base, $top) {}
}
if (!function_exists('libvirt_domain_block_copy')) {
/**
* A predefined method set by the library, and not documented...
* @param $res
* @param $disk
* @param $destxml
* @param $params
* @return mixed
*/
function libvirt_domain_block_copy ($res, $disk, $destxml, $params) {}
}
if (!function_exists('libvirt_domain_block_pull')) {
/**
* A predefined method set by the library, and not documented...
* @param $res
* @param $disk
* @param $bandwidth
* @param $flags
* @return mixed
*/
function libvirt_domain_block_pull ($res, $disk, $bandwidth, $flags) {}
}
if (!function_exists('libvirt_domain_block_rebase')) {
/**
* A predefined method set by the library, and not documented...
* @param $res
* @param $disk
* @param $base
* @param $bandwidth
* @param $flags
* @return mixed
*/
function libvirt_domain_block_rebase ($res, $disk, $base, $bandwidth, $flags) {}
}
if (!function_exists('libvirt_domain_block_stats')) {
/**
* This function returns block device (disk) stats for block devices attached to the domain. The path parameter is the name of the block device. Domains may have more than one block device. To get stats for each you should make multiple calls to this function. Individual fields within the stats structure may be returned as -1, which indicates that the hypervisor does not support that particular statistic.
* @param resource $domain Domain resource of domain the block device is attached to
* @param string $path Path to the block device, i.e. "hda"
* @return array
*/
function libvirt_domain_block_stats ($domain, string $path): array {}
}
if (!function_exists('libvirt_domain_block_resize')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $path
* @param $size
* @param $flags
* @return mixed
*/
function libvirt_domain_block_resize ($conn, $path, $size, $flags) {}
}
if (!function_exists('libvirt_domain_block_job_info')) {
/**
* A predefined method set by the library, and not documented...
* @param $dom
* @param $disk
* @param $flags
* @return mixed
*/
function libvirt_domain_block_job_info ($dom, $disk, $flags) {}
}
if (!function_exists('libvirt_domain_block_job_abort')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $path
* @param $flags
* @return mixed
*/
function libvirt_domain_block_job_abort ($conn, $path, $flags) {}
}
if (!function_exists('libvirt_domain_block_job_set_speed')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $path
* @param $bandwidth
* @param $flags
* @return mixed
*/
function libvirt_domain_block_job_set_speed ($conn, $path, $bandwidth, $flags) {}
}
if (!function_exists('libvirt_domain_interface_addresses')) {
/**
* A predefined method set by the library, and not documented...
* @param $domain
* @param $source
* @return mixed
*/
function libvirt_domain_interface_addresses ($domain, $source) {}
}
if (!function_exists('libvirt_domain_interface_stats')) {
/**
* This function returns network interface stats for interfaces attached to the domain. The path parameter is the name of the network interface. Domains may have more than one network interface. To get stats for each you should make multiple calls to this function. Individual fields within the stats structure may be returned as -1, which indicates that the hypervisor does not support that particular statistic.
* @param resource $domain Domain resource of domain the interface is attached to
* @param string $path Path to the interface, i.e. "vnet1"
* @return array
*/
function libvirt_domain_interface_stats ($domain, string $path): array {}
}
if (!function_exists('libvirt_domain_get_connect')) {
/**
* Returns the connection resource for a domain.
* @param resource $domain Domain resource of domain to get connection resource.
*/
function libvirt_domain_get_connect ($domain) {}
}
if (!function_exists('libvirt_domain_migrate')) {
/**
* Performs migration of the domain from one host to another. For description of parameters and flags see .
* @param resource $domain
* @param resource $dconn
* @param integer $flags
* @param string $dname
* @param string $uri
* @param integer $bandwith
*/
function libvirt_domain_migrate ($domain, resource $dconn, integer $flags, string $dname, string $uri, integer $bandwith) {}
}
if (!function_exists('libvirt_domain_migrate_to_uri')) {
/**
* Performs migration of the domain from one host to another. For description of parameters and flags see .
* @param resource $domain
* @param string $dconnuri
* @param string $miguri
* @param string $dxml
* @param integer $flags
* @param string $dname
* @param string $uri
* @param integer $bandwith
*/
function libvirt_domain_migrate_to_uri ($domain, string $dconnuri, string $miguri, string $dxml, integer $flags, string $dname, string $uri, integer $bandwith) {}
}
if (!function_exists('libvirt_domain_migrate_to_uri2')) {
/**
* A predefined method set by the library, and not documented...
* @param $res
* @param $dconnUri
* @param $migUri
* @param $dxml
* @param $flags
* @param $dname
* @param $bandwidth
* @return mixed
*/
function libvirt_domain_migrate_to_uri2 ($res, $dconnUri, $migUri, $dxml, $flags, $dname, $bandwidth) {}
}
if (!function_exists('libvirt_domain_get_job_info')) {
/**
* Extract information about progress of a background job on a domain. Will return an error if the domain is not active. For exact description of returned values see .
* @param resource $domain Domain resource of domain to get job information of
* @return array
*/
function libvirt_domain_get_job_info ($domain): array {}
}
if (!function_exists('libvirt_domain_xml_xpath')) {
/**
* A predefined method set by the library, and not documented...
* @param $res
* @param $xpath
* @param $flags
* @return mixed
*/
function libvirt_domain_xml_xpath ($res, $xpath, $flags) {}
}
if (!function_exists('libvirt_domain_get_block_info')) {
/**
* A predefined method set by the library, and not documented...
* @param $res
* @param $dev
* @return mixed
*/
function libvirt_domain_get_block_info ($res, $dev) {}
}
if (!function_exists('libvirt_domain_get_network_info')) {
/**
* A predefined method set by the library, and not documented...
* @param $res
* @param $mac
* @return mixed
*/
function libvirt_domain_get_network_info ($res, $mac) {}
}
if (!function_exists('libvirt_domain_get_autostart')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_domain_get_autostart ($conn) {}
}
if (!function_exists('libvirt_domain_set_autostart')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $flags
* @return mixed
*/
function libvirt_domain_set_autostart ($conn, $flags) {}
}
if (!function_exists('libvirt_domain_get_metadata')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $type
* @param $uri
* @param $flags
* @return mixed
*/
function libvirt_domain_get_metadata ($conn, $type, $uri, $flags) {}
}
if (!function_exists('libvirt_domain_set_metadata')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $type
* @param $metadata
* @param $key
* @param $uri
* @param $flags
* @return mixed
*/
function libvirt_domain_set_metadata ($conn, $type, $metadata, $key, $uri, $flags) {}
}
if (!function_exists('libvirt_domain_is_active')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_domain_is_active ($conn) {}
}
if (!function_exists('libvirt_domain_get_next_dev_ids')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @return mixed
*/
function libvirt_domain_get_next_dev_ids ($conn) {}
}
if (!function_exists('libvirt_domain_get_screenshot')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $server
* @param $scancode
* @return mixed
*/
function libvirt_domain_get_screenshot ($conn, $server, $scancode) {}
}
if (!function_exists('libvirt_domain_get_screenshot_api')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $screenID
* @return mixed
*/
function libvirt_domain_get_screenshot_api ($conn, $screenID) {}
}
if (!function_exists('libvirt_domain_get_screen_dimensions')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $server
* @return mixed
*/
function libvirt_domain_get_screen_dimensions ($conn, $server) {}
}
if (!function_exists('libvirt_domain_send_keys')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $server
* @param $scancode
* @return mixed
*/
function libvirt_domain_send_keys ($conn, $server, $scancode) {}
}
if (!function_exists('libvirt_domain_send_key_api')) {
/**
* A predefined method set by the library, and not documented...
* @param $conn
* @param $codeset
* @param $holdime
* @param $keycodes
* @param $flags
* @return mixed
*/
function libvirt_domain_send_key_api ($conn, $codeset, $holdime, $keycodes, $flags) {}
}
if (!function_exists('libvirt_domain_send_pointer_event')) {
/**