diff options
author | nyorain <[email protected]> | 2017-07-07 21:51:34 +0200 |
---|---|---|
committer | nyorain <[email protected]> | 2017-07-07 21:51:34 +0200 |
commit | c0f2acce4e08eecdcf29058335aece113467daee (patch) | |
tree | 7f871abe8b5d1cdf4a74512810d68e9e66f0d57f /include/util.h | |
parent | 42547cafb64be99debf5cbcd5986e2c1fa30216a (diff) |
Rework get_clipboard implementation
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index e5365458..f68deae8 100644 --- a/include/util.h +++ b/include/util.h @@ -3,6 +3,7 @@ #include <stdint.h> #include <unistd.h> +#include <sys/types.h> #include <xkbcommon/xkbcommon.h> /** @@ -57,4 +58,8 @@ uint32_t parse_color(const char *color); * to a dangling symlink, NULL is returned. */ char* resolve_path(const char* path); + +char *b64_encode(const char* binaryData, size_t len, size_t *flen); +unsigned char *b64_decode(const char *ascii, size_t len, size_t *flen); + #endif |