core-lightning/common/configdir.h
Rusty Russell b00525b8c8 options: don't leak memory when people override options.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-12-13 22:46:10 +01:00

13 lines
360 B
C

#ifndef LIGHTNING_COMMON_CONFIGDIR_H
#define LIGHTNING_COMMON_CONFIGDIR_H
#include "config.h"
#include <ccan/tal/tal.h>
/* Helper for options which are tal() strings. */
char *opt_set_talstr(const char *arg, char **p);
void configdir_register_opts(const tal_t *ctx,
char **config_dir, char **rpc_filename);
#endif /* LIGHTNING_COMMON_CONFIGDIR_H */