C scaffold for search