diff options
author | Maria Matejka <mq@ucw.cz> | 2024-06-24 11:10:07 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2024-06-27 04:14:38 +0200 |
commit | f3b6661ddda9a9c2591444799ff88cd82621d06b (patch) | |
tree | ae4ac9154932587ffe1c8acc64effb9fb44806c1 /nest | |
parent | a95fff37937171302167e670bd8b6e80d447cf65 (diff) |
Additional CLI sockets can be now configured in the config file
If the user has such a need, they may configure additional sockets
in the config file. This may work for e.g. some advanced access control.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/cli.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |