Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
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 | |
static char * | get_ip_address (void *kodiBase) |
static char * | get_hostname (void *kodiBase) |
static char * | get_user_agent (void *kodiBase) |
static bool | is_local_host (void *kodiBase, const char *hostname) |
static bool | is_host_on_lan (void *kodiBase, const char *hostname, bool offLineCheck) |
static char * | dns_lookup (void *kodiBase, const char *url, bool *ret) |
static char * | url_encode (void *kodiBase, const char *url) |
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-dev-kit/include/kodi/Network.h"
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
TODO change to use the LanCheckMode enum class on the API signature
|
static |
callback functions from add-on to kodi
The parameter kodiBase
is used to become the pointer for a CAddonDll
class.