-enum nm_config_file_type {
- NCFT_MGS,
- NCFT_TGT,
-};
-struct nm_config_file *nm_config_file_register(const struct lu_env *env,
- struct dt_object *obj,
- struct local_oid_storage *los,
- enum nm_config_file_type ncf_type);
-void nm_config_file_deregister(const struct lu_env *env,
- struct nm_config_file *ncf,
- enum nm_config_file_type ncf_type);
+struct nm_config_file *nm_config_file_register_mgs(const struct lu_env *env,
+ struct dt_object *obj,
+ struct local_oid_storage *los);
+struct dt_device;
+struct nm_config_file *nm_config_file_register_tgt(const struct lu_env *env,
+ struct dt_device *dev,
+ struct local_oid_storage *los);
+void nm_config_file_deregister_mgs(const struct lu_env *env,
+ struct nm_config_file *ncf);
+void nm_config_file_deregister_tgt(const struct lu_env *env,
+ struct nm_config_file *ncf);