#include "foobar2000.h" bool link_resolver::g_find(service_ptr_t & p_out,const char * p_path) { service_enum_t e; service_ptr_t ptr; pfc::string_extension ext(p_path); while(e.next(ptr)) { if (ptr->is_our_path(p_path,ext)) { p_out = ptr; return true; } } return false; }