Deleted Added
full compact
ctl.h (268673) ctl.h (268678)
1/*-
2 * Copyright (c) 2003 Silicon Graphics International Corp.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 14 unchanged lines hidden (view full) ---

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 * POSSIBILITY OF SUCH DAMAGES.
29 *
30 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl.h#5 $
1/*-
2 * Copyright (c) 2003 Silicon Graphics International Corp.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 14 unchanged lines hidden (view full) ---

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 * POSSIBILITY OF SUCH DAMAGES.
29 *
30 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl.h#5 $
31 * $FreeBSD: stable/10/sys/cam/ctl/ctl.h 268673 2014-07-15 16:49:35Z mav $
31 * $FreeBSD: stable/10/sys/cam/ctl/ctl.h 268678 2014-07-15 16:58:38Z mav $
32 */
33/*
34 * Function definitions used both within CTL and potentially in various CTL
35 * clients.
36 *
37 * Author: Ken Merry <ken@FreeBSD.org>
38 */
39

--- 141 unchanged lines hidden (view full) ---

181int ctl_config_move_done(union ctl_io *io);
182void ctl_datamove(union ctl_io *io);
183void ctl_done(union ctl_io *io);
184void ctl_data_submit_done(union ctl_io *io);
185void ctl_config_write_done(union ctl_io *io);
186void ctl_portDB_changed(int portnum);
187void ctl_init_isc_msg(void);
188
32 */
33/*
34 * Function definitions used both within CTL and potentially in various CTL
35 * clients.
36 *
37 * Author: Ken Merry <ken@FreeBSD.org>
38 */
39

--- 141 unchanged lines hidden (view full) ---

181int ctl_config_move_done(union ctl_io *io);
182void ctl_datamove(union ctl_io *io);
183void ctl_done(union ctl_io *io);
184void ctl_data_submit_done(union ctl_io *io);
185void ctl_config_write_done(union ctl_io *io);
186void ctl_portDB_changed(int portnum);
187void ctl_init_isc_msg(void);
188
189/*
190 * KPI to manipulate LUN/port options
191 */
192
193struct ctl_option {
194 STAILQ_ENTRY(ctl_option) links;
195 char *name;
196 char *value;
197};
198typedef STAILQ_HEAD(ctl_options, ctl_option) ctl_options_t;
199
200struct ctl_be_arg;
201void ctl_init_opts(ctl_options_t *opts, int num_args, struct ctl_be_arg *args);
202void ctl_free_opts(ctl_options_t *opts);
203char * ctl_get_opt(ctl_options_t *opts, const char *name);
204
189#endif /* _KERNEL */
190
191#endif /* _CTL_H_ */
192
193/*
194 * vim: ts=8
195 */
205#endif /* _KERNEL */
206
207#endif /* _CTL_H_ */
208
209/*
210 * vim: ts=8
211 */