General cleanups, able to enter multi-word directories, and start on the erase disc interface.
This commit is contained in:
@@ -84,6 +84,23 @@ ecdb_match_keyword(const char *chk, const char *key, int len)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
char *
|
||||
ecdb_strip_string(const char *strip)
|
||||
{
|
||||
char *t1 = (char *)strip;
|
||||
|
||||
do
|
||||
{
|
||||
if (*t1 == ' ')
|
||||
{
|
||||
t1++;
|
||||
return strdup(t1);
|
||||
}
|
||||
} while ((t1) && (t1++));
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
char *
|
||||
ecdb_strip_next_argument(const char *strip)
|
||||
{
|
||||
|
Reference in New Issue
Block a user