mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-30 22:23:28 +01:00
12 lines
346 B
C
12 lines
346 B
C
#ifndef _SWAY_SECURITY_H
|
|
#define _SWAY_SECURITY_H
|
|
#include <unistd.h>
|
|
#include "sway/config.h"
|
|
|
|
enum secure_feature get_feature_policy(pid_t pid);
|
|
enum command_context get_command_policy(const char *cmd);
|
|
|
|
struct feature_policy *alloc_feature_policy(const char *program);
|
|
struct command_policy *alloc_command_policy(const char *command);
|
|
|
|
#endif
|