summaryrefslogtreecommitdiff
path: root/nest/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'nest/cli.h')
-rw-r--r--nest/cli.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nest/cli.h b/nest/cli.h
index a9848a89..c20f9c47 100644
--- a/nest/cli.h
+++ b/nest/cli.h
@@ -55,12 +55,16 @@ struct cli_config {
#define TLIST_ITEM n
#define TLIST_DEFINED_BEFORE
#define TLIST_WANT_ADD_TAIL
+#define TLIST_WANT_WALK
TLIST_DEFAULT_NODE;
const char *name;
+ struct config *config;
uint uid, gid, mode;
};
#include "lib/tlists.h"
+void cli_config_listen(struct cli_config *, const char *);
+
extern pool *cli_pool;
extern struct cli *this_cli; /* Used during parsing */