mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
b2c762969c
blob[] is really a string from the commandline; leave it as a char. And parsing is much simpler than this code makes it seem! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
10 lines
263 B
C
10 lines
263 B
C
#ifndef LIGHTNING_COMMON_BASE64_H
|
|
#define LIGHTNING_COMMON_BASE64_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
#include <ccan/tal/tal.h>
|
|
|
|
char *b64_encode(const tal_t *ctx, const void *data, size_t len);
|
|
|
|
#endif /* LIGHTNING_COMMON_BASE64_H */
|