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 #define LUSTRE_MGMTCLI_NAME "mgmt_cli"
15 /* For the convenience and type-safety of inter_module_getters. */
21 * The caller is responsible for ensuring that relevant_uuid -- if non-NULL --
22 * points to valid memory until deregister is called. If relevant_uuid is NULL,
23 * all management events will be propagated to the registrant. Notice that
24 * deregister doesn't take a relevant_uuid-matching parameter; I should probably
25 * fix that at some point.
27 typedef int (*mgmtcli_register_for_events_t)(struct obd_device *mgmt_obd,
28 struct obd_device *notify_obd,
29 struct obd_uuid *relevant_uuid);
31 typedef int (*mgmtcli_deregister_for_events_t)(struct obd_device *mgmt_obd,
32 struct obd_device *notify_obd);
34 #endif /* LUSTRE_MGMT_H */