ctl.h (275474) | ctl.h (275865) |
---|---|
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 275474 2014-12-04 11:34:19Z mav $ | 31 * $FreeBSD: head/sys/cam/ctl/ctl.h 275865 2014-12-17 17:30:54Z 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 --- 161 unchanged lines hidden (view full) --- 201 char *value; 202}; 203typedef STAILQ_HEAD(ctl_options, ctl_option) ctl_options_t; 204 205struct ctl_be_arg; 206void ctl_init_opts(ctl_options_t *opts, int num_args, struct ctl_be_arg *args); 207void ctl_free_opts(ctl_options_t *opts); 208char * ctl_get_opt(ctl_options_t *opts, const char *name); | 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 --- 161 unchanged lines hidden (view full) --- 201 char *value; 202}; 203typedef STAILQ_HEAD(ctl_options, ctl_option) ctl_options_t; 204 205struct ctl_be_arg; 206void ctl_init_opts(ctl_options_t *opts, int num_args, struct ctl_be_arg *args); 207void ctl_free_opts(ctl_options_t *opts); 208char * ctl_get_opt(ctl_options_t *opts, const char *name); |
209int ctl_expand_number(const char *buf, uint64_t *num); |
|
209 210#endif /* _KERNEL */ 211 212#endif /* _CTL_H_ */ 213 214/* 215 * vim: ts=8 216 */ | 210 211#endif /* _KERNEL */ 212 213#endif /* _CTL_H_ */ 214 215/* 216 * vim: ts=8 217 */ |