diff options
author | Martin Willi <martin@strongswan.org> | 2008-04-28 16:43:30 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-04-28 16:43:30 +0000 |
commit | a47486b5e4386b85c0a01424ba83930af8593ccc (patch) | |
tree | 154ab6a41116c1acb054a39ace0b6863ea8ab692 /src/dumm/mconsole.h | |
parent | e8a680d94a541bba152a45422580930fbdcee8eb (diff) | |
download | strongswan-a47486b5e4386b85c0a01424ba83930af8593ccc.tar.bz2 strongswan-a47486b5e4386b85c0a01424ba83930af8593ccc.tar.xz |
prototype of dumm GUI
Diffstat (limited to 'src/dumm/mconsole.h')
-rw-r--r-- | src/dumm/mconsole.h | 11 |
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 */ |