standardize format
This commit is contained in:
parent
f963198fdf
commit
53e3c1e276
@ -29,5 +29,4 @@ void insert_string_array(StringArray *string_array, char *string);
|
|||||||
void delete_string_array(StringArray *string_array, int index);
|
void delete_string_array(StringArray *string_array, int index);
|
||||||
|
|
||||||
void free_string_array(StringArray *string_array);
|
void free_string_array(StringArray *string_array);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
#ifndef _MYSHELLIN_BUILTINS
|
#ifndef _MYSHELLIN_BUILTINS
|
||||||
#define _MYSHELLIN_BUILTINS
|
#define _MYSHELLIN_BUILTINS
|
||||||
bool is_builtin(char *command);
|
bool is_builtin(char *command);
|
||||||
|
|
||||||
void run_builtin(StringArray *string_array);
|
void run_builtin(StringArray *string_array);
|
||||||
|
|
||||||
void exit_shell(StringArray *string_array);
|
void exit_shell(StringArray *string_array);
|
||||||
#endif
|
#endif
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
#ifndef _MYSHELLIN_CONSOLE_LINE
|
#ifndef _MYSHELLIN_CONSOLE_LINE
|
||||||
#define _MYSHELLIN_CONSOLE_LINE
|
#define _MYSHELLIN_CONSOLE_LINE
|
||||||
char *get_user();
|
char *get_user();
|
||||||
|
|
||||||
char *get_working_directory();
|
char *get_working_directory();
|
||||||
|
|
||||||
void print_input_line();
|
void print_input_line();
|
||||||
#endif
|
#endif
|
||||||
|
@ -16,5 +16,6 @@
|
|||||||
#ifndef _MYSHELLIN_LOOP
|
#ifndef _MYSHELLIN_LOOP
|
||||||
#define _MYSHELLIN_LOOP
|
#define _MYSHELLIN_LOOP
|
||||||
void remove_new_line(char *line);
|
void remove_new_line(char *line);
|
||||||
|
|
||||||
void loop();
|
void loop();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user