20#ifndef __WLMTK_UTIL_H__
21#define __WLMTK_UTIL_H__
23#include <libbase/libbase.h>
27#include <wayland-server-core.h>
28#include <wlr/util/box.h>
49 struct wl_listener listener;
59 struct wl_listener listener;
75 struct wl_list *list_ptr,
76 bool (*func)(
struct wl_list *link_ptr,
void *ud_ptr),
94 struct wl_signal *signal_ptr,
95 struct wl_listener *listener_ptr,
96 void (*notifier_func)(
struct wl_listener *,
void *));
106 struct wl_listener *listener_ptr);
115 struct wl_signal *signal_ptr,
142 struct wl_signal *signal_ptr,
gid_t gid
Definition util.h:43
uid_t uid
Definition util.h:41
pid_t pid
Definition util.h:39
void * last_data_ptr
Definition util.h:53
size_t calls
Definition util.h:51
size_t calls
Definition util.h:61
void wlmtk_util_connect_listener_signal(struct wl_signal *signal_ptr, struct wl_listener *listener_ptr, void(*notifier_func)(struct wl_listener *, void *))
Definition util.c:60
void wlmtk_util_disconnect_listener(struct wl_listener *listener_ptr)
Definition util.c:70
void wlmtk_util_connect_test_listener(struct wl_signal *signal_ptr, wlmtk_util_test_listener_t *test_listener_ptr)
Definition util.c:80
void wlmtk_util_clear_test_listener(wlmtk_util_test_listener_t *test_listener_ptr)
Definition util.c:92
bool wlmtk_util_wl_list_for_each(struct wl_list *list_ptr, bool(*func)(struct wl_list *link_ptr, void *ud_ptr), void *ud_ptr)
Definition util.c:41
void wlmtk_util_connect_test_wlr_box_listener(struct wl_signal *signal_ptr, wlmtk_util_test_wlr_box_listener_t *test_wlr_box_listener_ptr)
Definition util.c:107
void wlmtk_util_clear_test_wlr_box_listener(wlmtk_util_test_wlr_box_listener_t *test_wlr_box_listener_ptr)
Definition util.c:119
const bs_test_case_t wlmtk_util_test_cases[]
Definition util.c:168
void wlmtk_util_disconnect_test_listener(wlmtk_util_test_listener_t *test_listener_ptr)
Definition util.c:100