Method

AravisGvDeviceget_current_ip

Declaration [src]

gboolean
arv_gv_device_get_current_ip (
  ArvGvDevice* gv_device,
  GInetAddress** ip,
  GInetAddressMask** mask,
  GInetAddress** gateway,
  GError** error
)

Description [src]

Get the current IP address setting of device.

Available since:0.8.22

Parameters

ip GInetAddress**
 

A IP address placeholder.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
mask GInetAddressMask**
 

A netmask placeholder.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
gateway GInetAddress**
 

A gateway IP address placeholder.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success.