Home
last modified time | relevance | path

Searched refs:opt_st (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/ntp/sntp/libopts/
H A Dautoopts.c246 tOptState opt_st = OPTSTATE_INITIALIZER(DEFINED); in regular_opts() local
248 switch (next_opt(opts, &opt_st)) { in regular_opts()
258 if (! DO_NORMALLY(opt_st.flags)) { in regular_opts()
259 if (! DO_SECOND_TIME(opt_st.flags)) in regular_opts()
261 opt_st.pOD->optOccCt--; /* don't count this repetition */ in regular_opts()
264 if (! SUCCESSFUL(handle_opt(opts, &opt_st))) in regular_opts()
H A Dfind.c289 tOptState opt_st = OPTSTATE_INITIALIZER(PRESET); in optionVendorOption() local
299 opt_st.flags = OPTST_DEFINED; in optionVendorOption()
302 || ! SUCCESSFUL(opt_find_long(pOpts, vopt_str, &opt_st)) in optionVendorOption()
303 || ! SUCCESSFUL(get_opt_arg(pOpts, &opt_st)) ) in optionVendorOption()
318 if (DO_IMMEDIATELY(opt_st.flags)) in optionVendorOption()
319 (void)handle_opt(pOpts, &opt_st); in optionVendorOption()
326 if (DO_NORMALLY(opt_st.flags) || DO_SECOND_TIME(opt_st.flags)) in optionVendorOption()
327 (void)handle_opt(pOpts, &opt_st); in optionVendorOption()
H A Dinit.c154 tOptState opt_st = OPTSTATE_INITIALIZER(PRESET); in immediate_opts() local
156 res = next_opt(opts, &opt_st); in immediate_opts()
166 if (! DO_IMMEDIATELY(opt_st.flags)) in immediate_opts()
169 if (! SUCCESSFUL(handle_opt(opts, &opt_st))) in immediate_opts()