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_indirect (CLI_Control *ctl, void *user) |
CLI provided callback to deal with file indirection. |
CVS $Id: CLI_indirect.c,v 1.5 2011/03/25 00:51:25 apw Exp $
unsigned int CLI_indirect | ( | CLI_Control * | ctl, | |
void * | user | |||
) |
CLI provided callback to deal with file indirection.
ctl | (Opaque) pointer to CLI control structure | |
user | User parameter (ignored) |
CLI_SUCCESS | File found and opened | |
CLI_NOSCHFIL | File could not be found | |
CLI_FILRCURS | File indirection has recursed |
References CLI_getValue(), _CLI_File::fd, _CLI_Control::file, _CLI_File::frst, _CLI_File::last, _CLI_File::line, _CLI_File::name, _CLI_File::next, _CLI_File::st_dev, _CLI_File::st_ino, and _CLI_File::stat.
Referenced by CLI_createSyntax().