mirror of
https://github.com/labwc/labwc.git
synced 2026-04-17 06:46:28 -04:00
implement permission infrastructure
This commit is contained in:
parent
26cd95ebfd
commit
589ea47920
4 changed files with 96 additions and 3 deletions
11
include/permissions.h
Normal file
11
include/permissions.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef LABWC_PERMISSIONS_H
|
||||
#define LABWC_PERMISSIONS_H
|
||||
|
||||
#include <wayland-server-core.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
int permissions_context_create(struct wl_display *display, uint32_t permissions);
|
||||
bool permissions_check(const struct wl_client *client, const struct wl_interface *iface);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue