![]() |
![]() |
![]() |
Liboobs (System configuration management) Reference Manual | ![]() |
---|---|---|---|---|
OobsIfaceISDN; void oobs_iface_isdn_set_login (OobsIfaceISDN *iface, const gchar *login); const gchar* oobs_iface_isdn_get_login (OobsIfaceISDN *iface); void oobs_iface_isdn_set_password (OobsIfaceISDN *iface, const gchar *password); void oobs_iface_isdn_set_phone_number (OobsIfaceISDN *iface, const gchar *phone_number); const gchar* oobs_iface_isdn_get_phone_number (OobsIfaceISDN *iface); void oobs_iface_isdn_set_phone_prefix (OobsIfaceISDN *iface, const gchar *phone_prefix); const gchar* oobs_iface_isdn_get_phone_prefix (OobsIfaceISDN *iface); void oobs_iface_isdn_set_default_gateway (OobsIfaceISDN *iface, gboolean default_gw); gboolean oobs_iface_isdn_get_default_gateway (OobsIfaceISDN *iface); void oobs_iface_isdn_set_use_peer_dns (OobsIfaceISDN *iface, gboolean use_peer_dns); gboolean oobs_iface_isdn_get_use_peer_dns (OobsIfaceISDN *iface); void oobs_iface_isdn_set_persistent (OobsIfaceISDN *iface, gboolean persistent); gboolean oobs_iface_isdn_get_persistent (OobsIfaceISDN *iface); void oobs_iface_isdn_set_peer_noauth (OobsIfaceISDN *iface, gboolean use_peer_dns); gboolean oobs_iface_isdn_get_peer_noauth (OobsIfaceISDN *iface);
"default-gw" gboolean : Read / Write "iface-section" gchararray : Read / Write "login" gchararray : Read / Write "password" gchararray : Read / Write "peer-dns" gboolean : Read / Write "peer-noauth" gboolean : Read / Write "persistent" gboolean : Read / Write "phone-number" gchararray : Read / Write "phone-prefix" gchararray : Read / Write
void oobs_iface_isdn_set_login (OobsIfaceISDN *iface, const gchar *login);
Sets a new login for the ISDN connection, overwriting the previous one.
iface : |
An OobsIfaceISDN. |
login : |
a new login for the ISDN connection. |
const gchar* oobs_iface_isdn_get_login (OobsIfaceISDN *iface);
Returns the login used for this ISDN connection.
iface : |
An OobsIfaceISDN. |
Returns : | A pointer to the login. This string must not be freed, modified or stored. |
void oobs_iface_isdn_set_password (OobsIfaceISDN *iface, const gchar *password);
Sets a new password for the ISDN connection, overwriting the previous one.
iface : |
An OobsIfaceISDN. |
password : |
a new password for the ISDN connection. |
void oobs_iface_isdn_set_phone_number (OobsIfaceISDN *iface, const gchar *phone_number);
Sets a new phone number for the ISDN connection, overwriting the previous one.
iface : |
An OobsIfaceISDN. |
phone_number : |
a new phone number for the ISDN connection. |
const gchar* oobs_iface_isdn_get_phone_number (OobsIfaceISDN *iface);
Returns the phone number used for this ISDN connection.
iface : |
An OobsIfaceISDN. |
Returns : | A pointer to the phone number. This string must not be freed, modified or stored. |
void oobs_iface_isdn_set_phone_prefix (OobsIfaceISDN *iface, const gchar *phone_prefix);
Sets a new phone number prefix for the ISDN connection, overwriting the previous one.
iface : |
An OobsIfaceISDN. |
phone_prefix : |
a new phone number prefix for the ISDN connection. |
const gchar* oobs_iface_isdn_get_phone_prefix (OobsIfaceISDN *iface);
Returns the phone number prefix used for this ISDN connection.
iface : |
An OobsIfaceISDN. |
Returns : | A pointer to the phone number prefix. This string must not be freed, modified or stored. |
void oobs_iface_isdn_set_default_gateway (OobsIfaceISDN *iface, gboolean default_gw);
Sets whether the interface is the default gateway to internet.
iface : |
An OobsIfaceISDN. |
default_gw : |
TRUE to make this interface the default gateway to Internet. |
gboolean oobs_iface_isdn_get_default_gateway (OobsIfaceISDN *iface);
Returns whether the interface is the default gateway to Internet.
iface : |
An OobsIfaceISDN. |
Returns : | TRUE if the interface is the default gateway. |
void oobs_iface_isdn_set_use_peer_dns (OobsIfaceISDN *iface, gboolean use_peer_dns);
Sets whether to use the DNS servers that the ISP specifies.
iface : |
An OobsIfaceISDN. |
use_peer_dns : |
TRUE to use DNS servers specified by the ISP. |
gboolean oobs_iface_isdn_get_use_peer_dns (OobsIfaceISDN *iface);
Returns whether the DNS servers specified by the ISP will be used.
iface : |
An OobsIfaceISDN. |
Returns : | TRUE if the DNS servers will be used. |
void oobs_iface_isdn_set_persistent (OobsIfaceISDN *iface, gboolean persistent);
Sets whether the interface will try to reconnect if the connection fails.
iface : |
An OobsIfaceISDN. |
persistent : |
TRUE to try to reconnect if the connection fails. |
gboolean oobs_iface_isdn_get_persistent (OobsIfaceISDN *iface);
Returns whether the interface will try to reconnect if the connection fails.
iface : |
An OobsIfaceISDN. |
Returns : | TRUE if the interface will try to reconnect. |
void oobs_iface_isdn_set_peer_noauth (OobsIfaceISDN *iface, gboolean use_peer_dns);
Sets whether the peer has to authenticate itself.
iface : |
An OobsIfaceISDN. |
use_peer_dns : |
TRUE if the peer has to authenticate itself. |
gboolean oobs_iface_isdn_get_peer_noauth (OobsIfaceISDN *iface);
Returns whether the peer is required to authenticate itself.
iface : |
An OobsIfaceISDN. |
Returns : | TRUE if the peer is required to authenticate itself. |
"default-gw"
property"default-gw" gboolean : Read / Write
Whether to use the iface as the default gateway.
Default value: TRUE
"iface-section"
property"iface-section" gchararray : Read / Write
Name of the wvdial section or the provider name.
Default value: NULL
"login"
property"login" gchararray : Read / Write
Login for the connection.
Default value: NULL
"password"
property"password" gchararray : Read / Write
Password for the connection.
Default value: NULL
"peer-dns"
property"peer-dns" gboolean : Read / Write
Whether to use the ISP DNS.
Default value: TRUE
"peer-noauth"
property"peer-noauth" gboolean : Read / Write
Whether the ISP has to authenticate itself or not.
Default value: TRUE
"persistent"
property"persistent" gboolean : Read / Write
Whether to persist if the connection fails.
Default value: FALSE
"phone-number"
property"phone-number" gchararray : Read / Write
Phone number for the connection.
Default value: NULL
"phone-prefix"
property"phone-prefix" gchararray : Read / Write
Phone prefix for the connection.
Default value: NULL