OobsIfaceISDN

OobsIfaceISDN — Object that represents an individual ISDN interface.

Synopsis




                    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);

Description

Details

OobsIfaceISDN

typedef struct {
  OobsIface parent;
} OobsIfaceISDN;


oobs_iface_isdn_set_login ()

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.

oobs_iface_isdn_get_login ()

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.

oobs_iface_isdn_set_password ()

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.

oobs_iface_isdn_set_phone_number ()

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.

oobs_iface_isdn_get_phone_number ()

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.

oobs_iface_isdn_set_phone_prefix ()

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.

oobs_iface_isdn_get_phone_prefix ()

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.

oobs_iface_isdn_set_default_gateway ()

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.

oobs_iface_isdn_get_default_gateway ()

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.

oobs_iface_isdn_set_use_peer_dns ()

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.

oobs_iface_isdn_get_use_peer_dns ()

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.

oobs_iface_isdn_set_persistent ()

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.

oobs_iface_isdn_get_persistent ()

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.

oobs_iface_isdn_set_peer_noauth ()

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.

oobs_iface_isdn_get_peer_noauth ()

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.