diff options
author | scratko <m@scratko.xyz> | 2024-05-25 21:36:07 +0300 |
---|---|---|
committer | scratko <m@scratko.xyz> | 2024-05-25 22:05:47 +0300 |
commit | fb322edd72bebddee1a9828baec2f8bc83666ddf (patch) | |
tree | fab49e1e88ab1b3b20a45aba354b85b5fdafeff4 /queue.h | |
parent | c1e5cffb43977f5a2f8d9623e40c01dab6d80c46 (diff) | |
download | shell-fb322edd72bebddee1a9828baec2f8bc83666ddf.tar.gz shell-fb322edd72bebddee1a9828baec2f8bc83666ddf.tar.bz2 shell-fb322edd72bebddee1a9828baec2f8bc83666ddf.zip |
Shell-II releaseshell-II
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).
Diffstat (limited to 'queue.h')
-rw-r--r-- | queue.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |