#include "cecc.h"
#include <stdio.h>
#include <dlfcn.h>
Go to the source code of this file.
◆ CDECL
◆ _libcecc_resolve
| #define _libcecc_resolve |
( |
|
lib, |
|
|
|
tar, |
|
|
|
name, |
|
|
|
method |
|
) |
| |
Value: do { \
if (tar == NULL) \
{ \
libcecc_close_library(lib); \
return -1; \
} \
} while(0)
static void * libcecc_resolve(void *lib, const char *name)
Definition at line 53 of file ceccloader.h.
◆ libcecc_lib_instance_t
◆ libcecc_load_library()
◆ libcecc_close_library()
◆ libcecc_resolve()
| static void * libcecc_resolve |
( |
void * |
lib, |
|
|
const char * |
name |
|
) |
| |
|
static |
◆ libcecc_resolve_all()
◆ libcecc_reset_configuration()
◆ libcecc_initialise()
Create a new libCEC instance.
- Parameters
-
| configuration | The configuration to pass to libCEC |
| strLib | The name of and/or path to libCEC |
- Returns
- 1 when loaded, 0 if libCEC failed to initialise, -1 if methods failed to be resolved
Definition at line 305 of file ceccloader.h.
◆ libcecc_destroy()
Destroy an instance of libCEC.
- Parameters
-
| device | The instance to destroy. |
Definition at line 328 of file ceccloader.h.