TpaProfile

TpaProfile

Synopsis




#define             TPA_PROFILE_GET_PRIVATE             (obj)
                    TpaProfilePrivate;
                    TpaProfile;
const gchar*        tpa_profile_get_protocol            (TpaProfile *self);
TpaParameter*       tpa_profile_get_parameter           (TpaProfile *self,
                                                         const gchar *name);
GPtrArray*          tpa_profile_get_all_parameters      (TpaProfile *self);
GPtrArray*          tpa_profile_get_mandatory_parameters
                                                        (TpaProfile *self);
GPtrArray*          tpa_profile_get_registration_parameters
                                                        (TpaProfile *self);

Description

Details

TPA_PROFILE_GET_PRIVATE()

#define             TPA_PROFILE_GET_PRIVATE(obj)

obj :

TpaProfilePrivate

typedef struct _TpaProfilePrivate TpaProfilePrivate;


TpaProfile

typedef struct {
    GObject parent;
    TpaProfilePrivate *priv;
} TpaProfile;


tpa_profile_get_protocol ()

const gchar*        tpa_profile_get_protocol            (TpaProfile *self);

Get profile's protocol.

self : TpaProfile instance.
Returns : Profile protocol.

tpa_profile_get_parameter ()

TpaParameter*       tpa_profile_get_parameter           (TpaProfile *self,
                                                         const gchar *name);

Get parameter by name.

self : TpaProfile instance.
name : New Parameter name.
Returns : FALSE if fail.

tpa_profile_get_all_parameters ()

GPtrArray*          tpa_profile_get_all_parameters      (TpaProfile *self);

Get all profile names available.

self : TpaProfile instance.
Returns : GPtrArray with profile names.

tpa_profile_get_mandatory_parameters ()

GPtrArray*          tpa_profile_get_mandatory_parameters
                                                        (TpaProfile *self);

Get all profile names available that are mandatory.

self : TpaProfile instance.
Returns : GPtrArray with profile names.

tpa_profile_get_registration_parameters ()

GPtrArray*          tpa_profile_get_registration_parameters
                                                        (TpaProfile *self);

Get all profile names available that has register flag.

self : TpaProfile instance.
Returns : GPtrArray with profile names.