GUPNP-BINDING-TOOL(1) GUPnP GUPNP-BINDING-TOOL(1)
>>> (NAME)
gupnp-binding-tool-1.6 - >>>>> >>>>> >>>>
>>>>>>>>>>> C >>>>
>>>>>>>>> UPnP
>>>>> >>>>> (SYNOPSIS)
gupnp-binding-tool-1.6 [--prefix {PREFIX}] [--mode {client|server}]
{SCPD file}
>>>>>>> (DESCRIPTION)
gupnp-binding-tool-1.6 >> >>>> SCPD >>
>>>>>> >>>> > >>>>>
>>>>>>>>>>> C >>>>> >>>>>>
>> >>>>> >>>>> GUPnP >>
>>>>>>>> >>>>>>>.
>>>>>>>>>>>> >>> >>>>>>
>> >>>>>>> >> >>>>>
>>>>>>> >>>> >>>>> >> API
>>>>> >> GUPnPServiceProxy >> >>>
>>>>> > >>>>>>>>>>>> >>>
>>>> >>> >>>> >>> >> >>>>
GUPnPService >>>> >>>>>>>.
>>> >>>>>> >>>>>>>>
>>>>>> >>>>> >>>>> > >>
>>>> >>>>>>>> >>>>
>>>>>>>>>> >>>>>>>> >>>>>
>>>>>>> >>> >>>>>. >>
>>>>>>> >> >>>
>>>>>>>>>>>> >>>>> >>>
>>>> >>>>>> (actions)> >>>>>>> >
>>>>>>>>> >>>>>>> >>> (>>
>>>>>> >>>>> >> >>> >>>>
>>>>> >> >>>>>> >>>>
>>>>>>> >>>>> >>>>>>>)> >
>>>>>> >> >>>>> >>>>>>
>>>>>>>> >>> (autocompletion) >>
>>>>> >>>>>> >>>.
>>>>>>>>>>>> >>> >>>>>> (CLIENT SIDE
BINDINGS)
>> >>>>> >>>>> >>> >>>:
DeletePortMapping
NewRemoteHost
in
RemoteHost
NewExternalPort
in
ExternalPort
NewProtocol
in
PortMappingProtocol
>>>> >>>>> >>> >>>>>> (control
point) >>> >> >>>>> >>>>> >>>:
static inline gboolean
igd_delete_port_mapping (GUPnPServiceProxy *proxy,
const gchar *in_new_remote_host,
const guint in_new_external_port,
const gchar *in_new_protocol,
GError **error);
>>>>>>>> >> >>>>>>
>>>>>>> >>>>>>>>>> >>>>>
>>>>> >>>> >>>> > >>>
>>>>>>> >> >>>>> >>>>>> >>
>>>>> >>>>> >>> >>>.
gupnp-binding-tool-1.6 >> >> >>>
>>>>>>>>> >>>>> > >>>>>>>
>> >>>>> >>>>>>. >>>>
igd_delete_port_mapping >> >>>> >>>>
>>>>> >>>> >>>> >>>>>>> >>
>>>> >>> >>>>>>>:
typedef void (*igd_delete_port_mapping_reply) (GUPnPServiceProxy *proxy,
GError *error,
gpointer userdata);
static inline GUPnPServiceProxyAction *
igd_delete_port_mapping_async (GUPnPServiceProxy *proxy,
const gchar *in_new_remote_host,
const guint in_new_external_port,
const gchar *in_new_protocol,
igd_delete_port_mapping_reply callback,
gpointer userdata);
>>>> >>>>>>> (>> >> >>>>>>>
>> gupnp_service_proxy_begin_action() >
gupnp_service_proxy_end_action() >>>>>>>>>>
>>> >>>) >>>> >>>>>>>>>
(blocking) >>>>>>>>>> > >>>>> >>
>>>>>> >>>>> >>>>
>>>>>>>> (callback) >> >> >>>>
>>>> (main loop) >>>>>>>> >>>>>>.
>>> >>>>> >>>>>>
>>>>>>>>>>>>> >>>>
>>>>>>>>> >>>>> >>>>> (state
variable notifications) >>>>> >>>>>>. >>>
>>>>> >>>>> >>>>>:
ExternalIPAddress
string
>>> >>>>>>>> >>>>>> >>
>>>>> >>>>>> >> >>>>>>> >>
>> >>>> >>>>>> >>>>>>>> >>
>>>> >>>>> "ExternalIPAddress" >>>>>>>
>>>:
typedef void
(*igd_external_ip_address_changed_callback) (GUPnPServiceProxy *proxy,
const gchar *external_ip_address,
gpointer userdata);
static inline gboolean
igd_external_ip_address_add_notify (GUPnPServiceProxy *proxy,
igd_external_ip_address_changed_callback callback,
gpointer userdata);
>>>> >>> >>>>>>> >> >>>>>
>>> >>>>> >>>>>>>: gupnp-binding-tool-1.6
--prefix igd --mode client WANIPConnection.xml.
>>>>>>>>>>>> >>> >>>> (SERVER SIDE
BINDINGS)
>>>>>>>>>>>> >>>>>> >>>
>>>> >>>> >>>> >>> UPnP (>>>>
DeletePortMapping) >> >>> >>>> >>>>>:
void
igd_delete_port_mapping_action_get (GUPnPServiceAction *action,
gchar **in_new_remote_host,
guint *in_new_external_port,
gchar **in_new_protocol);
gulong
igd_delete_port_mapping_action_connect (GUPnPService *service,
GCallback callback,
gpointer userdata);
>> >>>> >>>>>>>>> *_action_connect()
>>>>>>> >>>> >>>>>
>>>>>>>>> >>> (action handler)
>>>>>>> >>>. >>> >>>>>>> >>
>>>>> *_action_get() > *_action_set() >>>>
>>>>>>>>> >>> >>>> >>>>>>
>> >>>>> >>>>>>>> >>>
>>>>>>> >>>. >>> >>>>>>>>>
>> >>>>> >>>>> >>>>> >>>>>
>>>> >> *_variable_notify() >>>> >>>>>
>>>>>>>> >>>>>>> >>> (>>
>>> >>>>>> >>>>).
typedef gchar *(*igd_external_ip_address_query_callback) (GUPnPService *service,
gpointer userdata);
gulong
igd_external_ip_address_query_connect (GUPnPService *service,
igd_external_ip_address_query_callback callback,
gpointer userdata);
void
igd_external_ip_address_variable_notify (GUPnPService *service,
const gchar *external_ip_address);
>> >>>> *_query_connect() >>>>>>>
>>>> >>>> >>>> >>>>>>>>>
>>>>>>>> >>>> >>>>>
>>>>>>> >>>. >>>>> >>>>>>>
>>> >>>>>>>>> >>>> >>>>>
>>>>>>>>>>>>>>> >>>>>
>>>>> >>>.
>>>> >>> >>>>>>> >> >>>>>
>>> >>>>> >>>>>>>: gupnp-binding-tool-1.6
--prefix igd --mode server WANIPConnection.xml.
GUPnP 1.6.10 GUPNP-BINDING-TOOL(1)