summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/config.h2
-rw-r--r--include/util.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index b0cd86eb..a05d5ede 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -235,7 +235,7 @@ enum ipc_feature {
235 IPC_FEATURE_EVENT_WINDOW = 2048, 235 IPC_FEATURE_EVENT_WINDOW = 2048,
236 IPC_FEATURE_EVENT_BINDING = 4096, 236 IPC_FEATURE_EVENT_BINDING = 4096,
237 IPC_FEATURE_EVENT_INPUT = 8192, 237 IPC_FEATURE_EVENT_INPUT = 8192,
238 IPC_FEATURE_GET_CLIPBOARD = 16384, 238 IPC_FEATURE_GET_CLIPBOARD = 16384,
239 239
240 IPC_FEATURE_ALL_COMMANDS = 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 16384, 240 IPC_FEATURE_ALL_COMMANDS = 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 16384,
241 IPC_FEATURE_ALL_EVENTS = 256 | 512 | 1024 | 2048 | 4096 | 8192, 241 IPC_FEATURE_ALL_EVENTS = 256 | 512 | 1024 | 2048 | 4096 | 8192,
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