core-lightning/opt_bits.h
Rusty Russell fc8552318a opt_bits: parsing routines for 'bits' == 100 satoshi.
Also fix open-channel usage message.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2015-06-07 13:52:04 +09:30

10 lines
274 B
C

#ifndef LIGHTNING_OPT_BITS_H
#define LIGHTNING_OPT_BITS_H
#include <ccan/opt/opt.h>
#include <ccan/short_types/short_types.h>
char *opt_set_bits(const char *arg, u64 *satoshi);
void opt_show_bits(char buf[OPT_SHOW_LEN], const u64 *bits);
#endif /* LIGHTNING_OPT_BITS_H */