aboutsummaryrefslogtreecommitdiff
path: root/include/security.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-12-01 19:38:36 -0500
committerDrew DeVault <sir@cmpwn.com>2016-12-01 19:38:36 -0500
commit44cc0ef125332f1fe3dad7d16ed0a78a25cd1974 (patch)
tree834a20ac4bc2982dda46f144932dd16177b04224 /include/security.h
parent5831f7ab68a7166a492812d6301868541fdc9ae3 (diff)
Add config related code and initial headers
Diffstat (limited to 'include/security.h')
-rw-r--r--include/security.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/security.h b/include/security.h
new file mode 100644
index 00000000..efc25ce6
--- /dev/null
+++ b/include/security.h
@@ -0,0 +1,9 @@
+#ifndef _SWAY_SECURITY_H
+#define _SWAY_SECURITY_H
+#include <unistd.h>
+#include "sway/config.h"
+
+const struct feature_permissions *get_permissions(pid_t pid);
+enum command_context get_command_context(const char *cmd);
+
+#endif