386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Sun, 29 Dec 1991 16:27:28 +0000 (08:27 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Sun, 29 Dec 1991 16:27:28 +0000 (08:27 -0800)
Work on file usr/othersrc/public/bash-1.12/bash-1.12/flags.h

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/othersrc/public/bash-1.12/bash-1.12/flags.h [new file with mode: 0644]

diff --git a/usr/othersrc/public/bash-1.12/bash-1.12/flags.h b/usr/othersrc/public/bash-1.12/bash-1.12/flags.h
new file mode 100644 (file)
index 0000000..f55228e
--- /dev/null
@@ -0,0 +1,34 @@
+/* flags.h -- a list of all the flags that the shell knows about.  You add
+   a flag to this program by adding the name here, and in flags.c. */
+
+#if !defined (_FLAGS_H)
+#define _FLAGS_H
+
+/* Welcome to the world of Un*x, where everything is slightly
+   backwards. */
+#define FLAG_ON '-'
+#define FLAG_OFF '+'
+
+#define FLAG_ERROR -1
+
+/* The thing that we build the array of flags out of. */
+struct flags_alist {
+  char *name;
+  int *value;
+};
+
+extern struct flags_alist shell_flags[];
+
+extern int
+  mark_modified_vars, exit_immediately_on_error, disallow_filename_globbing,
+  locate_commands_in_functions, place_keywords_in_env, read_but_dont_execute,
+  just_one_command, unbound_vars_is_error, echo_input_at_read,
+  echo_command_at_execute, lexical_scoping, no_invisible_vars, noclobber,
+  hashing_disabled, forced_interactive, history_expansion,
+  asynchronous_notification;
+
+extern int *find_flag ();
+extern int change_flag (), change_flag_char ();
+extern char *which_set_flags ();
+
+#endif /* _FLAGS_H */