diff options
author | scratko <m@scratko.xyz> | 2024-06-14 15:15:41 +0300 |
---|---|---|
committer | scratko <m@scratko.xyz> | 2024-06-14 15:25:55 +0300 |
commit | 8f4f87eabec13330a2b3a974975053c1e4632a11 (patch) | |
tree | 58b0eae595fd62063287ca8fc727127166469e65 /queue.h | |
parent | 1ee0911f2def54f1b63d18b0924ac65c2db92f11 (diff) | |
download | shell-8f4f87eabec13330a2b3a974975053c1e4632a11.tar.gz shell-8f4f87eabec13330a2b3a974975053c1e4632a11.tar.bz2 shell-8f4f87eabec13330a2b3a974975053c1e4632a11.zip |
Shell-V release
Added pipeline.
Formatting shell.c (created lexical_analysys.c).
Error codes.
Some functions of queue.c are created by preprocessor.
Diffstat (limited to 'queue.h')
-rw-r--r-- | queue.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -59,7 +59,10 @@ int w_queue_get_word_count(const struct w_queue *q); void w_queue_copy_words_to_args(const struct w_queue *q, char **cmdline); void c_queue_init(struct c_queue *q); + +/* used in shell.c and lexical_analysis.c */ void c_queue_push(struct c_queue *q, char **cmdline); + char** c_queue_pop(struct c_queue *q); void c_queue_clear(struct c_queue *q); int c_queue_is_empty(struct c_queue *q); |