/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.c)
*
- * It has been AutoGen-ed Saturday June 6, 2009 at 07:38:41 AM EDT
+ * It has been AutoGen-ed Thursday June 11, 2009 at 11:04:39 PM UTC
* From the definitions ntpd-opts.def
* and the template file options
*
tSCC zSlew_Name[] = "slew";
#define SLEW_FLAGS (OPTST_DISABLED)
+/*
+ * Usepcc option description:
+ */
+#ifdef SYS_WINNT
+tSCC zUsepccText[] =
+ "Use CPU cycle counter (Windows only)";
+tSCC zUsepcc_NAME[] = "USEPCC";
+tSCC zUsepcc_Name[] = "usepcc";
+#define USEPCC_FLAGS (OPTST_DISABLED)
+
+#else /* disable Usepcc */
+#define VALUE_OPT_USEPCC NO_EQUIVALENT
+#define USEPCC_FLAGS (OPTST_OMITTED | OPTST_NO_INIT)
+#define zUsepccText NULL
+#define zUsepcc_NAME NULL
+#define zUsepcc_Name NULL
+#endif /* SYS_WINNT */
+
+/*
+ * Pccfreq option description:
+ */
+#ifdef SYS_WINNT
+tSCC zPccfreqText[] =
+ "Force CPU cycle counter use (Windows only)";
+tSCC zPccfreq_NAME[] = "PCCFREQ";
+tSCC zPccfreq_Name[] = "pccfreq";
+#define PCCFREQ_FLAGS (OPTST_DISABLED \
+ | OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
+
+#else /* disable Pccfreq */
+#define VALUE_OPT_PCCFREQ NO_EQUIVALENT
+#define PCCFREQ_FLAGS (OPTST_OMITTED | OPTST_NO_INIT)
+#define zPccfreqText NULL
+#define zPccfreq_NAME NULL
+#define zPccfreq_Name NULL
+#endif /* SYS_WINNT */
+
/*
* Help/More_Help/Version option descriptions:
*/
/* desc, NAME, name */ zSlewText, zSlew_NAME, zSlew_Name,
/* disablement strs */ NULL, NULL },
+ { /* entry idx, value */ 29, VALUE_OPT_USEPCC,
+ /* equiv idx, value */ 29, VALUE_OPT_USEPCC,
+ /* equivalenced to */ NO_EQUIVALENT,
+ /* min, max, act ct */ 0, 1, 0,
+ /* opt state flags */ USEPCC_FLAGS, 0,
+ /* last opt argumnt */ { NULL },
+ /* arg list/cookie */ NULL,
+ /* must/cannot opts */ NULL, NULL,
+ /* option proc */ NULL,
+ /* desc, NAME, name */ zUsepccText, zUsepcc_NAME, zUsepcc_Name,
+ /* disablement strs */ NULL, NULL },
+
+ { /* entry idx, value */ 30, VALUE_OPT_PCCFREQ,
+ /* equiv idx, value */ 30, VALUE_OPT_PCCFREQ,
+ /* equivalenced to */ NO_EQUIVALENT,
+ /* min, max, act ct */ 0, 1, 0,
+ /* opt state flags */ PCCFREQ_FLAGS, 0,
+ /* last opt argumnt */ { NULL },
+ /* arg list/cookie */ NULL,
+ /* must/cannot opts */ NULL, NULL,
+ /* option proc */ NULL,
+ /* desc, NAME, name */ zPccfreqText, zPccfreq_NAME, zPccfreq_Name,
+ /* disablement strs */ NULL, NULL },
+
#ifdef NO_OPTIONAL_OPT_ARGS
# define VERSION_OPT_FLAGS OPTST_IMM | OPTST_NO_INIT
#else
NO_EQUIVALENT /* index of '-#' option */,
NO_EQUIVALENT /* index of default opt */
},
- 32 /* full option count */, 29 /* user option count */
+ 34 /* full option count */, 31 /* user option count */
};
/*
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.h)
*
- * It has been AutoGen-ed Saturday June 6, 2009 at 07:38:40 AM EDT
+ * It has been AutoGen-ed Thursday June 11, 2009 at 11:04:34 PM UTC
* From the definitions ntpd-opts.def
* and the template file options
*
INDEX_OPT_VAR = 26,
INDEX_OPT_DVAR = 27,
INDEX_OPT_SLEW = 28,
- INDEX_OPT_VERSION = 29,
- INDEX_OPT_HELP = 30,
- INDEX_OPT_MORE_HELP = 31
+ INDEX_OPT_USEPCC = 29,
+ INDEX_OPT_PCCFREQ = 30,
+ INDEX_OPT_VERSION = 31,
+ INDEX_OPT_HELP = 32,
+ INDEX_OPT_MORE_HELP = 33
} teOptIndex;
-#define OPTION_CT 32
+#define OPTION_CT 34
#define NTPD_VERSION "4.2.5p181"
#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.5p181"
# warning undefining SLEW due to option name conflict
# undef SLEW
# endif
+# ifdef USEPCC
+# warning undefining USEPCC due to option name conflict
+# undef USEPCC
+# endif
+# ifdef PCCFREQ
+# warning undefining PCCFREQ due to option name conflict
+# undef PCCFREQ
+# endif
#else /* NO_OPTION_NAME_WARNINGS */
# undef IPV4
# undef IPV6
# undef VAR
# undef DVAR
# undef SLEW
+# undef USEPCC
+# undef PCCFREQ
#endif /* NO_OPTION_NAME_WARNINGS */
/*
#define VALUE_OPT_VAR 26
#define VALUE_OPT_DVAR 27
#define VALUE_OPT_SLEW 'x'
+#ifdef SYS_WINNT
+#define VALUE_OPT_USEPCC 29
+#endif /* SYS_WINNT */
+#ifdef SYS_WINNT
+#define VALUE_OPT_PCCFREQ 30
+#endif /* SYS_WINNT */
#define VALUE_OPT_VERSION INDEX_OPT_VERSION
#define VALUE_OPT_HELP '?'