summaryrefslogtreecommitdiff
path: root/src/dumm/dumm.h
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2008-10-29 11:11:01 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2008-10-29 11:11:01 +0000
commit8b80ab5a6950ce6515f477624794defd7531642a (patch)
treeaa8303f3806c5615fbeafc4dc82febe3cd7c24dc /src/dumm/dumm.h
parentdb67c87db3c9089ea8d2e14f617bf3d9e2af261f (diff)
downloadvyos-strongswan-8b80ab5a6950ce6515f477624794defd7531642a.tar.gz
vyos-strongswan-8b80ab5a6950ce6515f477624794defd7531642a.zip
[svn-upgrade] Integrating new upstream version, strongswan (4.2.8)
Diffstat (limited to 'src/dumm/dumm.h')
-rw-r--r--src/dumm/dumm.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/dumm/dumm.h b/src/dumm/dumm.h
index 6abf4fc92..f5db0e45b 100644
--- a/src/dumm/dumm.h
+++ b/src/dumm/dumm.h
@@ -1,4 +1,5 @@
/*
+ * Copyright (C) 2008 Tobias Brunner
* Copyright (C) 2007 Martin Willi
* Hochschule fuer Technik Rapperswil
*
@@ -39,11 +40,11 @@ struct dumm_t {
* @param name name of the guest
* @param kernel UML kernel to use for guest
* @param master mounted read only master filesystem
- * @param mem amount of memory for guest, in MB
+ * @param args additional args to pass to kernel
* @return guest if started, NULL if failed
*/
guest_t* (*create_guest) (dumm_t *this, char *name, char *kernel,
- char *master, int mem);
+ char *master, char *args);
/**
* @brief Create an enumerator over all guests.
@@ -84,10 +85,10 @@ struct dumm_t {
/**
* @brief Loads a template, create a new one if it does not exist.
*
- * @param name name of the template, NULL to close
+ * @param name dir to the template, NULL to close
* @return FALSE if load/create failed
*/
- bool (*load_template)(dumm_t *this, char *name);
+ bool (*load_template)(dumm_t *this, char *dir);
/**
* @brief stop all guests and destroy the modeler