aboutsummaryrefslogtreecommitdiff
path: root/include/util.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-08 11:05:54 -0400
committerGitHub <noreply@github.com>2017-10-08 11:05:54 -0400
commit6d83a59b461d07c4c9c5ee5809da658f5c56afc3 (patch)
tree6fd6b55d7f335a3fb4a2f06d81417464087f1dfc /include/util.h
parent5ecedc7199fcd9788ae2d96f0ed1f25a2cbe7364 (diff)
parent1cca551c6fc69bca76a4992b33ef685371cac26b (diff)
Merge pull request #1263 from nyorain/master
Implement get_clipboard ipc message
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 @@
#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