2007-02-12 09:23:43 +00:00
|
|
|
#ifndef NM_ACCESS_POINT_H
|
|
|
|
|
#define NM_ACCESS_POINT_H
|
|
|
|
|
|
2007-08-09 09:19:57 +00:00
|
|
|
#include <glib/gtypes.h>
|
|
|
|
|
#include <glib-object.h>
|
|
|
|
|
#include "nm-object.h"
|
|
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
2007-02-12 09:23:43 +00:00
|
|
|
#define NM_TYPE_ACCESS_POINT (nm_access_point_get_type ())
|
|
|
|
|
#define NM_ACCESS_POINT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_ACCESS_POINT, NMAccessPoint))
|
|
|
|
|
#define NM_ACCESS_POINT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_ACCESS_POINT, NMAccessPointClass))
|
|
|
|
|
#define NM_IS_ACCESS_POINT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_ACCESS_POINT))
|
|
|
|
|
#define NM_IS_ACCESS_POINT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NM_TYPE_ACCESS_POINT))
|
|
|
|
|
#define NM_ACCESS_POINT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_ACCESS_POINT, NMAccessPointClass))
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
2007-06-22 15:09:02 +00:00
|
|
|
NMObject parent;
|
2007-02-12 09:23:43 +00:00
|
|
|
} NMAccessPoint;
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
2007-06-22 15:09:02 +00:00
|
|
|
NMObjectClass parent;
|
2007-02-12 09:23:43 +00:00
|
|
|
} NMAccessPointClass;
|
|
|
|
|
|
|
|
|
|
GType nm_access_point_get_type (void);
|
|
|
|
|
|
|
|
|
|
NMAccessPoint *nm_access_point_new (DBusGConnection *connection, const char *path);
|
|
|
|
|
|
2007-08-28 14:47:31 +00:00
|
|
|
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);
|
2007-09-19 20:44:37 +00:00
|
|
|
const GByteArray * nm_access_point_get_ssid (NMAccessPoint *ap);
|
2007-09-11 19:31:59 +00:00
|
|
|
guint32 nm_access_point_get_frequency (NMAccessPoint *ap);
|
2007-10-05 16:00:06 +00:00
|
|
|
const char * nm_access_point_get_hw_address (NMAccessPoint *ap);
|
2007-06-27 16:18:52 +00:00
|
|
|
int nm_access_point_get_mode (NMAccessPoint *ap);
|
|
|
|
|
guint32 nm_access_point_get_rate (NMAccessPoint *ap);
|
2007-08-09 09:19:57 +00:00
|
|
|
gint8 nm_access_point_get_strength (NMAccessPoint *ap);
|
|
|
|
|
|
|
|
|
|
G_END_DECLS
|
2007-02-12 09:23:43 +00:00
|
|
|
|
|
|
|
|
#endif /* NM_ACCESS_POINT_H */
|