aboutsummaryrefslogtreecommitdiffstats
path: root/vconsole.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-08-20 15:24:13 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-08-20 15:24:13 +0200
commit4bcf40a96e5dd2c0be19ad3878e00b1defcbd671 (patch)
tree122214b1a3c321be966b0a1fa5b2e6e18de51c7a /vconsole.h
parent7a7ffc74974ec4c4b2afef762365dfdb4cf59cc2 (diff)
downloadvconsole-4bcf40a96e5dd2c0be19ad3878e00b1defcbd671.tar.gz
implement logging
Diffstat (limited to 'vconsole.h')
-rw-r--r--vconsole.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vconsole.h b/vconsole.h
index 143aa66..803b1c0 100644
--- a/vconsole.h
+++ b/vconsole.h
@@ -6,6 +6,8 @@
#include <fcntl.h>
#include <assert.h>
+#include <sys/stat.h>
+
#include <gtk/gtk.h>
#include <vte/vte.h>
@@ -74,6 +76,9 @@ struct vconsole_domain {
GtkWidget *vbox, *vte, *status;
virStreamPtr stream;
virDomainInfo info;
+
+ FILE *logfp;
+ char *logname;
};
void domain_start(struct vconsole_domain *dom);