2017-08-28 18:06:01 +02:00
|
|
|
#ifndef LIGHTNING_COMMON_CONFIGDIR_H
|
|
|
|
#define LIGHTNING_COMMON_CONFIGDIR_H
|
2016-01-21 21:11:48 +01:00
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/tal/tal.h>
|
|
|
|
|
2017-12-13 21:00:24 +01:00
|
|
|
/* Helper for options which are tal() strings. */
|
|
|
|
char *opt_set_talstr(const char *arg, char **p);
|
|
|
|
|
2019-07-25 07:35:36 +02: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 21:11:48 +01:00
|
|
|
|
2017-08-28 18:06:01 +02:00
|
|
|
#endif /* LIGHTNING_COMMON_CONFIGDIR_H */
|