C-Pluff C API  0.2.0
Typedefs
Opaque types

Opaque data type definitions. More...

Typedefs

typedef struct cp_context_t cp_context_t
 A plug-in context represents the co-operation environment of a set of plug-ins from the perspective of a particular participating plug-in or the perspective of the main program. More...
 

Detailed Description

Opaque data type definitions.

Typedef Documentation

◆ cp_context_t

typedef struct cp_context_t cp_context_t

A plug-in context represents the co-operation environment of a set of plug-ins from the perspective of a particular participating plug-in or the perspective of the main program.

It is used as an opaque handle to the shared resources but the framework also uses the context to identify the plug-in or the main program invoking framework functions. Therefore a plug-in should not generally expose its context instance to other plug-ins or the main program and neither should the main program expose its context instance to plug-ins. The main program creates plug-in contexts using cp_create_context and plug-ins receive their plug-in contexts via cp_plugin_runtime_t::create.


Generated on Fri May 1 2020 01:06:58 for C-Pluff C API by doxygen 1.8.13