~ubuntu-branches/ubuntu/saucy/wpasupplicant/saucy

« back to all changes in this revision

Viewing changes to src/wps/wps_upnp.h

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2010-11-22 09:43:43 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20101122094343-qgsxaojvmswfri77
Tags: 0.7.3-0ubuntu1
* Get wpasupplicant 0.7.3 from Debian's SVN. Leaving 0.7.3-1 as unreleased
  for now.
* Build-Depend on debhelper 8, since the packaging from Debian uses compat 8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
};
26
26
 
27
27
struct upnp_wps_device_ctx {
28
 
        struct wpabuf * (*rx_req_get_device_info)(
29
 
                void *priv, struct upnp_wps_peer *peer);
30
 
        struct wpabuf * (*rx_req_put_message)(
31
 
                void *priv, struct upnp_wps_peer *peer,
32
 
                const struct wpabuf *msg);
33
 
        struct wpabuf * (*rx_req_get_ap_settings)(void *priv,
34
 
                                                  const struct wpabuf *msg);
35
 
        int (*rx_req_set_ap_settings)(void *priv, const struct wpabuf *msg);
36
 
        int (*rx_req_del_ap_settings)(void *priv, const struct wpabuf *msg);
37
 
        struct wpabuf * (*rx_req_get_sta_settings)(void *priv,
38
 
                                                   const struct wpabuf *msg);
39
 
        int (*rx_req_set_sta_settings)(void *priv, const struct wpabuf *msg);
40
 
        int (*rx_req_del_sta_settings)(void *priv, const struct wpabuf *msg);
41
28
        int (*rx_req_put_wlan_response)(
42
29
                void *priv, enum upnp_wps_wlanevent_type ev_type,
43
30
                const u8 *mac_addr, const struct wpabuf *msg,
44
31
                enum wps_msg_type msg_type);
45
 
        int (*rx_req_set_selected_registrar)(void *priv,
46
 
                                             const struct wpabuf *msg);
47
 
        int (*rx_req_reboot_ap)(void *priv, const struct wpabuf *msg);
48
 
        int (*rx_req_reset_ap)(void *priv, const struct wpabuf *msg);
49
 
        int (*rx_req_reboot_sta)(void *priv, const struct wpabuf *msg);
50
 
        int (*rx_req_reset_sta)(void *priv, const struct wpabuf *msg);
 
32
 
 
33
        char *ap_pin;
51
34
};
52
35
 
53
36
struct upnp_wps_device_sm *
63
46
                                    enum upnp_wps_wlanevent_type ev_type,
64
47
                                    const struct wpabuf *msg);
65
48
int upnp_wps_subscribers(struct upnp_wps_device_sm *sm);
 
49
int upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin);
66
50
 
67
51
#endif /* WPS_UPNP_H */