b58enc: Accept any kind of pointer for binary data

This commit is contained in:
Luke Dashjr
2014-08-17 12:03:54 +00:00
parent f55613ac56
commit a2853bb766
2 changed files with 3 additions and 3 deletions

View File

@@ -3,13 +3,12 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
extern bool (*b58_sha256_impl)(void *, const void *, size_t);
extern bool b58tobin(void *bin, size_t binsz, const char *b58, size_t b58sz);
extern int b58check(const void *bin, size_t binsz, const char *b58, size_t b58sz);
extern bool b58enc(char *b58, size_t *b58sz, const uint8_t *bin, size_t binsz);
extern bool b58enc(char *b58, size_t *b58sz, const void *bin, size_t binsz);
#endif