18#ifndef _UPNPPDISC_H_X_INCLUDED_
19#define _UPNPPDISC_H_X_INCLUDED_
25#include <unordered_map>
27#include "libupnpp/upnppexports.hxx"
74 static void terminate();
85 time_t getRemainingDelayMs();
88 time_t getRemainingDelay();
94 static unsigned int addCallback(
Visitor v);
96 static void delCallback(
unsigned int idx);
100 static unsigned int addLostCallback(
Visitor v);
102 static void delLostCallback(
unsigned int idx);
114 bool getDevByFName(
const std::string& fname,
UPnPDeviceDesc& ddesc);
133 bool getDescriptionDocuments(
134 const std::string &uidOrFriendly, std::string& deviceXML,
135 std::unordered_map<std::string, std::string>& srvsXML);
144 bool uniSearch(
const std::string& url);
150 const std::string getReason();
Data holder for a UPnP device, parsed from the XML description obtained during discovery.
Definition description.hxx:139
Manage UPnP discovery and maintain a directory of active devices.
Definition discovery.hxx:62
std::function< bool(const UPnPDeviceDesc &, const UPnPServiceDesc &)> Visitor
Type of user callback functions used for reporting devices and services.
Definition discovery.hxx:77
Data holder for a UPnP service, parsed from the device XML description.
Definition description.hxx:46
UPnP Description phase: interpreting the device description which we downloaded from the URL obtained...
Definition avlastchg.cxx:28