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:
Michal Privoznik committed 2011-05-13 12:35:45 +02:00
1 parent 1ba6e2d926
commit 6a1fcd9f20
2 files changed
+9

No files matched your search

+8
View File
@@ -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
*/
+1
View File
@@ -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 ....