![]() |
![]() |
![]() |
libnm-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define NM_ACCESS_POINT_FLAGS #define NM_ACCESS_POINT_WPA_FLAGS #define NM_ACCESS_POINT_RSN_FLAGS #define NM_ACCESS_POINT_SSID #define NM_ACCESS_POINT_FREQUENCY #define NM_ACCESS_POINT_HW_ADDRESS #define NM_ACCESS_POINT_MODE #define NM_ACCESS_POINT_MAX_BITRATE #define NM_ACCESS_POINT_STRENGTH NMAccessPoint; NMAccessPointClass; GObject * nm_access_point_new (DBusGConnection *connection
,const char *path
); guint32 nm_access_point_get_flags (NMAccessPoint *ap
); guint32 nm_access_point_get_wpa_flags (NMAccessPoint *ap
); guint32 nm_access_point_get_rsn_flags (NMAccessPoint *ap
); const GByteArray * nm_access_point_get_ssid (NMAccessPoint *ap
); guint32 nm_access_point_get_frequency (NMAccessPoint *ap
); const char * nm_access_point_get_hw_address (NMAccessPoint *ap
); NM80211Mode nm_access_point_get_mode (NMAccessPoint *ap
); guint32 nm_access_point_get_max_bitrate (NMAccessPoint *ap
); guint8 nm_access_point_get_strength (NMAccessPoint *ap
);
typedef struct { NMObjectClass parent; /* Padding for future expansion */ void (*_reserved1) (void); void (*_reserved2) (void); void (*_reserved3) (void); void (*_reserved4) (void); void (*_reserved5) (void); void (*_reserved6) (void); } NMAccessPointClass;
GObject * nm_access_point_new (DBusGConnection *connection
,const char *path
);
Creates a new NMAccessPoint.
|
the DBusGConnection |
|
the DBusobject path of the access point |
Returns : |
a new access point |
guint32 nm_access_point_get_flags (NMAccessPoint *ap
);
Gets the flags of the access point
|
a NMAccessPoint |
Returns : |
the flags |
guint32 nm_access_point_get_wpa_flags (NMAccessPoint *ap
);
Gets the WPA flags of the access point.
|
a NMAccessPoint |
Returns : |
the WPA flags |
guint32 nm_access_point_get_rsn_flags (NMAccessPoint *ap
);
Gets the RSN flags of the access point.
|
a NMAccessPoint |
Returns : |
the RSN flags |
const GByteArray * nm_access_point_get_ssid (NMAccessPoint *ap
);
Gets the SSID of the access point.
|
a NMAccessPoint |
Returns : |
the GByteArray containing the SSID. This is the internal copy used by the access point, and must not be modified. |
guint32 nm_access_point_get_frequency (NMAccessPoint *ap
);
Gets the frequency of the access point.
|
a NMAccessPoint |
Returns : |
the frequency |
const char * nm_access_point_get_hw_address (NMAccessPoint *ap
);
Gets the hardware (MAC) address of the access point.
|
a NMAccessPoint |
Returns : |
the hardware address of the access point. This is the internal string used by the access point and must not be modified. |
NM80211Mode nm_access_point_get_mode (NMAccessPoint *ap
);
Gets the mode of the access point.
|
a NMAccessPoint |
Returns : |
the mode |
guint32 nm_access_point_get_max_bitrate (NMAccessPoint *ap
);
Gets the maximum bit rate of the access point.
|
a NMAccessPoint |
Returns : |
the maximum bit rate |
guint8 nm_access_point_get_strength (NMAccessPoint *ap
);
Gets the current signal strength of the access point.
|
a NMAccessPoint |
Returns : |
the signal strength |