2018-05-10 00:18:19 +01:00
|
|
|
#ifndef LIGHTNING_COMMON_BASE32_H
|
|
|
|
#define LIGHTNING_COMMON_BASE32_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/short_types/short_types.h>
|
2018-05-10 00:18:24 +01:00
|
|
|
#include <ccan/tal/tal.h>
|
2018-05-10 00:18:19 +01:00
|
|
|
|
2018-05-10 00:18:24 +01:00
|
|
|
char *b32_encode(const tal_t *ctx, const void *data, size_t len);
|
|
|
|
u8 *b32_decode(const tal_t *ctx, const char *str, size_t len);
|
2018-05-10 00:18:19 +01:00
|
|
|
|
|
|
|
#endif /* LIGHTNING_COMMON_BASE32_H */
|