mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00: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,
|
||||
int flags);
|
||||
|
||||
/*
|
||||
* Screenshot of current domain console
|
||||
*/
|
||||
char * virDomainScreenshot (virDomainPtr domain,
|
||||
virStreamPtr stream,
|
||||
unsigned int screen,
|
||||
unsigned int flags);
|
||||
|
||||
/*
|
||||
* Domain runtime information
|
||||
*/
|
||||
|
@ -439,6 +439,7 @@ LIBVIRT_0.9.0 {
|
||||
LIBVIRT_0.9.2 {
|
||||
global:
|
||||
virDomainInjectNMI;
|
||||
virDomainScreenshot;
|
||||
} LIBVIRT_0.9.0;
|
||||
|
||||
# .... define new API here using predicted next version number ....
|
||||
|
Loading…
Reference in New Issue
Block a user