summaryrefslogtreecommitdiff
path: root/src/basic/hexdecoct.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-30 15:04:56 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-30 15:04:56 +0100
commitdcabda41558bf80724992d3973388af6974af5eb (patch)
tree24fed07b4bfdb41c66c029fb21e6f4e262ca147c /src/basic/hexdecoct.h
parent132bdb0cf8eff3eba3092962b6d36e6c3e75da14 (diff)
parentc542f805ddc3ae28007c15827ef2e8a8247452bc (diff)
Merge pull request #2469 from keszybz/resolved-2
Resolved 2
Diffstat (limited to 'src/basic/hexdecoct.h')
-rw-r--r--src/basic/hexdecoct.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/basic/hexdecoct.h b/src/basic/hexdecoct.h
index d9eb54a8a1..243c5e921e 100644
--- a/src/basic/hexdecoct.h
+++ b/src/basic/hexdecoct.h
@@ -49,7 +49,10 @@ int unbase64char(char c) _const_;
char *base32hexmem(const void *p, size_t l, bool padding);
int unbase32hexmem(const char *p, size_t l, bool padding, void **mem, size_t *len);
-char *base64mem(const void *p, size_t l);
+ssize_t base64mem(const void *p, size_t l, char **out);
+int base64_append(char **prefix, int plen,
+ const void *p, size_t l,
+ int margin, int width);
int unbase64mem(const char *p, size_t l, void **mem, size_t *len);
void hexdump(FILE *f, const void *p, size_t s);