18 #ifndef _UPNPPDISC_H_X_INCLUDED_ 19 #define _UPNPPDISC_H_X_INCLUDED_ 25 #include <unordered_map> 27 #include "libupnpp/upnppexports.hxx" 33 class UPnPServiceDesc;
72 static void terminate();
81 bool traverse(Visitor);
84 time_t getRemainingDelayMs();
87 time_t getRemainingDelay();
94 static unsigned int addCallback(Visitor v);
95 static void delCallback(
unsigned int idx);
107 bool getDevByFName(
const std::string& fname,
UPnPDeviceDesc& ddesc);
126 bool getDescriptionDocuments(
127 const std::string &uidOrFriendly, std::string& deviceXML,
128 std::unordered_map<std::string, std::string>& srvsXML);
135 const std::string getReason();
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
Manage UPnP discovery and maintain a directory of active devices.
Definition: discovery.hxx:61
Data holder for a UPnP device, parsed from the XML description obtained during discovery.
Definition: description.hxx:142
UPnP Description phase: interpreting the device description which we downloaded from the URL obtained...
Definition: avlastchg.cxx:27