Renamed all C helper functions using a consistent naming scheme