Mir
Loading...
Searching...
No Matches
mir_extension_core.h File Reference
Include dependency graph for mir_extension_core.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void const * mir_connection_request_extension (MirConnection *connection, char const *interface, int version)
 Request a Mir extension.

Function Documentation

◆ mir_connection_request_extension()

void const * mir_connection_request_extension ( MirConnection * connection,
char const * interface,
int version )

Request a Mir extension.

Note
Extensions should provide an inline function to access the extension that should be preferred to using this directly.
Parameters
[in]connectionA connection
[in]interfaceThe name of the interface.
[in]versionThe version of the interface.
Returns
A pointer that can be cast to the object provided by the interface or NULL if the extension is not supported.

Copyright © 2012-2026 Canonical Ltd.
Generated on Sun Mar 15 20:28:55 UTC 2026
This documentation is licensed under the GPL version 2 or 3.