gupnp_device_action_callback_set

(PECL gupnp >= 0.1.0) Set device callback function bool gupnp_device_action_callback_set ( resource $root_device, int $signal, string $action_name, mixed $callback [, mixed $arg ] ) Set device callback function for signal and action. Parameters: root_device A root device identifier, returned by gupnp_root_device_new(). signal The val

gupnp_control_point_new

(PECL gupnp >= 0.1.0) Create a new control point resource gupnp_control_point_new ( resource $context, string $target ) Create a new control point with the specified target. Parameters: context A context identifier, returned by gupnp_context_new(). target The search target. target should be a service or device name, such as urn:schem

gupnp_control_point_callback_set

(PECL gupnp >= 0.1.0) Set control point callback bool gupnp_control_point_callback_set ( resource $cpoint, int $signal, mixed $callback [, mixed $arg ] ) Set control point callback function for signal. Parameters: cpoint A control point identifier, returned by gupnp_control_point_new(). signal The value of signal. Signal can be one o

gupnp_control_point_browse_stop

(PECL gupnp >= 0.1.0) Stop browsing bool gupnp_control_point_browse_stop ( resource $cpoint ) Stop the search and calls user-defined callback. Parameters: cpoint A control point identifier, returned by gupnp_control_point_new(). Returns: Returns TRUE on success or FALSE on failure.

gupnp_control_point_browse_start

(PECL gupnp >= 0.1.0) Start browsing bool gupnp_control_point_browse_start ( resource $cpoint ) Start the search and calls user-defined callback. Parameters: cpoint A control point identifier, returned by gupnp_control_point_new(). Returns: Returns TRUE on success or FALSE on failure. Examples:

gupnp_context_unhost_path

(PECL gupnp >= 0.1.0) Stop hosting bool gupnp_context_unhost_path ( resource $context, string $server_path ) Stop hosting the file or folder at server_path. Parameters: context A context identifier, returned by gupnp_context_new(). server_path Web server path where the file or folder is hosted. Returns: Retu

gupnp_context_timeout_add

(PECL gupnp >= 0.1.0) Sets a function to be called at regular intervals bool gupnp_context_timeout_add ( resource $context, int $timeout, mixed $callback [, mixed $arg ] ) Sets a function to be called at regular intervals. Parameters: context A context identifier, returned by gupnp_context_new(). timeout A timeout in miliseconds.

gupnp_context_set_subscription_timeout

(PECL gupnp >= 0.1.0) Sets the event subscription timeout void gupnp_context_set_subscription_timeout ( resource $context, int $timeout ) Sets the event subscription timeout (in seconds) to time out. Note that any client side subscriptions will automatically be renewed. Parameters: context A context identifier, returned by gupnp_context_new(). t

gupnp_context_new

(PECL gupnp >= 0.1.0) Create a new context resource gupnp_context_new ([ string $host_ip [, int $port = 0 ]] ) Create a new context with the specified host_ip and port. Parameters: host_ip The local host's IP address, or NULL to use the IP address of the first non-loopback network interface. port Port to run on, or 0 if you don't ca

gupnp_context_host_path

(PECL gupnp >= 0.1.0) Start hosting bool gupnp_context_host_path ( resource $context, string $local_path, string $server_path ) Start hosting local_path at server_path. Files with the path local_path.LOCALE (if they exist) will be served up when LOCALE is specified in the request's Accept-Language header. Parameters: context A context identifier, returned by gupnp_cont