#ifndef SearchH
#define SearchH

#include <fstream.h>
#include "profile.h"
#include "list.h"
#include "compare.h"

extern List<Profile *> Search(Compare &Comp, List<Profile *> list);
extern List<Profile *> WildCardSearch(Compare &Comp, List<Profile *> list);
extern List<Profile *> CloseMatchSearch(Compare &Comp, List<Profile *> list);
extern void DisplayList(List<Profile *> &list);
extern void SaveList(List<Profile *> &list, char* ofname);
extern List<Profile *> SearchList(Compare &Comp, List<Profile *> list);   	
extern void RemoveProfile(List<Profile *> &list);
extern void RewriteProfNum(List<Profile *> &list);
extern void MakeFileOfLastNames(List<Profile *> list);
extern void SortNameFile();
extern List<Profile *> SortList(List<Profile *> list);

#endif
