diff options
author | scratko <m@scratko.xyz> | 2024-06-14 15:15:41 +0300 |
---|---|---|
committer | scratko <m@scratko.xyz> | 2024-06-23 23:11:18 +0300 |
commit | ff38bddd4253b5adf08a84df34bfae32c8ae988d (patch) | |
tree | 69e39bf16cb93af3b9a592cf0fa3c489b13db499 /queue.h | |
parent | 1ee0911f2def54f1b63d18b0924ac65c2db92f11 (diff) | |
download | shell-ff38bddd4253b5adf08a84df34bfae32c8ae988d.tar.gz shell-ff38bddd4253b5adf08a84df34bfae32c8ae988d.tar.bz2 shell-ff38bddd4253b5adf08a84df34bfae32c8ae988d.zip |
Shell-V releaseshell-V
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); |