libCEC 8.1.0
C / C++ API — control CEC-capable HDMI devices
Loading...
Searching...
No Matches
cecloader.h File Reference
#include <dlfcn.h>
Include dependency graph for cecloader.h:

Go to the source code of this file.

Functions

CEC::ICECAdapterLibCecInitialise (CEC::libcec_configuration *configuration, const char *strLib=NULL)
 Create a new libCEC instance.
 
void UnloadLibCec (CEC::ICECAdapter *device)
 Destroy an instance of libCEC.
 
bool LibCecBootloader (const char *strLib=NULL)
 Start the bootloader on the first device that was detected.
 

Variables

void * g_libCEC = NULL
 

Function Documentation

◆ LibCecInitialise()

CEC::ICECAdapter * LibCecInitialise ( CEC::libcec_configuration configuration,
const char *  strLib = NULL 
)

Create a new libCEC instance.

Parameters
configurationThe configuration to pass to libCEC
strLibThe name of and/or path to libCEC
Returns
An instance of ICECAdapter or NULL on error.

Definition at line 117 of file cecloader.h.

◆ UnloadLibCec()

void UnloadLibCec ( CEC::ICECAdapter device)

Destroy an instance of libCEC.

Parameters
deviceThe instance to destroy.

Definition at line 148 of file cecloader.h.

◆ LibCecBootloader()

bool LibCecBootloader ( const char *  strLib = NULL)

Start the bootloader on the first device that was detected.

Parameters
strLibThe name of and/or path to libCEC
Returns
True when the command was sent, false otherwise.

Definition at line 164 of file cecloader.h.

Variable Documentation

◆ g_libCEC

void* g_libCEC = NULL

Definition at line 109 of file cecloader.h.