[FSUTIL]
[reactos.git] / reactos / base / applications / cmdutils / fsutil / fsutil.h
1 #ifndef __FSUTIL_H__
2 #define __FSUTIL_H__
3
4 #include <windows.h>
5 #include <tchar.h>
6 #include <stdio.h>
7
8 typedef struct
9 {
10 int (*Handler)(int argc, const TCHAR *argv[]);
11 const TCHAR * Command;
12 const TCHAR * Desc;
13 } HandlerItem;
14
15 int FindHandler(int argc,
16 const TCHAR *argv[],
17 HandlerItem * HandlersList,
18 int HandlerListCount,
19 void (*UsageHelper)(const TCHAR *));
20
21 void PrintDefaultUsage(const TCHAR * Command,
22 const TCHAR * SubCommand,
23 HandlerItem * HandlersList,
24 int HandlerListCount);
25
26 #endif