-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinterface.h
More file actions
26 lines (21 loc) · 804 Bytes
/
interface.h
File metadata and controls
26 lines (21 loc) · 804 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
#ifndef XFS_INTERFACE_H
#define XFS_INTERFACE_H
#include "exception.h"
#include "diskUtility.h"
#define DO_NOT_FORMAT 0
#define FORMAT 1
void cli(int argc, char **argv);
void runCommand(char command[]);
char *xfs_cli_stripwhite(char *str);
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_os_gen(const char *text, int state);
char *xfs_cli_int_gen(const char *text, int state);
char *xfs_cli_module_gen(const char *text, int state);
char *xfs_cli_dump_gen(const char *text, int state);
static void xfs_cli_destroy_file_list(XOSFILE *files);
#endif