#include <cybergarage/upnp/ccontrolpoint.h>
#include <cybergarage/upnp/cupnp_limit.h>
#include <cybergarage/upnp/control/ccontrol.h>
#include <cybergarage/util/clog.h>
|
Add a device on the basis of an SSDP packet. Do not call this from user applications.
|
|
|
|
Destroy the given control point
|
|
Find a device from the control point by the exact type of the device. This function searches for devices, whose *complete type string* matches the given string, including version number. For example: "urn:schemas-upnp-org:device:FooDevice:1". If you need to disregard the version, use cg_upnp_controlpoint_getdevicebytype
|
|
Find a device from the controlpoint by the type of the device. This function searches for devices, whose *type part* (i.e. not including the version) of the device type string matches the given string. For example: "urn:schemas-upnp-org:device:FooDevice". If you need to know the version of a device, use cg_upnp_devicetype_getversion
|
|
Find a device from the controlpoint by the UDN of the device.
|
|
Get the event subscription callback URI
|
|
Notify the control point that any IP of the host has been changed.
|
|
Lock the control point's mutex. The control point should be ALWAYS locked, when a CgUpnpDevice*, CgUpnpService*, CgUpnpAction* or other pointer has been taken into use from the stack. This effectively prevents devices/services from being updated/ removed or added while the control point is locked. You should release the lock as soon as possible with cg_upnp_controlpoint_unlock
|
|
Create a new control point. Does not start any threads.
|
|
Parse the service description from the service's SCPD URL. Do not call this from user applications.
|
|
Parse the device's services using the received SSDP packet. Do not call this from user applications.
|
|
Remove a device on the basis of an SSDP packet. Do not call this from user applications.
|
|
Do an M-SEARCH to look for devices in the network.
|
|
|
|
|
|
Activate the control point. Starts listening for SSDP messages etc. You must call this function before you can actually use a control point.
|
|
Stop the control point. Stops sending/receiveing/responding to any messages.
|
|
Release a previously locked control point mutex. See cg_upnp_controlpoint_lock for a more detailed description on the control point locking mechanism.
|