mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
daemon: time option support.
No need to have all times in seconds. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
10
daemon/opt_time.h
Normal file
10
daemon/opt_time.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef LIGHTNING_DAEMON_OPT_TIME_H
|
||||
#define LIGHTNING_DAEMON_OPT_TIME_H
|
||||
#include "config.h"
|
||||
#include <ccan/opt/opt.h>
|
||||
#include <ccan/time/time.h>
|
||||
|
||||
char *opt_set_time(const char *arg, struct timerel *t);
|
||||
void opt_show_time(char buf[OPT_SHOW_LEN], const struct timerel *t);
|
||||
|
||||
#endif /* LIGHTNING_DAEMON_OPT_TIME_H */
|
||||
Reference in New Issue
Block a user