1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
4 * Copyright (C) 2001 Cluster File Systems, Inc.
6 * This code is issued under the GNU General Public License.
7 * See the file COPYING in this distribution
13 /* For the convenience and type-safety of inter_module_getters. */
19 * The caller is responsible for ensuring that relevant_uuid -- if non-NULL --
20 * points to valid memory until deregister is called. If relevant_uuid is NULL,
21 * all management events will be propagated to the registrant. Notice that
22 * deregister doesn't take a relevant_uuid-matching parameter; I should probably
23 * fix that at some point.
25 typedef int (*mgmtcli_register_for_events_t)(struct obd_device *mgmt_obd,
26 struct obd_device *notify_obd,
27 struct obd_uuid *relevant_uuid);
29 typedef int (*mgmtcli_deregister_for_events_t)(struct obd_device *mgmt_obd,
30 struct obd_device *notify_obd);
32 #endif /* LUSTRE_MGMT_H */