提交 6a1fcd9f 编写于 作者: M Michal Privoznik

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
上级 1ba6e2d9
......@@ -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 ....
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册