Query: gupnp_root_device_new
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GUPNP_ROOT_DEVICE_NEW(3) 1 GUPNP_ROOT_DEVICE_NEW(3) gupnp_root_device_new - Create a new root deviceSYNOPSISresource gupnp_root_device_new (resource $context, string $location, string $description_dir)DESCRIPTIONCreate a new root device, automatically downloading and parsing location.PARAMETERSo $context - A context identifier, returned by gupnp_context_new(3). o $location - Location of the description file for this device, relative to the HTTP rootRETURN VALUESA root device identifier.EXAMPLESExample #1 Create new UPnP context and get device info service <?php /* Create the UPnP context */ $context = gupnp_context_new(); if (!$context) { die("Error creating the GUPnP context "); } /* Create root device */ $location = "/BinaryLight1.xml"; $dev = gupnp_root_device_new($context, $location); ?>SEE ALSOgupnp_root_device_set_available(3), gupnp_root_device_start(3), gupnp_root_device_stop(3). PHP Documentation Group GUPNP_ROOT_DEVICE_NEW(3)
Related Man Pages |
---|
ibv_open_device(3) - debian |
finfo_buffer(3) - php |
gupnp_context_timeout_add(3) - php |
gupnp_device_action_callback_set(3) - php |
stream_context_get_params(3) - php |
Similar Topics in the Unix Linux Community |
---|
Coherence 0.5.2 (Default branch) |
GUPnP 0.3 (GUPnP Tools branch) |
GUPnP 0.1 (GUPnP A/V branch) |
UPnP-Inspector 0.1.7 (Default branch) |
Coherence 0.6.2 (Default branch) |