Deleted Added
full compact
ctl.h (287433) ctl.h (287500)
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: head/sys/cam/ctl/ctl.h 287433 2015-09-03 12:56:57Z mav $
31 * $FreeBSD: head/sys/cam/ctl/ctl.h 287500 2015-09-06 11:23:01Z 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

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

203 STAILQ_ENTRY(ctl_option) links;
204 char *name;
205 char *value;
206};
207typedef STAILQ_HEAD(ctl_options, ctl_option) ctl_options_t;
208
209struct ctl_be_arg;
210void ctl_init_opts(ctl_options_t *opts, int num_args, struct ctl_be_arg *args);
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

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

203 STAILQ_ENTRY(ctl_option) links;
204 char *name;
205 char *value;
206};
207typedef STAILQ_HEAD(ctl_options, ctl_option) ctl_options_t;
208
209struct ctl_be_arg;
210void ctl_init_opts(ctl_options_t *opts, int num_args, struct ctl_be_arg *args);
211void ctl_update_opts(ctl_options_t *opts, int num_args,
212 struct ctl_be_arg *args);
211void ctl_free_opts(ctl_options_t *opts);
212char * ctl_get_opt(ctl_options_t *opts, const char *name);
213int ctl_expand_number(const char *buf, uint64_t *num);
214
215#endif /* _KERNEL */
216
217#endif /* _CTL_H_ */
218
219/*
220 * vim: ts=8
221 */
213void ctl_free_opts(ctl_options_t *opts);
214char * ctl_get_opt(ctl_options_t *opts, const char *name);
215int ctl_expand_number(const char *buf, uint64_t *num);
216
217#endif /* _KERNEL */
218
219#endif /* _CTL_H_ */
220
221/*
222 * vim: ts=8
223 */