Constructor
GioInetAddressMasknew
Declaration
GInetAddressMask*
g_inet_address_mask_new (
GInetAddress* addr,
guint length,
GError** error
)
Description
Creates a new GInetAddressMask
representing all addresses whose
first length
bits match addr
.
Available since: | 2.32 |
Parameters
addr
-
Type:
GInetAddress
A
GInetAddress
.The data is owned by the caller of the function. length
-
Type:
guint
Number of bits of
addr
to use. error
-
Type:
GError **
The return location for a
GError*
, orNULL
.
Return value
Type: GInetAddressMask
A new GInetAddressMask
, or NULL
on error.
The caller of the function takes ownership of the data, and is responsible for freeing it. |