.TH "wl_global" 3 "Fri Aug 25 2023 07:24:40" "Version 1.22.0" "Wayland" \" -*- nroff -*- .ad l .nh .SH NAME wl_global .SH SYNOPSIS .br .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "uint32_t \fBwl_global_get_name\fP (const struct \fBwl_global\fP *global, const struct \fBwl_client\fP *client)" .br .ti -1c .RI "uint32_t \fBwl_global_get_version\fP (const struct \fBwl_global\fP *global)" .br .ti -1c .RI "struct \fBwl_display\fP * \fBwl_global_get_display\fP (const struct \fBwl_global\fP *global)" .br .in -1c .SS "Data Fields" .in +1c .ti -1c .RI "struct \fBwl_display\fP * \fBdisplay\fP" .br .ti -1c .RI "const struct \fBwl_interface\fP * \fBinterface\fP" .br .ti -1c .RI "uint32_t \fBname\fP" .br .ti -1c .RI "uint32_t \fBversion\fP" .br .ti -1c .RI "void * \fBdata\fP" .br .ti -1c .RI "\fBwl_global_bind_func_t\fP \fBbind\fP" .br .ti -1c .RI "struct \fBwl_list\fP \fBlink\fP" .br .ti -1c .RI "bool \fBremoved\fP" .br .in -1c .SH "Member Function Documentation" .PP .SS "struct \fBwl_display\fP * wl_global_get_display (const struct \fBwl_global\fP * global)" Get the display object for the given global .PP \fBParameters\fP .RS 4 \fIglobal\fP The global object .RE .PP \fBReturns\fP .RS 4 The display object the global is associated with\&. .RE .PP \fBSince\fP .RS 4 1\&.20 .RE .PP .SS "uint32_t wl_global_get_name (const struct \fBwl_global\fP * global, const struct \fBwl_client\fP * client)" Get the name of the global\&. .PP \fBParameters\fP .RS 4 \fIglobal\fP The global object\&. .br \fIclient\fP Client for which to look up the global\&. .RE .PP \fBReturns\fP .RS 4 The name of the global, or 0 if the global is not visible to the client\&. .RE .PP \fBSince\fP .RS 4 1\&.22 .RE .PP .SS "uint32_t wl_global_get_version (const struct \fBwl_global\fP * global)" Get the version of the given global\&. .PP \fBParameters\fP .RS 4 \fIglobal\fP The global object\&. .RE .PP \fBReturns\fP .RS 4 The version advertised by the global\&. .RE .PP \fBSince\fP .RS 4 1\&.21 .RE .PP .SH "Field Documentation" .PP .SS "\fBwl_global_bind_func_t\fP wl_global::bind" .SS "void* wl_global::data" .SS "struct \fBwl_display\fP* wl_global::display" .SS "const struct \fBwl_interface\fP* wl_global::interface" .SS "struct \fBwl_list\fP wl_global::link" .SS "uint32_t wl_global::name" .SS "bool wl_global::removed" .SS "uint32_t wl_global::version" .SH "Author" .PP Generated automatically by Doxygen for Wayland from the source code\&.