From fb322edd72bebddee1a9828baec2f8bc83666ddf Mon Sep 17 00:00:00 2001 From: scratko Date: Sat, 25 May 2024 21:36:07 +0300 Subject: Shell-II release Implementation of launching external programs via fork(). Running cd as a change to the current process directory (chdir). Ability to change to user's home directory (cd without arguments). --- queue.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'queue.h') diff --git a/queue.h b/queue.h index db8ac54..fedcd0b 100644 --- a/queue.h +++ b/queue.h @@ -14,6 +14,10 @@ struct queue { void queue_init(struct queue *q); void queue_push(struct queue *q, char *word); void queue_clear(struct queue *q); +#if 0 void queue_processing(const struct queue *q, void (*callback)(char*)); +#endif +int queue_get_word_count(const struct queue *q); +void queue_copy_words_to_args(const struct queue *q, char **cmdline); #endif -- cgit v1.2.3