Liboobs (System configuration management) Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
Synopsis
OobsIfacePlip; OobsIfacePlipClass; const gchar* oobs_iface_plip_get_address (OobsIfacePlip *iface
); void oobs_iface_plip_set_address (OobsIfacePlip *iface
,const gchar *address
); const gchar* oobs_iface_plip_get_remote_address (OobsIfacePlip *iface
); void oobs_iface_plip_set_remote_address (OobsIfacePlip *iface
,const gchar *address
);
Details
OobsIfacePlipClass
typedef struct { OobsIfaceClass parent_class; void (*_oobs_padding1) (void); void (*_oobs_padding2) (void); } OobsIfacePlipClass;
oobs_iface_plip_get_address ()
const gchar* oobs_iface_plip_get_address (OobsIfacePlip *iface
);
Returns the local IP address for the interface.
|
An OobsIfacePlip. |
Returns : |
A pointer to the local IP address as a string. This string must not be freed, modified or stored. |
oobs_iface_plip_set_address ()
void oobs_iface_plip_set_address (OobsIfacePlip *iface
,const gchar *address
);
Sets a new local IP address for the interface, overwriting the previous one.
|
An OobsIfacePlip. |
|
a new local IP address for the interface. |
oobs_iface_plip_get_remote_address ()
const gchar* oobs_iface_plip_get_remote_address (OobsIfacePlip *iface
);
Returns the remote IP address for the interface.
|
An OobsIfacePlip. |
Returns : |
A pointer to the remote IP address as a string. This string must not be freed, modified or stored. |
oobs_iface_plip_set_remote_address ()
void oobs_iface_plip_set_remote_address (OobsIfacePlip *iface
,const gchar *address
);
Sets a new remote IP address for the interface, overwriting the previous one.
|
An OobsIfacePlip. |
|
a new remote IP address for the interface. |
Property Details
The "remote-address"
property
"remote-address" gchar* : Read / Write
Remote address for the iface.
Default value: NULL