~ubuntu-branches/ubuntu/vivid/wpasupplicant/vivid

« back to all changes in this revision

Viewing changes to ctrl_iface_dbus_handlers.h

  • Committer: Bazaar Package Importer
  • Author(s): Kel Modderman
  • Date: 2006-10-05 08:04:01 UTC
  • mfrom: (1.1.5 upstream) (3 etch)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20061005080401-r8lqlix4390yos7b
Tags: 0.5.5-2
* Update madwifi headers to latest SVN. (Closes: #388316)
* Remove failed attempt at action locking. [debian/functions.sh,
  debian/wpa_action.sh]
* Add hysteresis checking functions, to avoid "event loops" while
  using wpa-roam. [debian/functions.sh, debian/wpa_action.sh]
* Change of co-maintainer email address.
* Add ishex() function to functions.sh to determine wpa-psk value type in
  plaintext or hex. This effectively eliminates the need for the bogus and
  somewhat confusing wpa-passphrase contruct specific to our scripts and
  allows wpa-psk to work with either a 8 to 63 character long plaintext
  string or 64 character long hex string.
* Adjust README.modes to not refer to the redundant wpa-passphrase stuff.
* Add big fat NOTE about acceptable wpa-psk's to top of example gallery.
* Strip surrounding quotes from wpa-ssid if present, instead of just whining
  about them.
* Update email address in copyright blurb of functions.sh, ifupdown.sh and
  wpa_action.sh.  

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * WPA Supplicant / dbus-based control interface
 
3
 * Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License version 2 as
 
7
 * published by the Free Software Foundation.
 
8
 *
 
9
 * Alternatively, this software may be distributed under the terms of BSD
 
10
 * license.
 
11
 *
 
12
 * See README and COPYING for more details.
 
13
 */
 
14
 
 
15
#ifndef CTRL_IFACE_DBUS_HANDLERS_H
 
16
#define CTRL_IFACE_DBUS_HANDLERS_H
 
17
 
 
18
#ifdef CONFIG_CTRL_IFACE_DBUS
 
19
 
 
20
DBusMessage * wpas_dbus_new_invalid_iface_error(DBusMessage *message);
 
21
 
 
22
DBusMessage * wpas_dbus_global_add_interface(DBusMessage *message,
 
23
                                             struct wpa_global *global);
 
24
 
 
25
DBusMessage * wpas_dbus_global_remove_interface(DBusMessage *message,
 
26
                                                struct wpa_global *global);
 
27
 
 
28
DBusMessage * wpas_dbus_global_get_interface(DBusMessage *message,
 
29
                                             struct wpa_global *global);
 
30
 
 
31
DBusMessage * wpas_dbus_iface_scan(DBusMessage *message,
 
32
                                   struct wpa_supplicant *wpa_s);
 
33
 
 
34
DBusMessage * wpas_dbus_iface_scan_results(DBusMessage *message,
 
35
                                           struct wpa_supplicant *wpa_s);
 
36
 
 
37
DBusMessage * wpas_dbus_bssid_properties(DBusMessage *message,
 
38
                                         struct wpa_supplicant *wpa_s,
 
39
                                         struct wpa_scan_result *res);
 
40
 
 
41
DBusMessage * wpas_dbus_iface_capabilities(DBusMessage *message,
 
42
                                           struct wpa_supplicant *wpa_s);
 
43
 
 
44
DBusMessage * wpas_dbus_iface_add_network(DBusMessage *message,
 
45
                                          struct wpa_supplicant *wpa_s);
 
46
 
 
47
DBusMessage * wpas_dbus_iface_remove_network(DBusMessage *message,
 
48
                                             struct wpa_supplicant *wpa_s);
 
49
 
 
50
DBusMessage * wpas_dbus_iface_set_network(DBusMessage *message,
 
51
                                          struct wpa_supplicant *wpa_s,
 
52
                                          struct wpa_ssid *ssid);
 
53
 
 
54
DBusMessage * wpas_dbus_iface_enable_network(DBusMessage *message,
 
55
                                             struct wpa_supplicant *wpa_s,
 
56
                                             struct wpa_ssid *ssid);
 
57
 
 
58
DBusMessage * wpas_dbus_iface_disable_network(DBusMessage *message,
 
59
                                              struct wpa_supplicant *wpa_s,
 
60
                                              struct wpa_ssid *ssid);
 
61
 
 
62
DBusMessage * wpas_dbus_iface_select_network(DBusMessage *message,
 
63
                                             struct wpa_supplicant *wpa_s);
 
64
 
 
65
DBusMessage * wpas_dbus_iface_disconnect(DBusMessage *message,
 
66
                                         struct wpa_supplicant *wpa_s);
 
67
 
 
68
DBusMessage * wpas_dbus_iface_set_ap_scan(DBusMessage *message,
 
69
                                          struct wpa_supplicant *wpa_s);
 
70
 
 
71
#endif /* CONFIG_CTRL_IFACE_DBUS */
 
72
 
 
73
#endif /* CTRL_IFACE_DBUS_HANDLERS_H */
 
74