wlmaker
Loading...
Searching...
No Matches
src
toolkit
util.h
Go to the documentation of this file.
1
/* ========================================================================= */
20
#ifndef __WLMTK_UTIL_H__
21
#define __WLMTK_UTIL_H__
22
23
#include <libbase/libbase.h>
24
#include <wayland-server-core.h>
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
// __cplusplus
29
31
typedef
struct
{
33
pid_t
pid
;
35
uid_t
uid
;
37
gid_t
gid
;
38
}
wlmtk_util_client_t
;
39
52
// TODO(kaeser@gubbe.ch): Either swap arguments (listener first) or rename,
53
// eg. . wlm_util_connect_signal_to_listener(...).
54
void
wlmtk_util_connect_listener_signal
(
55
struct
wl_signal *signal_ptr,
56
struct
wl_listener *listener_ptr,
57
void
(*notifier_func)(
struct
wl_listener *,
void
*));
58
60
extern
const
bs_test_case_t
wlmtk_util_test_cases
[];
61
62
#ifdef __cplusplus
63
}
// extern "C"
64
#endif
// __cplusplus
65
66
#endif
/* __WLMTK_UTIL_H__ */
67
/* == End of util.h ======================================================== */
wlmtk_util_client_t
Definition
util.h:31
wlmtk_util_client_t::gid
gid_t gid
Definition
util.h:37
wlmtk_util_client_t::uid
uid_t uid
Definition
util.h:35
wlmtk_util_client_t::pid
pid_t pid
Definition
util.h:33
wlmtk_util_connect_listener_signal
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:26
wlmtk_util_test_cases
const bs_test_case_t wlmtk_util_test_cases[]
Definition
util.c:39
Generated by
1.10.0