forked from xosnitc/xfs-interface
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinterface.h
More file actions
39 lines (29 loc) · 676 Bytes
/
interface.h
File metadata and controls
39 lines (29 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef INTERFACE_H
#define INTERFACE_H
#include "fileSystem.h"
#include "createDisk.h"
#define DO_NOT_FORMAT 0
#define FORMAT 1
/*
This function invokes a command line interface for interacting with XFS.
*/
void cli();
/*
This function processes each command the user enters
*/
void runCommand(char command[]);
void
cli_init_completion ();
void
cli_run_with_completion ();
char**
xfs_cli_completion(const char *text, int start, int end);
char*
xfs_cli_command_gen (const char *text, int state);
char*
xfs_cli_opt_gen(const char *text, int state);
char*
xfs_cli_file_gen (const char *text, int state);
char*
xfs_cli_int_gen (const char *text, int state);
#endif