Lines Matching defs:DESC
96 #define DESC(n) (ntpsnmpdOptions.pOptDesc[INDEX_OPT_## n])
98 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))
100 #define OPT_ARG(n) (DESC(n).optArg.argString)
105 #define STATE_OPT(n) (DESC(n).fOptState & OPTST_SET_MASK)
107 #define COUNT_OPT(n) (DESC(n).optOccCt)
109 #define ISSEL_OPT(n) (SELECTED_OPT(&DESC(n)))
111 #define ISUNUSED_OPT(n) (UNUSED_OPT(& DESC(n)))
113 #define ENABLED_OPT(n) (! DISABLED_OPT(& DESC(n)))
116 #define STACKCT_OPT(n) (((tArgList*)(DESC(n).optCookie))->useCt)
119 #define STACKLST_OPT(n) (((tArgList*)(DESC(n).optCookie))->apzArgs)
122 DESC(n).fOptState &= OPTST_PERSISTENT_MASK; \
123 if ((DESC(n).fOptState & OPTST_INITENABLED) == 0) \
124 DESC(n).fOptState |= OPTST_DISABLED; \
125 DESC(n).optCookie = NULL )
178 DESC(SAVE_OPTS).fOptState &= OPTST_PERSISTENT_MASK; \
179 DESC(SAVE_OPTS).fOptState |= OPTST_SET; \
180 DESC(SAVE_OPTS).optArg.argString = (char const*)(a))