Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/eventhandler.h
Show First 20 Lines • Show All 271 Lines • ▼ Show 20 Lines | |||||
/* Veto ada attachment */ | /* Veto ada attachment */ | ||||
struct cam_path; | struct cam_path; | ||||
struct ata_params; | struct ata_params; | ||||
typedef void (*ada_probe_veto_fn)(void *, struct cam_path *, | typedef void (*ada_probe_veto_fn)(void *, struct cam_path *, | ||||
struct ata_params *, int *); | struct ata_params *, int *); | ||||
EVENTHANDLER_DECLARE(ada_probe_veto, ada_probe_veto_fn); | EVENTHANDLER_DECLARE(ada_probe_veto, ada_probe_veto_fn); | ||||
/* ifup/ifdown events */ | |||||
#define IFNET_EVENT_UP 0 | |||||
#define IFNET_EVENT_DOWN 1 | |||||
struct ifnet; | |||||
typedef void (*ifnet_event_fn)(void *, struct ifnet *ifp, int event); | |||||
EVENTHANDLER_DECLARE(ifnet_event, ifnet_event_fn); | |||||
#endif /* _SYS_EVENTHANDLER_H_ */ | #endif /* _SYS_EVENTHANDLER_H_ */ |