ReactOS  0.4.12-dev-57-g7050ac4
fsutil.c File Reference
#include "fsutil.h"
Include dependency graph for fsutil.c:

Go to the source code of this file.

Functions

static void PrintUsage (const TCHAR *Command)
 
int __cdecl _tmain (int argc, const TCHAR *argv[])
 

Variables

HandlerProc DirtyMain
 
HandlerProc FsInfoMain
 
HandlerProc HardLinkMain
 
HandlerProc VolumeMain
 
static HandlerItem HandlersList []
 

Function Documentation

◆ _tmain()

int __cdecl _tmain ( int  argc,
const TCHAR argv[] 
)

Definition at line 34 of file fsutil.c.

35 {
37  (sizeof(HandlersList) / sizeof(HandlersList[0])),
38  PrintUsage);
39 }
static int argc
Definition: ServiceArgs.c:12
static char ** argv
Definition: ServiceArgs.c:11
int FindHandler(int argc, const TCHAR *argv[], HandlerItem *HandlersList, int HandlerListCount, void(*UsageHelper)(const TCHAR *))
Definition: common.c:11
static void PrintUsage(const TCHAR *Command)
Definition: fsutil.c:26
static HandlerItem HandlersList[]
Definition: fsutil.c:16

◆ PrintUsage()

static void PrintUsage ( const TCHAR Command)
static

Definition at line 26 of file fsutil.c.

Referenced by _tmain().

27 {
29  (sizeof(HandlersList) / sizeof(HandlersList[0])));
30 }
void PrintDefaultUsage(const TCHAR *Command, const TCHAR *SubCommand, HandlerItem *HandlersList, int HandlerListCount)
Definition: common.c:102
Definition: shell.h:41
#define _T(x)
Definition: vfdio.h:22
static HandlerItem HandlersList[]
Definition: fsutil.c:16

Variable Documentation

◆ DirtyMain

HandlerProc DirtyMain

Definition at line 12 of file fsutil.c.

◆ FsInfoMain

HandlerProc FsInfoMain

Definition at line 13 of file fsutil.c.

◆ HandlersList

HandlerItem HandlersList[]
static
Initial value:
=
{
{ DirtyMain, _T("dirty"), _T("Manipulates the dirty bit") },
{ FsInfoMain, _T("fsinfo"), _T("Gathers informations about file systems") },
{ HardLinkMain, _T("hardlink"), _T("Handles hard links") },
{ VolumeMain, _T("volume"), _T("Manages volumes") },
}
HandlerProc DirtyMain
Definition: fsutil.c:12
#define _T(x)
Definition: vfdio.h:22
HandlerProc FsInfoMain
Definition: fsutil.c:13
HandlerProc VolumeMain
Definition: fsutil.c:15
HandlerProc HardLinkMain
Definition: fsutil.c:14

Definition at line 16 of file fsutil.c.

◆ HardLinkMain

HandlerProc HardLinkMain

Definition at line 14 of file fsutil.c.

◆ VolumeMain

HandlerProc VolumeMain

Definition at line 15 of file fsutil.c.