summaryrefslogtreecommitdiff
path: root/src/local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/local.h')
-rw-r--r--src/local.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/local.h b/src/local.h
index 1197676..1e6c5eb 100644
--- a/src/local.h
+++ b/src/local.h
@@ -13,11 +13,21 @@
#ifndef _LINPICKER_LOCAL_H_
#define _LINPICKER_LOCAL_H_
+#include <stdint.h>
+
/* The local socket address */
#define LINPICKER_SOCKNAME "\0linpicker-server"
-/* 1-byte messages accepted over the socket */
+/* Messages accepted over the socket */
#define LINPICKER_LOCAL_DUMP_VIEWS 0
+#define LINPICKER_LOCAL_SET_SAK 1
+
+struct local_message {
+ uint32_t type;
+ uint32_t param1;
+ uint32_t param2;
+ uint32_t param3;
+};
int
local_init(int argc, char **argv);