2017-08-28 17:06:01 +01:00
|
|
|
#ifndef LIGHTNING_COMMON_CONFIGDIR_H
|
|
|
|
#define LIGHTNING_COMMON_CONFIGDIR_H
|
2016-01-21 20:11:48 +00:00
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/tal/tal.h>
|
|
|
|
|
2017-12-13 20:00:24 +00:00
|
|
|
/* Helper for options which are tal() strings. */
|
|
|
|
char *opt_set_talstr(const char *arg, char **p);
|
|
|
|
|
2019-07-25 06:35:36 +01:00
|
|
|
/* The default configuration dir: ~/.lightning */
|
|
|
|
char *default_configdir(const tal_t *ctx);
|
|
|
|
|
|
|
|
/* The default rpc filename: lightning-rpc */
|
|
|
|
char *default_rpcfile(const tal_t *ctx);
|
2016-01-21 20:11:48 +00:00
|
|
|
|
2017-08-28 17:06:01 +01:00
|
|
|
#endif /* LIGHTNING_COMMON_CONFIGDIR_H */
|