TagArg *NextTagArg( const TagArg **tagList );
void WalkTagList(const TagArg *tags)
{
TagArg *state;
TagArg *currentTag;
state = tags;
while ((tag = NextTagItem(&state)) != NULL)
{
switch (tag->ta_Tag)
{
case TAG1: // process this tag
break;
case TAG2: // process this tag
break;
default : // unknown tag, return an error
break;
}
}
}
FindTagArg
()