Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
ADDON::Interface_Network Struct Reference

Global general Add-on to Kodi callback functions. More...

#include <Network.h>

Static Public Member Functions

static void Init (AddonGlobalInterface *addonInterface)
 
static void DeInit (AddonGlobalInterface *addonInterface)
 
static bool wake_on_lan (void *kodiBase, const char *mac)
 callback functions from add-on to kodi More...
 
static char * get_ip_address (void *kodiBase)
 
static char * dns_lookup (void *kodiBase, const char *url, bool *ret)
 
static char * url_encode (void *kodiBase, const char *url)
 

Detailed Description

Global general Add-on to Kodi callback functions.

To hold network functions not related to a instance type and usable for every add-on type.

Related add-on header is "./xbmc/addons/kodi-addon-dev-kit/include/kodi/Network.h"

Member Function Documentation

§ DeInit()

void ADDON::Interface_Network::DeInit ( AddonGlobalInterface addonInterface)
static

§ dns_lookup()

char * ADDON::Interface_Network::dns_lookup ( void kodiBase,
const char *  url,
bool *  ret 
)
static

§ get_ip_address()

char * ADDON::Interface_Network::get_ip_address ( void kodiBase)
static

§ Init()

void ADDON::Interface_Network::Init ( AddonGlobalInterface addonInterface)
static

§ url_encode()

char * ADDON::Interface_Network::url_encode ( void kodiBase,
const char *  url 
)
static

§ wake_on_lan()

bool ADDON::Interface_Network::wake_on_lan ( void kodiBase,
const char *  mac 
)
static

callback functions from add-on to kodi

Note
To add a new function use the "_" style to directly identify an add-on callback function. Everything with CamelCase is only to be used in Kodi.

The parameter kodiBase is used to become the pointer for a CAddonDll class.


The documentation for this struct was generated from the following files: