Mir
Functions
mir_extension_core.h File Reference
#include "mir_toolkit/mir_connection.h"
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. More...
 

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-2020 Canonical Ltd.
Generated on Mon Feb 17 22:14:21 UTC 2020
This documentation is licensed under the GPL version 2 or 3.