GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LFS / V1-12-3 > lfs_scp / mv2304
#include <CLI/CLI_pubdefs.h>
Functions | |
unsigned int | LFS_sendFileDump (unsigned int latUnit, unsigned int dev, unsigned int dir, unsigned int file, unsigned int xactId) |
Send a file dump CTDB telecommand. | |
unsigned int | LFS_sendFileDumpSSR (unsigned int latUnit, unsigned int dev, unsigned int dir, unsigned int file, unsigned int xactId) |
Send a file dump SSR telecommand. | |
unsigned int | LFS_sendFileDelete (unsigned int latUnit, unsigned int dev, unsigned int dir, unsigned int file, unsigned int xactId) |
Send a file delete telecommand. | |
unsigned int | LFS_sendFileCopy (unsigned int latUnit, unsigned int srcDev, unsigned int srcDir, unsigned int srcFile, unsigned int destDev, unsigned int destDir, unsigned int destFile, unsigned int xactId) |
Send a file local copy telecommand. | |
unsigned int | LFS_sendDirCreate (unsigned int latUnit, unsigned int dev, unsigned int dir, unsigned int xactId) |
Send a directory create telecommand. | |
unsigned int | LFS_sendDirDelete (unsigned int latUnit, unsigned int dev, unsigned int dir, unsigned int xactId) |
Send a directory delete telecommand. | |
unsigned int | LFS_sendDirDump (unsigned int latUnit, unsigned int dev, unsigned int dir, unsigned int xactId) |
Send a directory listing dump telecommand. | |
unsigned int | LFS_sendSysStatus (unsigned int latUnit, unsigned int dev, unsigned int xactId) |
Send a file system status report telecommand. | |
unsigned int | LFS_sendSysMount (unsigned int latUnit, unsigned int dev) |
Send a file system mount report telecommand. | |
unsigned int | LFS_sendSysCheck (unsigned int latUnit, unsigned int dev) |
Send a file system check report telecommand. | |
unsigned int | LFS_sendSysRepair (unsigned int latUnit, unsigned int dev) |
Send a file system repair telecommand. | |
unsigned int | LFS_sendSysFormat (unsigned int latUnit, unsigned int dev, unsigned int offset) |
Send a file system format report telecommand. | |
unsigned int | LFS_sendNoop (unsigned int latUnit) |
Send a LFS/FILE no-op telecommand. | |
unsigned int | LFS_addSyntaxSCP (CLI_Syntax *syntax) |
Initialize CLI definitions for LFS SCP commands. |
Functions for controlling the LFS package SCP application.
unsigned int LFS_addSyntaxSCP | ( | CLI_Syntax * | syntax | ) |
Initialize CLI definitions for LFS SCP commands.
Adds a set of commands to the SCP command line definitions for supporting LFS package operations.
syntax | The CLI master syntax handle. |
References LFS_sendDirCreateCli(), LFS_sendDirDeleteCli(), LFS_sendDirDumpCli(), LFS_sendFileCopyCli(), LFS_sendFileDeleteCli(), LFS_sendFileDumpCli(), and LFS_sendSysStatusCli().
unsigned int LFS_sendDirCreate | ( | unsigned int | latUnit, | |
unsigned int | dev, | |||
unsigned int | dir, | |||
unsigned int | xactId | |||
) |
Send a directory create telecommand.
Send a LFS directory create telecommand (LFSDIRCREATE).
latUnit | The LAT CPU to work on. | |
dev | Device number of directory to delete. | |
dir | Directory number to delete. | |
xactId | The transaction ID. |
References cmdFree(), LFS_APID_CMD, and LFS_dumpDirCreateCmd().
Referenced by LFS_sendDirCreateCli().
unsigned int LFS_sendDirDelete | ( | unsigned int | latUnit, | |
unsigned int | dev, | |||
unsigned int | dir, | |||
unsigned int | xactId | |||
) |
Send a directory delete telecommand.
Send a LFS directory delete telecommand (LFSDIRDELETE).
latUnit | The LAT CPU to work on. | |
dev | Device number of directory to delete. | |
dir | Directory number to delete. | |
xactId | The transaction ID. |
References cmdFree(), LFS_APID_CMD, and LFS_dumpDirDeleteCmd().
Referenced by LFS_sendDirDeleteCli().
unsigned int LFS_sendDirDump | ( | unsigned int | latUnit, | |
unsigned int | dev, | |||
unsigned int | dir, | |||
unsigned int | xactId | |||
) |
Send a directory listing dump telecommand.
Send a LFS directory dump listing telecommand (LFSDIRDUMP).
latUnit | The LAT CPU to work on. | |
dev | Device number of directory to dump. | |
dir | Directory number to dump. | |
xactId | The transaction ID. |
References cmdFree(), LFS_APID_CMD, and LFS_dumpDirDumpCmd().
Referenced by LFS_sendDirDumpCli().
unsigned int LFS_sendFileCopy | ( | unsigned int | latUnit, | |
unsigned int | srcDev, | |||
unsigned int | srcDir, | |||
unsigned int | srcFile, | |||
unsigned int | destDev, | |||
unsigned int | destDir, | |||
unsigned int | destFile, | |||
unsigned int | xactId | |||
) |
Send a file local copy telecommand.
Send a LFS file copy (local) telecommand (LFSFILECOPY).
latUnit | The LAT CPU to work on. | |
srcDev | Device number of source file to copy from. | |
srcDir | Directory number of source file to copy from. | |
srcFile | File number of source file to copy from. | |
destDev | Device number of destination file to copy to. | |
destDir | Directory number of destination file to copy to. | |
destFile | File number of destination file to copy to. | |
xactId | The transaction ID. |
References cmdFree(), LFS_APID_CMD, and LFS_dumpFileCopyCmd().
Referenced by LFS_sendFileCopyCli().
unsigned int LFS_sendFileDelete | ( | unsigned int | latUnit, | |
unsigned int | dev, | |||
unsigned int | dir, | |||
unsigned int | file, | |||
unsigned int | xactId | |||
) |
Send a file delete telecommand.
Send a LFS file delete telecommand (LFSFILEDELETE).
latUnit | The LAT CPU to work on. | |
dev | Device number of file to delete. | |
dir | Directory number of file to delete. | |
file | File number of file to delete. | |
xactId | The transaction ID. |
References cmdFree(), LFS_APID_CMD, and LFS_dumpFileDeleteCmd().
Referenced by LFS_sendFileDeleteCli().
unsigned int LFS_sendFileDump | ( | unsigned int | latUnit, | |
unsigned int | dev, | |||
unsigned int | dir, | |||
unsigned int | file, | |||
unsigned int | xactId | |||
) |
Send a file dump CTDB telecommand.
Send a LFS file dump CTDB telecommand (LFSFILEDUMPC).
latUnit | The LAT CPU to work on. | |
dev | Device number of file to delete. | |
dir | Directory number of file to delete. | |
file | File number of file to delete. | |
xactId | The transaction ID. |
References cmdFree(), LFS_APID_CMD, and LFS_dumpFileDumpCmd().
Referenced by LFS_sendFileDumpCli().
unsigned int LFS_sendFileDumpSSR | ( | unsigned int | latUnit, | |
unsigned int | dev, | |||
unsigned int | dir, | |||
unsigned int | file, | |||
unsigned int | xactId | |||
) |
Send a file dump SSR telecommand.
Send a LFS file dump SSR telecommand (LFSFILEDUMPS).
latUnit | The LAT CPU to work on. | |
dev | Device number of file to delete. | |
dir | Directory number of file to delete. | |
file | File number of file to delete. | |
xactId | The transaction ID. |
References cmdFree(), LFS_APID_CMD, and LFS_dumpFileDumpCmd().
unsigned int LFS_sendNoop | ( | unsigned int | latUnit | ) |
Send a LFS/FILE no-op telecommand.
Send a LFS no-op telecommand (LFSNOOP).
latUnit | The LAT CPU to work on. |
References cmdFree(), LFS_APID_CMD, and LFS_dumpNoopCmd().
unsigned int LFS_sendSysCheck | ( | unsigned int | latUnit, | |
unsigned int | dev | |||
) |
Send a file system check report telecommand.
Send a LFS file system check telecommand (LFSSYSCHECK).
latUnit | The LAT CPU to work on. | |
dev | Device number of device to interrogate. |
References cmdFree(), LFS_APID_CMD, and LFS_dumpSysCheckCmd().
unsigned int LFS_sendSysFormat | ( | unsigned int | latUnit, | |
unsigned int | dev, | |||
unsigned int | offset | |||
) |
Send a file system format report telecommand.
Send a LFS file system format telecommand (LFSSYSFORMAT).
latUnit | The LAT CPU to work on. | |
dev | Device number of device to interrogate. | |
offset | The offset in bytes of the file system partition into the bank. |
References cmdFree(), LFS_APID_CRIT, and LFS_dumpSysFormatCmd().
unsigned int LFS_sendSysMount | ( | unsigned int | latUnit, | |
unsigned int | dev | |||
) |
Send a file system mount report telecommand.
Send a LFS file system mount telecommand (LFSSYSMOUNT).
latUnit | The LAT CPU to work on. | |
dev | Device number of device to interrogate. |
References cmdFree(), LFS_APID_CRIT, and LFS_dumpSysMountCmd().
unsigned int LFS_sendSysRepair | ( | unsigned int | latUnit, | |
unsigned int | dev | |||
) |
Send a file system repair telecommand.
Send a LFS file system repair telecommand (LFSSYSREPAIR).
latUnit | The LAT CPU to work on. | |
dev | Device number of device to repair. |
References cmdFree(), LFS_APID_CRIT, and LFS_dumpSysRepairCmd().
unsigned int LFS_sendSysStatus | ( | unsigned int | latUnit, | |
unsigned int | dev, | |||
unsigned int | xactId | |||
) |
Send a file system status report telecommand.
Send a LFS file system status dump telecommand (LFSSYSSTATUS).
latUnit | The LAT CPU to work on. | |
dev | Device number of device to interrogate. | |
xactId | The transaction ID. |
References cmdFree(), LFS_APID_CMD, and LFS_dumpSysStatCmd().
Referenced by LFS_sendSysStatusCli().