ntpd-opts.h (182007) | ntpd-opts.h (200576) |
---|---|
1/* 2 * EDIT THIS FILE WITH CAUTION (ntpd-opts.h) 3 * | 1/* 2 * EDIT THIS FILE WITH CAUTION (ntpd-opts.h) 3 * |
4 * It has been AutoGen-ed Sunday August 17, 2008 at 05:20:09 AM EDT | 4 * It has been AutoGen-ed Tuesday December 8, 2009 at 08:13:09 AM EST |
5 * From the definitions ntpd-opts.def 6 * and the template file options 7 * 8 * Generated from AutoOpts 29:0:4 templates. 9 */ 10 11/* 12 * This file was produced by an AutoOpts template. AutoOpts is a 13 * copyrighted work. This header file is not encumbered by AutoOpts 14 * licensing, but is provided under the licensing terms chosen by the 15 * ntpd author or copyright holder. AutoOpts is licensed under 16 * the terms of the LGPL. The redistributable library (``libopts'') is 17 * licensed under the terms of either the LGPL or, at the users discretion, 18 * the BSD license. See the AutoOpts and/or libopts sources for details. 19 * 20 * This source file is copyrighted and licensed under the following terms: 21 * | 5 * From the definitions ntpd-opts.def 6 * and the template file options 7 * 8 * Generated from AutoOpts 29:0:4 templates. 9 */ 10 11/* 12 * This file was produced by an AutoOpts template. AutoOpts is a 13 * copyrighted work. This header file is not encumbered by AutoOpts 14 * licensing, but is provided under the licensing terms chosen by the 15 * ntpd author or copyright holder. AutoOpts is licensed under 16 * the terms of the LGPL. The redistributable library (``libopts'') is 17 * licensed under the terms of either the LGPL or, at the users discretion, 18 * the BSD license. See the AutoOpts and/or libopts sources for details. 19 * 20 * This source file is copyrighted and licensed under the following terms: 21 * |
22 * ntpd copyright 1970-2008 David L. Mills and/or others - all rights reserved | 22 * ntpd copyright 1970-2009 David L. Mills and/or others - all rights reserved |
23 * 24 * see html/copyright.html 25 */ 26/* 27 * This file contains the programmatic interface to the Automated 28 * Options generated for the ntpd program. 29 * These macros are documented in the AutoGen info file in the 30 * "AutoOpts" chapter. Please refer to that doc for usage help. --- 51 unchanged lines hidden (view full) --- 82 INDEX_OPT_DVAR = 27, 83 INDEX_OPT_SLEW = 28, 84 INDEX_OPT_VERSION = 29, 85 INDEX_OPT_HELP = 30, 86 INDEX_OPT_MORE_HELP = 31 87} teOptIndex; 88 89#define OPTION_CT 32 | 23 * 24 * see html/copyright.html 25 */ 26/* 27 * This file contains the programmatic interface to the Automated 28 * Options generated for the ntpd program. 29 * These macros are documented in the AutoGen info file in the 30 * "AutoOpts" chapter. Please refer to that doc for usage help. --- 51 unchanged lines hidden (view full) --- 82 INDEX_OPT_DVAR = 27, 83 INDEX_OPT_SLEW = 28, 84 INDEX_OPT_VERSION = 29, 85 INDEX_OPT_HELP = 30, 86 INDEX_OPT_MORE_HELP = 31 87} teOptIndex; 88 89#define OPTION_CT 32 |
90#define NTPD_VERSION "4.2.4p5" 91#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.4p5" | 90#define NTPD_VERSION "4.2.4p8" 91#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.4p8" |
92 93/* 94 * Interface defines for all options. Replace "n" with the UPPER_CASED 95 * option name (as in the teOptIndex enumeration above). 96 * e.g. HAVE_OPT( IPV4 ) 97 */ 98#define DESC(n) (ntpdOptions.pOptDesc[INDEX_OPT_## n]) 99#define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) --- 214 unchanged lines hidden (view full) --- 314 */ 315#define ERRSKIP_OPTERR STMTS( ntpdOptions.fOptSet &= ~OPTPROC_ERRSTOP ) 316#define ERRSTOP_OPTERR STMTS( ntpdOptions.fOptSet |= OPTPROC_ERRSTOP ) 317#define RESTART_OPT(n) STMTS( \ 318 ntpdOptions.curOptIdx = (n); \ 319 ntpdOptions.pzCurOpt = NULL ) 320#define START_OPT RESTART_OPT(1) 321#define USAGE(c) (*ntpdOptions.pUsageProc)( &ntpdOptions, c ) | 92 93/* 94 * Interface defines for all options. Replace "n" with the UPPER_CASED 95 * option name (as in the teOptIndex enumeration above). 96 * e.g. HAVE_OPT( IPV4 ) 97 */ 98#define DESC(n) (ntpdOptions.pOptDesc[INDEX_OPT_## n]) 99#define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) --- 214 unchanged lines hidden (view full) --- 314 */ 315#define ERRSKIP_OPTERR STMTS( ntpdOptions.fOptSet &= ~OPTPROC_ERRSTOP ) 316#define ERRSTOP_OPTERR STMTS( ntpdOptions.fOptSet |= OPTPROC_ERRSTOP ) 317#define RESTART_OPT(n) STMTS( \ 318 ntpdOptions.curOptIdx = (n); \ 319 ntpdOptions.pzCurOpt = NULL ) 320#define START_OPT RESTART_OPT(1) 321#define USAGE(c) (*ntpdOptions.pUsageProc)( &ntpdOptions, c ) |
322/* extracted from /usr/local/gnu/share/autogen/opthead.tpl near line 360 */ | 322/* extracted from /usr/local/gnu/autogen-5.9.1/share/autogen/opthead.tpl near line 360 */ |
323 324/* * * * * * 325 * 326 * Declare the ntpd option descriptor. 327 */ 328#ifdef __cplusplus 329extern "C" { 330#endif --- 21 unchanged lines hidden --- | 323 324/* * * * * * 325 * 326 * Declare the ntpd option descriptor. 327 */ 328#ifdef __cplusplus 329extern "C" { 330#endif --- 21 unchanged lines hidden --- |