summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-rw-r--r--nest/config.Y8
1 files changed, 7 insertions, 1 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 48940ff..e843777 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -22,7 +22,13 @@ static list *this_p_list;
static struct password_item *this_p_item;
static int password_id;
-static list *
+static inline void
+reset_passwords(void)
+{
+ this_p_list = NULL;
+}
+
+static inline list *
get_passwords(void)
{
list *rv = this_p_list;