MythTV  master
Macros | Functions
upnputil.cpp File Reference
#include <sys/types.h>
#include <sys/time.h>
#include <cerrno>
#include <QUuid>
#include <QStringList>
#include "upnputil.h"
#include "upnp.h"
#include "upnphelpers.h"
#include "compat.h"
#include "mythconfig.h"
#include "mythlogging.h"
#include "httprequest.h"
#include <zlib.h>
Include dependency graph for upnputil.cpp:

Go to the source code of this file.

Macros

#define Z_NULL   nullptr
 

Functions

QString LookupUDN (const QString &sDeviceType)
 
bool operator< (TaskTime t1, TaskTime t2)
 
bool operator== (TaskTime t1, TaskTime t2)
 
void AddMicroSecToTaskTime (TaskTime &t, suseconds_t uSecs)
 
void AddSecondsToTaskTime (TaskTime &t, long nSecs)
 
QStringList GetSourceProtocolInfos ()
 Return a QStringList containing the supported Source Protocols. More...
 
QStringList GetSinkProtocolInfos ()
 Return a QStringList containing the supported Sink Protocols. More...
 

Macro Definition Documentation

◆ Z_NULL

#define Z_NULL   nullptr

Definition at line 39 of file upnputil.cpp.

Function Documentation

◆ LookupUDN()

QString LookupUDN ( const QString &  sDeviceType)

Definition at line 45 of file upnputil.cpp.

Referenced by UPnpDevice::GetUDN().

◆ operator<()

bool operator< ( TaskTime  t1,
TaskTime  t2 
)

Definition at line 84 of file upnputil.cpp.

◆ operator==()

bool operator== ( TaskTime  t1,
TaskTime  t2 
)

Definition at line 94 of file upnputil.cpp.

◆ AddMicroSecToTaskTime()

void AddMicroSecToTaskTime ( TaskTime t,
suseconds_t  uSecs 
)

◆ AddSecondsToTaskTime()

void AddSecondsToTaskTime ( TaskTime t,
long  nSecs 
)

Definition at line 115 of file upnputil.cpp.

Referenced by SSDPCache::Add().

◆ GetSourceProtocolInfos()

QStringList GetSourceProtocolInfos ( )

Return a QStringList containing the supported Source Protocols.

TODO Extend this to dynamically list all supported protocols (e.g. RTSP) and any DLNA profile stuff that we can figure out

Definition at line 126 of file upnputil.cpp.

Referenced by MediaServer::Init().

◆ GetSinkProtocolInfos()

QStringList GetSinkProtocolInfos ( )

Return a QStringList containing the supported Sink Protocols.

TODO Extend this to dynamically list all supported protocols (e.g. RTSP) and any DLNA profile stuff that we can figure out

Definition at line 178 of file upnputil.cpp.

Referenced by MediaRenderer::MediaRenderer().