mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
0b5b1faff5
We're going to get tricky with lightingd's parsing next, so split it out. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 lines
445 B
C
16 lines
445 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);
|
|
|
|
/* 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);
|
|
|
|
#endif /* LIGHTNING_COMMON_CONFIGDIR_H */
|