mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
378dadc371
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
18 lines
412 B
C
18 lines
412 B
C
#ifndef LIGHTNING_DAEMON_LIGHTNING_H
|
|
#define LIGHTNING_DAEMON_LIGHTNING_H
|
|
#include "config.h"
|
|
#include <stdio.h>
|
|
|
|
/* Here's where the global variables hide! */
|
|
struct lightningd_state {
|
|
/* Where all our logging goes. */
|
|
struct log_record *log_record;
|
|
struct log *base_log;
|
|
FILE *logf;
|
|
|
|
/* Our config dir, and rpc file */
|
|
char *config_dir;
|
|
char *rpc_filename;
|
|
};
|
|
#endif /* LIGHTNING_DAEMON_LIGHTNING_H */
|