Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/ntp/sntp/libopts/
Dfind.c55 get_opt_arg_must(tOptions * opts, tOptState * o_st);
58 get_opt_arg_may(tOptions * pOpts, tOptState * o_st);
61 get_opt_arg_none(tOptions * pOpts, tOptState * o_st);
488 get_opt_arg_must(tOptions * opts, tOptState * o_st) in get_opt_arg_must() argument
490 switch (o_st->optType) { in get_opt_arg_must()
497 o_st->pzOptArg = opts->pzCurOpt; in get_opt_arg_must()
505 if (o_st->pzOptArg == NULL) in get_opt_arg_must()
506 o_st->pzOptArg = opts->origArgVect[ opts->curOptIdx++ ]; in get_opt_arg_must()
527 fprintf(stderr, zMisArg, opts->pzProgPath, o_st->pOD->pz_Name); in get_opt_arg_must()
547 get_opt_arg_may(tOptions * pOpts, tOptState * o_st) in get_opt_arg_may() argument
[all …]
Dautoopts.c108 handle_opt(tOptions * opts, tOptState * o_st) in handle_opt() argument
114 tOptDesc * od = o_st->pOD; in handle_opt()
119 od->optArg.argString = o_st->pzOptArg; in handle_opt()
177 o_st->flags |= OPTST_EQUIVALENCE; in handle_opt()
193 od->fOptState |= (o_st->flags & ~OPTST_PERSISTENT_MASK); in handle_opt()
221 next_opt(tOptions * opts, tOptState * o_st) in next_opt() argument
224 tSuccess res = find_opt(opts, o_st); in next_opt()
229 if ( ((o_st->flags & OPTST_DEFINED) != 0) in next_opt()
230 && ((o_st->pOD->fOptState & OPTST_NO_COMMAND) != 0)) { in next_opt()
231 fprintf(stderr, zNotCmdOpt, o_st->pOD->pz_Name); in next_opt()
[all …]
Dproto.h28 handle_opt(tOptions * opts, tOptState * o_st);
31 next_opt(tOptions * opts, tOptState * o_st);
71 get_opt_arg(tOptions * opts, tOptState * o_st);
74 find_opt(tOptions * opts, tOptState * o_st);