Re: More searching musings...

2000-10-05 Thread David A. Walker
On Wed, 4 Oct 2000, Chris Kuklewicz wrote: Hmm. This is going to be overly ""ed. Oh well. On Wed, Oct 04, 2000 at 02:40:10PM -0500, David A. Walker wrote: After pondering the searching issue some more, I came up with a function prototype that will (hopefully) address everyone's needs:

Re: More searching musings...

2000-10-05 Thread Chris Kuklewicz
Now all this assumes you want to start each new search at the top of the playlist. If you want to start it form the currently (or most recently played) song, then you could have a one function API: "Go to first song after m_lastindex that matches the pattern/type/casematters and

Re: More searching musings...

2000-10-04 Thread Chris Kuklewicz
On Wed, Oct 04, 2000 at 02:40:10PM -0500, David A. Walker wrote: After pondering the searching issue some more, I came up with a function prototype that will (hopefully) address everyone's needs: int FindSong(char *pattern, int type, int casematters) And the returned int is the index of the