summaryrefslogtreecommitdiff
path: root/src/dumm/mconsole.h
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2008-07-10 12:47:56 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2008-07-10 12:47:56 +0000
commiteb841c5ef668a48782ef1154fda65cb6048f5885 (patch)
tree00dd0cb4313bf2291d94ed511fe51f0b4bc7ea7a /src/dumm/mconsole.h
parent738206039047924ae7e4762a53d121be1ca43000 (diff)
downloadvyos-strongswan-eb841c5ef668a48782ef1154fda65cb6048f5885.tar.gz
vyos-strongswan-eb841c5ef668a48782ef1154fda65cb6048f5885.zip
- Updated to new upstream.
Diffstat (limited to 'src/dumm/mconsole.h')
-rw-r--r--src/dumm/mconsole.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/dumm/mconsole.h b/src/dumm/mconsole.h
index 53aaa1b8b..55ce15dda 100644
--- a/src/dumm/mconsole.h
+++ b/src/dumm/mconsole.h
@@ -43,14 +43,6 @@ struct mconsole_t {
bool (*del_iface)(mconsole_t *this, char *guest);
/**
- * @brief Get the pts device file assigned to a console.
- *
- * @param con console number in guest
- * @return allocated device string
- */
- char* (*get_console_pts)(mconsole_t *this, int con);
-
- /**
* @brief Destroy the mconsole instance
*/
void (*destroy) (mconsole_t *this);
@@ -63,9 +55,10 @@ struct mconsole_t {
* to connect to the mconsole socket supplied in the received notification.
*
* @param notify unix notify socket path
+ * @param idle idle function to call while waiting for responses
* @return mconsole instance, or NULL if failed
*/
-mconsole_t *mconsole_create(char *notify);
+mconsole_t *mconsole_create(char *notify, void(*idle)(void));
#endif /* MCONSOLE_H */