head 1.6; access; symbols netbsd-10-0-RELEASE:1.6 netbsd-10-0-RC6:1.6 netbsd-10-0-RC5:1.6 netbsd-10-0-RC4:1.6 netbsd-10-0-RC3:1.6 netbsd-10-0-RC2:1.6 netbsd-10-0-RC1:1.6 netbsd-10:1.6.0.74 netbsd-10-base:1.6 netbsd-9-3-RELEASE:1.6 cjep_sun2x-base1:1.6 cjep_sun2x:1.6.0.72 cjep_sun2x-base:1.6 cjep_staticlib_x-base1:1.6 netbsd-9-2-RELEASE:1.6 cjep_staticlib_x:1.6.0.70 cjep_staticlib_x-base:1.6 netbsd-9-1-RELEASE:1.6 phil-wifi-20200421:1.6 phil-wifi-20200411:1.6 is-mlppp:1.6.0.68 is-mlppp-base:1.6 phil-wifi-20200406:1.6 netbsd-8-2-RELEASE:1.6 netbsd-9-0-RELEASE:1.6 netbsd-9-0-RC2:1.6 netbsd-9-0-RC1:1.6 phil-wifi-20191119:1.6 netbsd-9:1.6.0.66 netbsd-9-base:1.6 phil-wifi-20190609:1.6 netbsd-8-1-RELEASE:1.6 netbsd-8-1-RC1:1.6 pgoyette-compat-merge-20190127:1.6 pgoyette-compat-20190127:1.6 pgoyette-compat-20190118:1.6 pgoyette-compat-1226:1.6 pgoyette-compat-1126:1.6 pgoyette-compat-1020:1.6 pgoyette-compat-0930:1.6 pgoyette-compat-0906:1.6 netbsd-7-2-RELEASE:1.6 pgoyette-compat-0728:1.6 netbsd-8-0-RELEASE:1.6 phil-wifi:1.6.0.64 phil-wifi-base:1.6 pgoyette-compat-0625:1.6 netbsd-8-0-RC2:1.6 pgoyette-compat-0521:1.6 pgoyette-compat-0502:1.6 pgoyette-compat-0422:1.6 netbsd-8-0-RC1:1.6 pgoyette-compat-0415:1.6 pgoyette-compat-0407:1.6 pgoyette-compat-0330:1.6 pgoyette-compat-0322:1.6 pgoyette-compat-0315:1.6 netbsd-7-1-2-RELEASE:1.6 pgoyette-compat:1.6.0.62 pgoyette-compat-base:1.6 netbsd-7-1-1-RELEASE:1.6 matt-nb8-mediatek:1.6.0.60 matt-nb8-mediatek-base:1.6 perseant-stdc-iso10646:1.6.0.58 perseant-stdc-iso10646-base:1.6 netbsd-8:1.6.0.56 netbsd-8-base:1.6 prg-localcount2-base3:1.6 prg-localcount2-base2:1.6 prg-localcount2-base1:1.6 prg-localcount2:1.6.0.54 prg-localcount2-base:1.6 pgoyette-localcount-20170426:1.6 bouyer-socketcan-base1:1.6 pgoyette-localcount-20170320:1.6 netbsd-7-1:1.6.0.52 netbsd-7-1-RELEASE:1.6 netbsd-7-1-RC2:1.6 netbsd-7-nhusb-base-20170116:1.6 bouyer-socketcan:1.6.0.50 bouyer-socketcan-base:1.6 pgoyette-localcount-20170107:1.6 netbsd-7-1-RC1:1.6 pgoyette-localcount-20161104:1.6 netbsd-7-0-2-RELEASE:1.6 localcount-20160914:1.6 netbsd-7-nhusb:1.6.0.48 netbsd-7-nhusb-base:1.6 pgoyette-localcount-20160806:1.6 pgoyette-localcount-20160726:1.6 pgoyette-localcount:1.6.0.46 pgoyette-localcount-base:1.6 netbsd-7-0-1-RELEASE:1.6 netbsd-7-0:1.6.0.44 netbsd-7-0-RELEASE:1.6 netbsd-7-0-RC3:1.6 netbsd-7-0-RC2:1.6 netbsd-7-0-RC1:1.6 netbsd-5-2-3-RELEASE:1.6 netbsd-5-1-5-RELEASE:1.6 netbsd-6-0-6-RELEASE:1.6 netbsd-6-1-5-RELEASE:1.6 netbsd-7:1.6.0.42 netbsd-7-base:1.6 yamt-pagecache-base9:1.6 yamt-pagecache-tag8:1.6 netbsd-6-1-4-RELEASE:1.6 netbsd-6-0-5-RELEASE:1.6 tls-earlyentropy:1.6.0.40 tls-earlyentropy-base:1.6 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6 riastradh-drm2-base3:1.6 netbsd-6-1-3-RELEASE:1.6 netbsd-6-0-4-RELEASE:1.6 netbsd-5-2-2-RELEASE:1.6 netbsd-5-1-4-RELEASE:1.6 netbsd-6-1-2-RELEASE:1.6 netbsd-6-0-3-RELEASE:1.6 netbsd-5-2-1-RELEASE:1.6 netbsd-5-1-3-RELEASE:1.6 netbsd-6-1-1-RELEASE:1.6 riastradh-drm2-base2:1.6 riastradh-drm2-base1:1.6 riastradh-drm2:1.6.0.32 riastradh-drm2-base:1.6 netbsd-6-1:1.6.0.38 netbsd-6-0-2-RELEASE:1.6 netbsd-6-1-RELEASE:1.6 khorben-n900:1.6.0.36 netbsd-6-1-RC4:1.6 netbsd-6-1-RC3:1.6 agc-symver:1.6.0.34 agc-symver-base:1.6 netbsd-6-1-RC2:1.6 netbsd-6-1-RC1:1.6 yamt-pagecache-base8:1.6 netbsd-5-2:1.6.0.30 netbsd-6-0-1-RELEASE:1.6 yamt-pagecache-base7:1.6 netbsd-5-2-RELEASE:1.6 netbsd-5-2-RC1:1.6 matt-nb6-plus-nbase:1.6 yamt-pagecache-base6:1.6 netbsd-6-0:1.6.0.28 netbsd-6-0-RELEASE:1.6 netbsd-6-0-RC2:1.6 tls-maxphys:1.6.0.26 tls-maxphys-base:1.6 matt-nb6-plus:1.6.0.24 matt-nb6-plus-base:1.6 netbsd-6-0-RC1:1.6 yamt-pagecache-base5:1.6 yamt-pagecache-base4:1.6 netbsd-6:1.6.0.22 netbsd-6-base:1.6 netbsd-5-1-2-RELEASE:1.6 netbsd-5-1-1-RELEASE:1.6 yamt-pagecache-base3:1.6 yamt-pagecache-base2:1.6 yamt-pagecache:1.6.0.4 yamt-pagecache-base:1.6 cherry-xenmp:1.6.0.20 cherry-xenmp-base:1.6 bouyer-quota2-nbase:1.6 bouyer-quota2:1.6.0.18 bouyer-quota2-base:1.6 matt-mips64-premerge-20101231:1.6 matt-nb5-mips64-premerge-20101231:1.6 matt-nb5-pq3:1.6.0.16 matt-nb5-pq3-base:1.6 netbsd-5-1:1.6.0.14 netbsd-5-1-RELEASE:1.6 netbsd-5-1-RC4:1.6 matt-nb5-mips64-k15:1.6 netbsd-5-1-RC3:1.6 netbsd-5-1-RC2:1.6 netbsd-5-1-RC1:1.6 netbsd-5-0-2-RELEASE:1.6 matt-nb5-mips64-premerge-20091211:1.6 matt-premerge-20091211:1.6 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.6 matt-nb4-mips64-k7-u2a-k9b:1.6 matt-nb5-mips64-u1-k1-k5:1.6 matt-nb5-mips64:1.6.0.12 netbsd-5-0-1-RELEASE:1.6 jym-xensuspend-nbase:1.6 netbsd-5-0:1.6.0.10 netbsd-5-0-RELEASE:1.6 netbsd-5-0-RC4:1.6 netbsd-5-0-RC3:1.6 netbsd-5-0-RC2:1.6 jym-xensuspend:1.6.0.8 jym-xensuspend-base:1.6 netbsd-5-0-RC1:1.6 netbsd-5:1.6.0.6 netbsd-5-base:1.6 matt-mips64-base2:1.6 matt-mips64:1.5.0.36 netbsd-4-0-1-RELEASE:1.5 wrstuden-revivesa-base-3:1.6 wrstuden-revivesa-base-2:1.6 wrstuden-fixsa-newbase:1.5 wrstuden-revivesa-base-1:1.6 yamt-pf42-base4:1.6 yamt-pf42-base3:1.6 hpcarm-cleanup-nbase:1.6 yamt-pf42-baseX:1.5 yamt-pf42-base2:1.6 wrstuden-revivesa:1.6.0.2 wrstuden-revivesa-base:1.6 yamt-pf42:1.5.0.34 yamt-pf42-base:1.5 keiichi-mipv6:1.5.0.32 keiichi-mipv6-base:1.5 matt-armv6-nbase:1.5 matt-armv6-prevmlocking:1.5 wrstuden-fixsa-base-1:1.5 netbsd-4-0:1.5.0.30 netbsd-4-0-RELEASE:1.5 cube-autoconf:1.5.0.28 cube-autoconf-base:1.5 netbsd-4-0-RC5:1.5 netbsd-4-0-RC4:1.5 netbsd-4-0-RC3:1.5 netbsd-4-0-RC2:1.5 netbsd-4-0-RC1:1.5 matt-armv6:1.5.0.26 matt-armv6-base:1.5 matt-mips64-base:1.5 hpcarm-cleanup:1.5.0.24 hpcarm-cleanup-base:1.5 netbsd-3-1-1-RELEASE:1.5 netbsd-3-0-3-RELEASE:1.5 wrstuden-fixsa:1.5.0.22 wrstuden-fixsa-base:1.5 abandoned-netbsd-4-base:1.5 abandoned-netbsd-4:1.5.0.16 netbsd-3-1:1.5.0.18 netbsd-3-1-RELEASE:1.5 netbsd-3-0-2-RELEASE:1.5 netbsd-3-1-RC4:1.5 netbsd-3-1-RC3:1.5 netbsd-3-1-RC2:1.5 netbsd-3-1-RC1:1.5 netbsd-4:1.5.0.20 netbsd-4-base:1.5 netbsd-3-0-1-RELEASE:1.5 netbsd-3-0:1.5.0.14 netbsd-3-0-RELEASE:1.5 netbsd-3-0-RC6:1.5 netbsd-3-0-RC5:1.5 netbsd-3-0-RC4:1.5 netbsd-3-0-RC3:1.5 netbsd-3-0-RC2:1.5 netbsd-3-0-RC1:1.5 netbsd-2-0-3-RELEASE:1.5 netbsd-2-1:1.5.0.12 netbsd-2-1-RELEASE:1.5 netbsd-2-1-RC6:1.5 netbsd-2-1-RC5:1.5 netbsd-2-1-RC4:1.5 netbsd-2-1-RC3:1.5 netbsd-2-1-RC2:1.5 netbsd-2-1-RC1:1.5 netbsd-2-0-2-RELEASE:1.5 netbsd-3:1.5.0.10 netbsd-3-base:1.5 netbsd-2-0-1-RELEASE:1.5 netbsd-2:1.5.0.8 netbsd-2-base:1.5 netbsd-2-0-RELEASE:1.5 netbsd-2-0-RC5:1.5 netbsd-2-0-RC4:1.5 netbsd-2-0-RC3:1.5 netbsd-2-0-RC2:1.5 netbsd-2-0-RC1:1.5 netbsd-2-0:1.5.0.6 netbsd-2-0-base:1.5 netbsd-1-6-PATCH002-RELEASE:1.5 netbsd-1-6-PATCH002:1.5 netbsd-1-6-PATCH002-RC4:1.5 netbsd-1-6-PATCH002-RC3:1.5 netbsd-1-6-PATCH002-RC2:1.5 netbsd-1-6-PATCH002-RC1:1.5 netbsd-1-6-PATCH001:1.5 netbsd-1-6-PATCH001-RELEASE:1.5 netbsd-1-6-PATCH001-RC3:1.5 netbsd-1-6-PATCH001-RC2:1.5 netbsd-1-6-PATCH001-RC1:1.5 fvdl_fs64_base:1.5 netbsd-1-6-RELEASE:1.5 netbsd-1-6-RC3:1.5 netbsd-1-6-RC2:1.5 netbsd-1-6-RC1:1.5 netbsd-1-6:1.5.0.2 netbsd-1-6-base:1.5 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH002:1.3 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-5-BETA2:1.3 netbsd-1-5-BETA:1.3 netbsd-1-4-PATCH003:1.1.1.1 netbsd-1-5-ALPHA2:1.3 netbsd-1-5:1.3.0.8 netbsd-1-5-base:1.3 minoura-xpg4dl:1.3.0.6 minoura-xpg4dl-base:1.3 netbsd-1-4-PATCH002:1.1.1.1 wrstuden-devbsize-19991221:1.3 wrstuden-devbsize:1.3.0.4 wrstuden-devbsize-base:1.3 comdex-fall-1999:1.3.0.2 comdex-fall-1999-base:1.3 netbsd-1-4-PATCH001:1.1.1.1 netbsd-1-4-RELEASE:1.1.1.1 netbsd-1-4:1.1.1.1.0.6 netbsd-1-4-base:1.1.1.1 netbsd-1-3-PATCH003:1.1.1.1 netbsd-1-3-PATCH003-CANDIDATE2:1.1.1.1 netbsd-1-3-PATCH003-CANDIDATE1:1.1.1.1 netbsd-1-3-PATCH003-CANDIDATE0:1.1.1.1 netbsd-1-3-PATCH002:1.1.1.1 netbsd-1-3-PATCH001:1.1.1.1 netbsd-1-3-RELEASE:1.1.1.1 netbsd-1-3-BETA:1.1.1.1 netbsd-1-3:1.1.1.1.0.2 netbsd-1-3-base:1.1.1.1 netbsd-1-2-PATCH001:1.1.1.1 netbsd-1-2-RELEASE:1.1.1.1 netbsd-1-2-BETA:1.1.1.1 netbsd-1-2-base:1.1.1.1 netbsd-1-2:1.1.1.1.0.4 chio-960402:1.1.1.1 JRT:1.1.1; locks; strict; comment @ * @; 1.6 date 2008.04.28.20.22.51; author martin; state Exp; branches 1.6.64.1; next 1.5; 1.5 date 2002.03.09.19.32.03; author wiz; state Exp; branches 1.5.34.1; next 1.4; 1.4 date 2001.09.13.10.00.44; author wiz; state Exp; branches; next 1.3; 1.3 date 99.09.09.23.24.29; author thorpej; state Exp; branches; next 1.2; 1.2 date 99.08.05.02.47.10; author hubertf; state Exp; branches; next 1.1; 1.1 date 96.04.03.00.34.38; author thorpej; state Exp; branches 1.1.1.1; next ; 1.6.64.1 date 2020.04.21.18.41.02; author martin; state dead; branches; next 1.6.64.2; commitid 86tA4aEmdr3VCh5C; 1.6.64.2 date 2020.04.21.19.37.30; author martin; state Exp; branches; next ; commitid x6IB64bYH9UmWh5C; 1.5.34.1 date 2008.05.18.12.28.44; author yamt; state Exp; branches; next ; 1.1.1.1 date 96.04.03.00.34.38; author thorpej; state Exp; branches; next ; desc @@ 1.6 log @Remove clause 3 and 4 from TNF licenses @ text @/* $NetBSD: defs.h,v 1.5 2002/03/09 19:32:03 wiz Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, * NASA Ames Research Center. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #ifndef _DEFS_H_ #define _DEFS_H_ struct element_type { const char *et_name; /* name; i.e. "picker, "slot", etc. */ int et_type; /* type number */ }; struct changer_command { const char *cc_name; /* command name */ const char *cc_args; /* usage string */ /* command handler */ int (*cc_handler)(const char *, int, char **); }; struct special_word { const char *sw_name; /* special word */ int sw_value; /* token value */ }; /* sw_value */ #define SW_INVERT 1 /* set "invert media" flag */ #define SW_INVERT1 2 /* set "invert media 1" flag */ #define SW_INVERT2 3 /* set "invert media 2" flag */ #define SW_VOLTAGS 4 /* set "retrieve voltags" flags */ /* Environment variable to check for default changer. */ #define CHANGER_ENV_VAR "CHANGER" #endif /* !_DEFS_H_ */ @ 1.6.64.1 log @Sync with HEAD @ text @d1 1 a1 1 /* $NetBSD: defs.h,v 1.6 2008/04/28 20:22:51 martin Exp $ */ @ 1.6.64.2 log @Ooops, restore accidently removed files from merge mishap @ text @@ 1.5 log @Remove a __P(). @ text @d1 1 a1 1 /* $NetBSD: defs.h,v 1.4 2001/09/13 10:00:44 wiz Exp $ */ a18 7 * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the NetBSD * Foundation, Inc. and its contributors. * 4. Neither the name of The NetBSD Foundation nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. @ 1.5.34.1 log @sync with head. @ text @d1 1 a1 1 /* $NetBSD: defs.h,v 1.5 2002/03/09 19:32:03 wiz Exp $ */ d19 7 @ 1.4 log @ANSIfication and KNF fixes by Petri Koistinen via bin/13690. @ text @d1 1 a1 1 /* $NetBSD: defs.h,v 1.3 1999/09/09 23:24:29 thorpej Exp $ */ d52 1 a52 1 int (*cc_handler) __P((const char *, int, char **)); @ 1.3 log @Update for changes to the changer driver. @ text @d1 1 a1 1 /* $NetBSD: defs.h,v 1.2 1999/08/05 02:47:10 hubertf Exp $ */ d40 3 d68 2 @ 1.2 log @Some code cleanup to collect all the usage strings in one place. Asked for and reviewd by Jason thorpe. @ text @d1 1 a1 1 /* $NetBSD: defs.h,v 1.1.1.1 1996/04/03 00:34:38 thorpej Exp $ */ d3 2 a4 2 /* * Copyright (c) 1996 Jason R. Thorpe d7 4 d20 6 a25 5 * must display the following acknowledgements: * This product includes software developed by Jason R. Thorpe * for And Communications, http://www.and.com/ * 4. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. d27 11 a37 11 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. d41 2 a42 2 char *et_name; /* name; i.e. "picker, "slot", etc. */ int et_type; /* type number */ d46 4 a49 4 char *cc_name; /* command name */ /* command handler */ char *cc_args; /* usage string */ int (*cc_handler) __P((char *, int, char **)); d53 2 a54 2 char *sw_name; /* special word */ int sw_value; /* token value */ d58 4 a61 3 #define SW_INVERT 1 /* set "invert media" flag */ #define SW_INVERT1 2 /* set "invert media 1" flag */ #define SW_INVERT2 3 /* set "invert media 2" flag */ d64 1 a64 1 #define CHANGER_ENV_VAR "CHANGER" @ 1.1 log @Initial revision @ text @d1 1 a1 1 /* $NetBSD: $ */ d43 1 @ 1.1.1.1 log @Utility to control media changers from the command line; corresponds to new SCSI changer driver. @ text @@