PHP Manual
Function Reference
Other Services
chdb
cURL
Event
FAM
FTP
Gearman
Gopher
Gupnp
HTTP
Hyperwave
Hyperwave API
Java
LDAP
Lotus Notes
Memcache
Memcached
mqseries
Network
RRD
SAM
SNMP
Sockets
SSH2
Stomp
SVM
SVN
TCP
Varnish
YAZ
YP/NIS
0MQ messaging
gopher_parsedir
Introduction
Other Services
PHP Manual
Gupnp
Table of Contents
Introduction
Installing/Configuring
Requirements
Installation
Runtime Configuration
Resource Types
Predefined Constants
Examples
Browsing devices and services
Implementing the BinaryLight device
Gupnp Functions
gupnp_context_get_host_ip
— Get the IP address
gupnp_context_get_port
— Get the port
gupnp_context_get_subscription_timeout
— Get the event subscription timeout
gupnp_context_host_path
— Start hosting
gupnp_context_new
— Create a new context
gupnp_context_set_subscription_timeout
— Sets the event subscription timeout
gupnp_context_timeout_add
— Sets a function to be called at regular intervals
gupnp_context_unhost_path
— Stop hosting
gupnp_control_point_browse_start
— Start browsing
gupnp_control_point_browse_stop
— Stop browsing
gupnp_control_point_callback_set
— Set control point callback
gupnp_control_point_new
— Create a new control point
gupnp_device_action_callback_set
— Set device callback function
gupnp_device_info_get_service
— Get the service with type
gupnp_device_info_get
— Get info of root device
gupnp_root_device_get_available
— Check whether root device is available
gupnp_root_device_get_relative_location
— Get the relative location of root device.
gupnp_root_device_new
— Create a new root device
gupnp_root_device_set_available
— Set whether or not root_device is available
gupnp_root_device_start
— Start main loop
gupnp_root_device_stop
— Stop main loop
gupnp_service_action_get
— Retrieves the specified action arguments
gupnp_service_action_return_error
— Return error code
gupnp_service_action_return
— Return successfully
gupnp_service_action_set
— Sets the specified action return values
gupnp_service_freeze_notify
— Freeze new notifications
gupnp_service_info_get_introspection
— Get resource introspection of service
gupnp_service_info_get
— Get full info of service
gupnp_service_introspection_get_state_variable
— Returns the state variable data
gupnp_service_notify
— Notifies listening clients
gupnp_service_proxy_action_get
— Send action to the service and get value
gupnp_service_proxy_action_set
— Send action to the service and set value
gupnp_service_proxy_add_notify
— Sets up callback for variable change notification
gupnp_service_proxy_callback_set
— Set service proxy callback for signal
gupnp_service_proxy_get_subscribed
— Check whether subscription is valid to the service
gupnp_service_proxy_remove_notify
— Cancels the variable change notification
gupnp_service_proxy_send_action
— Send action with multiple parameters synchronously
gupnp_service_proxy_set_subscribed
— (Un)subscribes to the service.
gupnp_service_thaw_notify
— Sends out any pending notifications and stops queuing of new ones.