mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
screenshot: Defining the public API
Add public API for taking screenshots of current domain console. * include/libvirt/libvirt.h.in: add virDomainScreenshot * src/libvirt_public.syms: Export new symbol
This commit is contained in:
parent
1ba6e2d926
commit
6a1fcd9f20
@ -669,6 +669,14 @@ int virDomainCoreDump (virDomainPtr domain,
|
|||||||
const char *to,
|
const char *to,
|
||||||
int flags);
|
int flags);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Screenshot of current domain console
|
||||||
|
*/
|
||||||
|
char * virDomainScreenshot (virDomainPtr domain,
|
||||||
|
virStreamPtr stream,
|
||||||
|
unsigned int screen,
|
||||||
|
unsigned int flags);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Domain runtime information
|
* Domain runtime information
|
||||||
*/
|
*/
|
||||||
|
@ -439,6 +439,7 @@ LIBVIRT_0.9.0 {
|
|||||||
LIBVIRT_0.9.2 {
|
LIBVIRT_0.9.2 {
|
||||||
global:
|
global:
|
||||||
virDomainInjectNMI;
|
virDomainInjectNMI;
|
||||||
|
virDomainScreenshot;
|
||||||
} LIBVIRT_0.9.0;
|
} LIBVIRT_0.9.0;
|
||||||
|
|
||||||
# .... define new API here using predicted next version number ....
|
# .... define new API here using predicted next version number ....
|
||||||
|
Loading…
Reference in New Issue
Block a user