C framework with next