2017-08-29 01:36:01 +09:30
|
|
|
#ifndef LIGHTNING_COMMON_CONFIGDIR_H
|
|
|
|
#define LIGHTNING_COMMON_CONFIGDIR_H
|
2016-01-22 06:41:48 +10:30
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/tal/tal.h>
|
|
|
|
|
2017-12-14 06:30:24 +10:30
|
|
|
/* Helper for options which are tal() strings. */
|
|
|
|
char *opt_set_talstr(const char *arg, char **p);
|
|
|
|
|
2019-07-25 15:05:36 +09:30
|
|
|
/* 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-22 06:41:48 +10:30
|
|
|
|
2017-08-29 01:36:01 +09:30
|
|
|
#endif /* LIGHTNING_COMMON_CONFIGDIR_H */
|