mUPnP for C++
mUPnP::UPnP Namespace Reference

Functions

const char * GetServerName (std::string &buf)
 
const char * CreateUUID (std::string &buf)
 
int CreateBootID ()
 
void SetEnable (int value)
 
void SetDisable (int value)
 
bool IsEnabled (int value)
 
const char * StatusCodeToString (int code)
 

Variables

const char VER [] = "1.0"
 
const int SERVER_RETRY_COUNT = 100
 
const int DEFAULT_EXPIRED_DEVICE_EXTRA_TIME = 60
 
const char INMPR03 [] = "INMPR03"
 
const char INMPR03_VER [] = "1.0"
 
const int INMPR03_DISCOVERY_OVER_WIRELESS_COUNT = 4
 
const char XML_DECLARATION [] = "<?xml version=\"1.0\"?>"
 
const int USE_ONLY_IPV6_ADDR = 1
 
const int USE_LOOPBACK_ADDR = 2
 
const int USE_IPV6_LINK_LOCAL_SCOPE = 3
 
const int USE_IPV6_SUBNET_SCOPE = 4
 
const int USE_IPV6_ADMINISTRATIVE_SCOPE = 5
 
const int USE_IPV6_SITE_LOCAL_SCOPE = 6
 
const int USE_IPV6_GLOBAL_SCOPE = 7
 
const int USE_SSDP_SEARCHRESPONSE_MULTIPLE_INTERFACES = 8
 
const int USE_ONLY_IPV4_ADDR = 9
 
const int INVALID_ACTION = 401
 
const int INVALID_ARGS = 402
 
const int OUT_OF_SYNC = 403
 
const int INVALID_VAR = 404
 
const int ACTION_FAILED = 501
 

Function Documentation

◆ CreateBootID()

int mUPnP::UPnP::CreateBootID ( )

◆ CreateUUID()

const char * mUPnP::UPnP::CreateUUID ( std::string & buf)

◆ GetServerName()

const char * mUPnP::UPnP::GetServerName ( std::string & buf)

◆ IsEnabled()

bool mUPnP::UPnP::IsEnabled ( int value)

◆ SetDisable()

void mUPnP::UPnP::SetDisable ( int value)

◆ SetEnable()

void mUPnP::UPnP::SetEnable ( int value)

◆ StatusCodeToString()

const char * mUPnP::UPnP::StatusCodeToString ( int code)

Variable Documentation

◆ ACTION_FAILED

const int mUPnP::UPnP::ACTION_FAILED = 501

◆ DEFAULT_EXPIRED_DEVICE_EXTRA_TIME

const int mUPnP::UPnP::DEFAULT_EXPIRED_DEVICE_EXTRA_TIME = 60

◆ INMPR03

const char mUPnP::UPnP::INMPR03[] = "INMPR03"

◆ INMPR03_DISCOVERY_OVER_WIRELESS_COUNT

const int mUPnP::UPnP::INMPR03_DISCOVERY_OVER_WIRELESS_COUNT = 4

◆ INMPR03_VER

const char mUPnP::UPnP::INMPR03_VER[] = "1.0"

◆ INVALID_ACTION

const int mUPnP::UPnP::INVALID_ACTION = 401

◆ INVALID_ARGS

const int mUPnP::UPnP::INVALID_ARGS = 402

◆ INVALID_VAR

const int mUPnP::UPnP::INVALID_VAR = 404

◆ OUT_OF_SYNC

const int mUPnP::UPnP::OUT_OF_SYNC = 403

◆ SERVER_RETRY_COUNT

const int mUPnP::UPnP::SERVER_RETRY_COUNT = 100

◆ USE_IPV6_ADMINISTRATIVE_SCOPE

const int mUPnP::UPnP::USE_IPV6_ADMINISTRATIVE_SCOPE = 5

◆ USE_IPV6_GLOBAL_SCOPE

const int mUPnP::UPnP::USE_IPV6_GLOBAL_SCOPE = 7

◆ USE_IPV6_LINK_LOCAL_SCOPE

const int mUPnP::UPnP::USE_IPV6_LINK_LOCAL_SCOPE = 3

◆ USE_IPV6_SITE_LOCAL_SCOPE

const int mUPnP::UPnP::USE_IPV6_SITE_LOCAL_SCOPE = 6

◆ USE_IPV6_SUBNET_SCOPE

const int mUPnP::UPnP::USE_IPV6_SUBNET_SCOPE = 4

◆ USE_LOOPBACK_ADDR

const int mUPnP::UPnP::USE_LOOPBACK_ADDR = 2

◆ USE_ONLY_IPV4_ADDR

const int mUPnP::UPnP::USE_ONLY_IPV4_ADDR = 9

◆ USE_ONLY_IPV6_ADDR

const int mUPnP::UPnP::USE_ONLY_IPV6_ADDR = 1

◆ USE_SSDP_SEARCHRESPONSE_MULTIPLE_INTERFACES

const int mUPnP::UPnP::USE_SSDP_SEARCHRESPONSE_MULTIPLE_INTERFACES = 8

◆ VER

const char mUPnP::UPnP::VER[] = "1.0"

◆ XML_DECLARATION

const char mUPnP::UPnP::XML_DECLARATION[] = "<?xml version=\"1.0\"?>"