Deleted Added
full compact
dbus_old.h (214501) dbus_old.h (252190)
1/*
2 * WPA Supplicant / dbus-based control interface
3 * Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
4 *
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.
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
13 */
14
15#ifndef CTRL_IFACE_DBUS_H
16#define CTRL_IFACE_DBUS_H
17
18struct wps_credential;
19
20#ifdef CONFIG_CTRL_IFACE_DBUS

--- 56 unchanged lines hidden (view full) ---

77int wpa_supplicant_dbus_ctrl_iface_init(struct wpas_dbus_priv *iface);
78void wpa_supplicant_dbus_notify_scan_results(struct wpa_supplicant *wpa_s);
79void wpa_supplicant_dbus_notify_scanning(struct wpa_supplicant *wpa_s);
80void wpa_supplicant_dbus_notify_state_change(struct wpa_supplicant *wpa_s,
81 enum wpa_states new_state,
82 enum wpa_states old_state);
83void wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s,
84 const struct wps_credential *cred);
7 */
8
9#ifndef CTRL_IFACE_DBUS_H
10#define CTRL_IFACE_DBUS_H
11
12struct wps_credential;
13
14#ifdef CONFIG_CTRL_IFACE_DBUS

--- 56 unchanged lines hidden (view full) ---

71int wpa_supplicant_dbus_ctrl_iface_init(struct wpas_dbus_priv *iface);
72void wpa_supplicant_dbus_notify_scan_results(struct wpa_supplicant *wpa_s);
73void wpa_supplicant_dbus_notify_scanning(struct wpa_supplicant *wpa_s);
74void wpa_supplicant_dbus_notify_state_change(struct wpa_supplicant *wpa_s,
75 enum wpa_states new_state,
76 enum wpa_states old_state);
77void wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s,
78 const struct wps_credential *cred);
79void wpa_supplicant_dbus_notify_certification(struct wpa_supplicant *wpa_s,
80 int depth, const char *subject,
81 const char *cert_hash,
82 const struct wpabuf *cert);
85
86char * wpas_dbus_decompose_object_path(const char *path, char **network,
87 char **bssid);
88
89int wpas_dbus_register_iface(struct wpa_supplicant *wpa_s);
90int wpas_dbus_unregister_iface(struct wpa_supplicant *wpa_s);
91
92

--- 16 unchanged lines hidden (view full) ---

109#define wpa_supplicant_dbus_notify_state_change(w,n,o) do { } while (0)
110
111static inline void
112wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s,
113 const struct wps_credential *cred)
114{
115}
116
83
84char * wpas_dbus_decompose_object_path(const char *path, char **network,
85 char **bssid);
86
87int wpas_dbus_register_iface(struct wpa_supplicant *wpa_s);
88int wpas_dbus_unregister_iface(struct wpa_supplicant *wpa_s);
89
90

--- 16 unchanged lines hidden (view full) ---

107#define wpa_supplicant_dbus_notify_state_change(w,n,o) do { } while (0)
108
109static inline void
110wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s,
111 const struct wps_credential *cred)
112{
113}
114
115static inline void
116wpa_supplicant_dbus_notify_certification(struct wpa_supplicant *wpa_s,
117 int depth, const char *subject,
118 const char *cert_hash,
119 const struct wpabuf *cert)
120{
121}
122
117static inline int
118wpas_dbus_register_iface(struct wpa_supplicant *wpa_s)
119{
120 return 0;
121}
122
123static inline int
124wpas_dbus_unregister_iface(struct wpa_supplicant *wpa_s)
125{
126 return 0;
127}
128
129#endif /* CONFIG_CTRL_IFACE_DBUS */
130
131#endif /* CTRL_IFACE_DBUS_H */
123static inline int
124wpas_dbus_register_iface(struct wpa_supplicant *wpa_s)
125{
126 return 0;
127}
128
129static inline int
130wpas_dbus_unregister_iface(struct wpa_supplicant *wpa_s)
131{
132 return 0;
133}
134
135#endif /* CONFIG_CTRL_IFACE_DBUS */
136
137#endif /* CTRL_IFACE_DBUS_H */