summaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
authorLibravatar nyorain <nyorain@gmail.com>2017-07-07 21:51:34 +0200
committerLibravatar nyorain <nyorain@gmail.com>2017-07-07 21:51:34 +0200
commitc0f2acce4e08eecdcf29058335aece113467daee (patch)
tree7f871abe8b5d1cdf4a74512810d68e9e66f0d57f /include/util.h
parentFix/Simplify get_clipboard ipc-server impl (diff)
downloadsway-c0f2acce4e08eecdcf29058335aece113467daee.tar.gz
sway-c0f2acce4e08eecdcf29058335aece113467daee.tar.zst
sway-c0f2acce4e08eecdcf29058335aece113467daee.zip
Rework get_clipboard implementation
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h5
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 @@
3 3
4#include <stdint.h> 4#include <stdint.h>
5#include <unistd.h> 5#include <unistd.h>
6#include <sys/types.h>
6#include <xkbcommon/xkbcommon.h> 7#include <xkbcommon/xkbcommon.h>
7 8
8/** 9/**
@@ -57,4 +58,8 @@ uint32_t parse_color(const char *color);
57 * to a dangling symlink, NULL is returned. 58 * to a dangling symlink, NULL is returned.
58 */ 59 */
59char* resolve_path(const char* path); 60char* resolve_path(const char* path);
61
62char *b64_encode(const char* binaryData, size_t len, size_t *flen);
63unsigned char *b64_decode(const char *ascii, size_t len, size_t *flen);
64
60#endif 65#endif