Documentation for <wlr/util/addon.h>
Table of contents
struct wlr_addon ¶
struct wlr_addon { const struct wlr_addon_interface *impl; struct { const void *owner; struct wl_list link; } WLR_PRIVATE; };
wlr_addon_find() ¶
struct wlr_addon *wlr_addon_find(struct wlr_addon_set *set, const void *owner, const struct wlr_addon_interface *impl);
wlr_addon_finish() ¶
void wlr_addon_finish(struct wlr_addon *addon);
wlr_addon_init() ¶
void wlr_addon_init(struct wlr_addon *addon, struct wlr_addon_set *set, const void *owner, const struct wlr_addon_interface *impl);
struct wlr_addon_interface ¶
struct wlr_addon_interface { const char *name; // Has to call wlr_addon_finish() void (*destroy)(struct wlr_addon *addon); };
struct wlr_addon_set ¶
struct wlr_addon_set { struct { struct wl_list addons; } WLR_PRIVATE; };
wlr_addon_set_finish() ¶
void wlr_addon_set_finish(struct wlr_addon_set *set);
wlr_addon_set_init() ¶
void wlr_addon_set_init(struct wlr_addon_set *set);