MythTV  0.26-pre
Classes | Typedefs | Functions
upnputil.h File Reference

Go to the source code of this file.

Classes

class  NameValue
class  NameValues

Typedefs

typedef struct timeval TaskTime
typedef QMap< QString, QString > QStringMap

Functions

template<class T >
const T & Min (const T &x, const T &y)
template<class T >
const T & Max (const T &x, const T &y)
QString LookupUDN (QString sDeviceType)
long GetIPAddressList (QStringList &sStrList)
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)
QByteArray gzipCompress (const QByteArray &data)

Typedef Documentation

typedef struct timeval TaskTime

Definition at line 38 of file upnputil.h.

typedef QMap< QString, QString > QStringMap

Definition at line 39 of file upnputil.h.


Function Documentation

template<class T >
const T& Min ( const T &  x,
const T &  y 
) [inline]

Definition at line 25 of file upnputil.h.

Referenced by UPnpCDS::HandleBrowse().

template<class T >
const T& Max ( const T &  x,
const T &  y 
) [inline]

Definition at line 30 of file upnputil.h.

Referenced by UPnpCDS::HandleBrowse().

QString LookupUDN ( QString  sDeviceType)

Definition at line 43 of file upnputil.cpp.

Referenced by UPnpDevice::GetUDN().

long GetIPAddressList ( QStringList &  sStrList)

Definition at line 79 of file upnputil.cpp.

Referenced by UPnp::Initialize().

bool operator< ( TaskTime  t1,
TaskTime  t2 
)

Definition at line 208 of file upnputil.cpp.

bool operator== ( TaskTime  t1,
TaskTime  t2 
)

Definition at line 223 of file upnputil.cpp.

void AddSecondsToTaskTime ( TaskTime t,
long  nSecs 
)

Definition at line 247 of file upnputil.cpp.

Referenced by SSDPCache::Add().

QByteArray gzipCompress ( const QByteArray &  data)

Definition at line 256 of file upnputil.cpp.

Referenced by HTTPRequest::SendResponse().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends