wps_upnp_event.c File Reference

UPnP WPS Device - Event processing. 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"
Include dependency graph for wps_upnp_event.c:

Go to the source code of this file.

Data Structures

struct  wps_event_

Defines

#define MAX_EVENTS_QUEUED   20
#define EVENT_TIMEOUT_SEC   30
#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)
 Add a new event to a queue.

Detailed Description

UPnP WPS Device - Event processing.

Copyright
Copyright (c) 2000-2003 Intel Corporation Copyright (c) 2006-2007 Sony Corporation Copyright (c) 2008-2009 Atheros Communications Copyright (c) 2009, Jouni Malinen <j@w1.fi>

See wps_upnp.c for more details on licensing and code history.

Definition in file wps_upnp_event.c.


Function Documentation

int event_add ( struct subscription s,
const struct wpabuf data 
)

Add a new event to a queue.

Parameters:
s Subscription
data Event data (is copied; caller retains ownership)
Returns:
0 on success, 1 on error

Definition at line 387 of file wps_upnp_event.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:24:46 2009 for hostapd by  doxygen 1.6.1