General cleanups, able to enter multi-word directories, and start on the erase disc interface.

This commit is contained in:
Jaime Thomas
2008-09-24 15:50:18 +00:00
parent f8c2aa95fb
commit 6cffccc0ef
6 changed files with 213 additions and 124 deletions

View File

@@ -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)
{