aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_backend.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2014-06-14 17:47:44 +0000
committerAlexander Motin <mav@FreeBSD.org>2014-06-14 17:47:44 +0000
commit57a5db13b7cb13eff1803c1c2ea10612bd51faba (patch)
tree73f6932a5cc616608bb71ef5c954fa1860722252 /sys/cam/ctl/ctl_backend.h
parent475c3a653d0575dae528b1662d2a2256b1daabf4 (diff)
downloadsrc-57a5db13b7cb13eff1803c1c2ea10612bd51faba.tar.gz
src-57a5db13b7cb13eff1803c1c2ea10612bd51faba.zip
Implement small KPI to access LUN options instead doing it by hands.
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=267481
Diffstat (limited to 'sys/cam/ctl/ctl_backend.h')
-rw-r--r--sys/cam/ctl/ctl_backend.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/cam/ctl/ctl_backend.h b/sys/cam/ctl/ctl_backend.h
index ad93119afc97..640a7f990e21 100644
--- a/sys/cam/ctl/ctl_backend.h
+++ b/sys/cam/ctl/ctl_backend.h
@@ -301,6 +301,14 @@ int ctl_lun_online(struct ctl_be_lun *be_lun);
*/
void ctl_lun_capacity_changed(struct ctl_be_lun *be_lun);
+/*
+ * KPI to manipulate LUN options
+ */
+struct ctl_lun_req;
+void ctl_init_opts(struct ctl_be_lun *be_lun, struct ctl_lun_req *req);
+void ctl_free_opts(struct ctl_be_lun *be_lun);
+char * ctl_get_opt(struct ctl_be_lun *be_lun, const char *name);
+
#endif /* _KERNEL */
#endif /* _CTL_BACKEND_H_ */