![]() |
openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
|
#include "servicepeer.h"
#include <lib/base/e2avahi.h>
#include <lib/base/eerror.h>
#include <string>
#include <map>
#include <sstream>
Typedefs | |
typedef std::map< std::string, std::string > | PeerMapping |
Functions | |
static void | peer_register (const char *name, const char *host_name, uint16_t port) |
static void | peer_remove (const char *name) |
static void | e2avahi_resolve_callback (void *userdata, int event, const char *name, const char *type, const char *host_name, uint16_t port) |
void | init_servicepeer () |
void | done_servicepeer () |
bool | getAnyPeerStreamingBox (std::string &result) |
PyObject * | getPeerStreamingBoxes () |
Variables | |
static const char * | service_type = "_e2stream._tcp" |
static PeerMapping | peers |
typedef std::map<std::string, std::string> PeerMapping |
void done_servicepeer | ( | ) |
|
static |
bool getAnyPeerStreamingBox | ( | std::string & | result | ) |
PyObject* getPeerStreamingBoxes | ( | ) |
void init_servicepeer | ( | ) |
|
static |
|
static |
|
static |
|
static |