GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CLI / V0-1-2 > cli / rhel6-64
#include <stdio.h>
#include <string.h>
#include <CLI/CLI_msgs.h>
#include <CLI/CLI_pubdefs.h>
#include <MDB/MDB_pubdefs.h>
#include <CLI_prvdefs.h>
Functions | |
unsigned int | CLI_present (CLI_Control *ctl, const char *text) |
Test for the presence of a qualifier. |
CVS $Id: CLI_present.c,v 1.6 2011/03/25 00:51:25 apw Exp $
unsigned int CLI_present | ( | CLI_Control * | ctl, | |
const char * | text | |||
) |
Test for the presence of a qualifier.
ctl | (Opaque) pointer to CLI control structure | |
text | Text of the qualifier for which to search |
CLI_ABSENT | Qualifier is absent | |
CLI_NEGATED | Qualifier is present in its negated form | |
CLI_NOTCTL | (Opaque) pointer does not point to CLI control structure | |
CLI_PRESENT | Qualifier is present |
References _CLI_Qual::flag, _CLI_Control::id, _CLI_Qual::next, _CLI_Tokens::qual, _CLI_Qual::text, and _CLI_Control::tokens.
Referenced by CLI_parse().