|
wpa_supplicant / hostapd
2.5
|
UPnP WPS Device - Event processing Copyright (c) 2006-2007 Sony Corporation Copyright (c) 2008-2009 Atheros Communications Copyright (c) 2009-2010, Jouni Malinen j@w1.fi More...
#include "includes.h"#include <assert.h>#include "common.h"#include "eloop.h"#include "uuid.h"#include "http_client.h"#include "wps_defs.h"#include "wps_upnp.h"#include "wps_upnp_i.h"Data Structures | |
| struct | wps_event_ |
Macros | |
| #define | MAX_EVENTS_QUEUED 20 /* How far behind queued events */ |
| #define | MAX_FAILURES 10 /* Drop subscription after this many failures */ |
| #define | EVENT_DELAY_SECONDS 0 |
| #define | EVENT_DELAY_MSEC 0 |
Functions | |
| void | event_delete_all (struct subscription *s) |
| void | event_send_all_later (struct upnp_wps_device_sm *sm) |
| void | event_send_stop_all (struct upnp_wps_device_sm *sm) |
| int | event_add (struct subscription *s, const struct wpabuf *data, int probereq) |
| Add a new event to a queue. More... | |
UPnP WPS Device - Event processing Copyright (c) 2006-2007 Sony Corporation Copyright (c) 2008-2009 Atheros Communications Copyright (c) 2009-2010, Jouni Malinen j@w1.fi
See wps_upnp.c for more details on licensing and code history.
| int event_add | ( | struct subscription * | s, |
| const struct wpabuf * | data, | ||
| int | probereq | ||
| ) |
Add a new event to a queue.
| s | Subscription |
| data | Event data (is copied; caller retains ownership) |
| probereq | Whether this is a Probe Request event |
1.8.6