/***************************************************************************
*
* hotplug.h : definitions for HAL-internal hotplug events
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Licensed under the Academic Free License version 2.1
*
**************************************************************************/
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef HOTPLUG_H
#define HOTPLUG_H
#include <glib.h>
#include "../device.h"
#include "../util.h"
#include "devinfo.h"
typedef enum {
typedef enum {
HOTPLUG_EVENT_DEVFS = 0,
/** Data structure representing a hotplug event; also used for
* coldplugging.
*/
typedef struct
{
HalDevice *d;
union {
struct {
} devfs;
} un;
} HotplugEvent;
void hotplug_event_process_queue (void);
void hotplug_event_end (void *end_token);
void hotplug_queue_now_empty (void);
#endif /* HOTPLUG_H */