slave: break out command line tokenizer

This commit is contained in:
Daniel Eklöf 2019-07-17 09:46:45 +02:00
parent 71d0f6fa56
commit 2046dc0fbd
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 94 additions and 79 deletions

5
tokenize.h Normal file
View file

@ -0,0 +1,5 @@
#pragma once
#include <stdbool.h>
bool tokenize_cmdline(char *cmdline, char ***argv);