afc_stringnode_search

Name

afc_stringnode_search  -- Searches the list for the specified string

Synopsis

int afc_stringnode_search (StringNode * sn, char * str, short from_here, short nocase );

Description

this function searches the whole list (or part of it) for the specified pattern string. The pattern can be defined using the standard Unix file name pattern syntax, like "*" or "?".

Inputs

sn

an handler to an already allocated StringNode structure.

str

afc_string_new to search the list for.

from_here

Set it to TRUE if you want to start searching from the current position and not from the beginning of the list.

nocase

If set to TRUE, the sort will be case insensitive.

Result

Note

See Also