Method

AravisGvDeviceset_persistent_ip_from_string

Declaration [src]

gboolean
arv_gv_device_set_persistent_ip_from_string (
  ArvGvDevice* gv_device,
  const char* ip,
  const char* mask,
  const char* gateway,
  GError** error
)

Description [src]

Sets the persistent IP address to device.

Available since:0.8.22

Parameters

ip const char*
 

IPv4 address in string format.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
mask const char*
 

Netmask in string format.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
gateway const char*
 

Gateway IPv4 address in string format.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success.