Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
Classes | |
struct | KODI_ADDON_INSTANCE_FUNC |
struct | KODI_ADDON_INSTANCE_FUNC_CB |
struct | KODI_ADDON_INSTANCE_INFO |
struct | KODI_ADDON_INSTANCE_STRUCT |
struct | AddonToKodiFuncTable_kodi_addon |
struct | AddonToKodiFuncTable_Addon |
Callback function tables from addon to Kodi Set complete from Kodi! More... | |
struct | KodiToAddonFuncTable_Addon |
Function tables from Kodi to addon. More... | |
struct | AddonGlobalInterface |
Main structure passed from kodi to addon with basic information needed to create add-on. More... | |
Macros | |
#define | NOMINMAX |
#define | __cdecl |
#define | __declspec(X) |
#define | ATTR_PACKED |
#define | PRAGMA_PACK 1 |
#define | ATTR_FORCEINLINE inline |
#define | ATTR_DLL_IMPORT |
#define | ATTR_DLL_EXPORT |
#define | ATTR_DLL_LOCAL |
#define | ATTR_APIENTRY |
#define | ATTR_APIENTRYP ATTR_APIENTRY* |
#define | ADDON_STANDARD_STRING_LENGTH 1024 |
#define | ADDON_STANDARD_STRING_LENGTH_SMALL 256 |
Typedefs | |
typedef void * | KODI_ADDON_HDL |
typedef void * | KODI_ADDON_BACKEND_HDL |
typedef void * | KODI_ADDON_INSTANCE_HDL |
typedef void * | KODI_ADDON_INSTANCE_BACKEND_HDL |
typedef void * | ADDON_HARDWARE_CONTEXT |
typedef void * | KODI_ADDON_FUNC_DUMMY |
typedef enum ADDON_STATUS | ADDON_STATUS |
typedef enum ADDON_LOG | ADDON_LOG |
typedef struct KODI_ADDON_INSTANCE_FUNC | KODI_ADDON_INSTANCE_FUNC |
typedef struct KODI_ADDON_INSTANCE_FUNC_CB | KODI_ADDON_INSTANCE_FUNC_CB |
typedef int | KODI_ADDON_INSTANCE_TYPE |
typedef struct KODI_ADDON_INSTANCE_INFO | KODI_ADDON_INSTANCE_INFO |
typedef struct KODI_ADDON_INSTANCE_STRUCT | KODI_ADDON_INSTANCE_STRUCT |
typedef void * | KODI_HANDLE |
Standard undefined pointer handle. | |
typedef struct AddonToKodiFuncTable_kodi_addon | AddonToKodiFuncTable_kodi_addon |
typedef struct AddonToKodiFuncTable_Addon | AddonToKodiFuncTable_Addon |
Callback function tables from addon to Kodi Set complete from Kodi! | |
typedef KODI_ADDON_HDL * | hdl |
typedef struct KODI_ADDON_INSTANCE_STRUCT * | instance |
typedef struct KodiToAddonFuncTable_Addon | KodiToAddonFuncTable_Addon |
Function tables from Kodi to addon. | |
typedef struct AddonGlobalInterface | AddonGlobalInterface |
Main structure passed from kodi to addon with basic information needed to create add-on. | |
Enumerations | |
enum | ADDON_STATUS { ADDON_STATUS_OK , ADDON_STATUS_LOST_CONNECTION , ADDON_STATUS_NEED_RESTART , ADDON_STATUS_NEED_SETTINGS , ADDON_STATUS_UNKNOWN , ADDON_STATUS_PERMANENT_FAILURE , ADDON_STATUS_NOT_IMPLEMENTED } |
enum | ADDON_LOG { ADDON_LOG_DEBUG = 0 , ADDON_LOG_INFO = 1 , ADDON_LOG_WARNING = 2 , ADDON_LOG_ERROR = 3 , ADDON_LOG_FATAL = 4 } |
Functions | |
enum | ADDON_STATUS (ATTR_APIENTRYP PFN_KODI_ADDON_INSTANCE_SETTING_CHANGE_STRING_V1)(const KODI_ADDON_INSTANCE_HDL hdl |
typedef | void (ATTR_APIENTRYP PFN_KODI_ADDON_DESTROY_V1)(const KODI_ADDON_HDL hdl) |
Variables | |
enum const char * | name |
enum const char const char * | value |
#define __cdecl |
#define __declspec | ( | X | ) |
#define ADDON_STANDARD_STRING_LENGTH 1024 |
#define ADDON_STANDARD_STRING_LENGTH_SMALL 256 |
#define ATTR_APIENTRY |
#define ATTR_APIENTRYP ATTR_APIENTRY* |
#define ATTR_DLL_EXPORT |
#define ATTR_DLL_IMPORT |
#define ATTR_DLL_LOCAL |
#define ATTR_FORCEINLINE inline |
#define ATTR_PACKED |
#define NOMINMAX |
#define PRAGMA_PACK 1 |
typedef void* ADDON_HARDWARE_CONTEXT |
typedef struct AddonGlobalInterface AddonGlobalInterface |
Main structure passed from kodi to addon with basic information needed to create add-on.
typedef struct AddonToKodiFuncTable_Addon AddonToKodiFuncTable_Addon |
Callback function tables from addon to Kodi Set complete from Kodi!
typedef struct AddonToKodiFuncTable_kodi_addon AddonToKodiFuncTable_kodi_addon |
typedef KODI_ADDON_HDL* hdl |
typedef struct KODI_ADDON_INSTANCE_STRUCT * instance |
typedef void* KODI_ADDON_BACKEND_HDL |
typedef void* KODI_ADDON_FUNC_DUMMY |
typedef void* KODI_ADDON_HDL |
typedef void* KODI_ADDON_INSTANCE_BACKEND_HDL |
typedef struct KODI_ADDON_INSTANCE_FUNC KODI_ADDON_INSTANCE_FUNC |
typedef struct KODI_ADDON_INSTANCE_FUNC_CB KODI_ADDON_INSTANCE_FUNC_CB |
typedef void* KODI_ADDON_INSTANCE_HDL |
typedef struct KODI_ADDON_INSTANCE_INFO KODI_ADDON_INSTANCE_INFO |
typedef struct KODI_ADDON_INSTANCE_STRUCT KODI_ADDON_INSTANCE_STRUCT |
typedef int KODI_ADDON_INSTANCE_TYPE |
typedef void* KODI_HANDLE |
Standard undefined pointer handle.
typedef struct KodiToAddonFuncTable_Addon KodiToAddonFuncTable_Addon |
Function tables from Kodi to addon.
enum ADDON_STATUS | ( | ATTR_APIENTRYP | PFN_KODI_ADDON_INSTANCE_SETTING_CHANGE_STRING_V1 | ) | const |
typedef void | ( | ATTR_APIENTRYP | PFN_KODI_ADDON_DESTROY_V1 | ) | const |
enum const char * name |
enum const char float value |